PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Jupyter Notebook 7

Jupyter Notebook 7 is the most significant release of the Jupyter Notebook in years. Some highlights of this release include real-time collaboration, interactive debugging, table of contents, theming and dark mode, internationalization, improved accessibility, compact view on mobile devices.

https://blog.jupyter.org/announcing-jupyter-notebook-7-8d6d66126dcf
PyTorch Memory Tuning

This article will focus on minimizing GPU memory footprint — for both optimization and inference workloads. Throughput and latency usually get all the attention, but reducing memory consumption without making architecture sacrifices is often just as valuable.

https://paulbridger.com/posts/pytorch-memory-tuning/
Patterns for Building LLM-based Systems & Products

This post is about practical patterns for integrating large language models (LLMs) into systems and products. We’ll draw from academic research, industry resources, and practitioner know-how, and try to distill them into key ideas and practices.

https://eugeneyan.com/writing/llm-patterns/
Behind "Hello World" on Linux

When you run a simple "Hello World" Python program on Linux, a lot more happens behind the scenes than you might think. This post explores the different steps that take place when you run a "Hello World" program, from parsing the command line to executing the code.

https://jvns.ca/blog/2023/08/03/behind--hello-world/
Parameters, options and flags for Python scripts

SummaryWhile there are various ways of making a script configurable in Python, argparse is a very ...

https://www.bitecode.dev/p/parameters-options-and-flags-for
Creating a context manager in Python

Objects with __enter__ and __exit__ methods can be used as context managers in Python. This article discusses most of what you'll want to know when creating your own context managers.

https://www.pythonmorsels.com/creating-a-context-manager/