PythonHub
2.49K subscribers
2.35K photos
49.9K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Helion: A High-Level DSL for Performant and Portable ML Kernels

Helion is a Python-embedded high-level DSL that compiles to optimized Triton kernels, blending the simplicity of PyTorch syntax with powerful autotuning to deliver high-performance, portable machine learning kernels across hardware architectures. It automates complex tasks like tensor indexing, memory management, and hardware-specific tuning, enabling developers to write efficient kernel...

https://pytorch.org/blog/helion/
The Best Way to Share Code Between Python Apps

The video explains how to use UV workspaces to manage multiple Python applications with shared code and dependencies in a single repository. It demonstrates structuring a project with CLI and FastAPI apps, extracting shared logic into internal packages, and managing dependencies efficiently to avoid duplication and conflicting environments. The approach simplifies development and scaling...

https://www.youtube.com/watch?v=N_ypJwV8Q8I
The Smol Training Playbook.

A practical journey through the challenges, decisions, and messy reality behind training state-of-the-art language models

https://huggingface.co/spaces/HuggingFaceTB/smol-training-playbook#setting-up-our-ablation-framework
Python Tutorial: Build a Django CRM from Scratch with Google Contacts, TimescaleDB Analytics & More

The video is a comprehensive tutorial on building a Django CRM from scratch, integrating Google Contacts syncing, time-series analytics with TimescaleDB, and production-ready automation using modern Python tools. It covers everything from setting up the Django project, implementing OAuth authentication, managing database models and relationships, to visualizing analytics with Chart.js an...

https://www.youtube.com/watch?v=zNyURLG9LIs
2
Hypothesis: Property-Based Testing for Python

https://hypothesis.readthedocs.io/en/latest/