Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Languages

Python

Python language, ecosystem or tooling.

Search within Python, or combine it with other topics →

2026

Introducing ModuleLens: Zooming into PyTorch Modules for Human and Agentic Engineering

Case study 5 min +50 XP

ModuleLens lets Pinterest ML engineers capture any PyTorch module from a sharded multi-GPU recommendation model and rebuild it locally within seconds, replacing full-model initialization with a "module-first" workflow.

Hugging Face

Mixture of Experts (MoEs) in Transformers

Deep dive 10 min +100 XP

Hugging Face transformers v5 reworks its internals to treat Mixture of Experts models as first-class: a WeightConverter pipeline packs per-expert checkpoint tensors into contiguous runtime tensors with async, lazy materialization, cutting Qwen1.5-110B load time from ~66s to ~21s (10s with tensor parallelism) on an A100.

2025

ClickHouse

chDB Kernel Upgrade Journey: Upgrading ClickHouse to v25.8.2.29

Case study 16 min +160 XP

Upgrading chDB's embedded ClickHouse kernel from v25.5 to v25.8.2.29 surfaced allocator conflicts rooted in chDB's dual-library design: a stable-ABI `_chdb.abi3.so` holding the ~120MB engine plus small per-Python-version pybind11 binding libraries.

Hugging Face

(LoRA) Fine-Tuning FLUX.1-dev on Consumer Hardware

How-to 11 min +110 XP

FLUX.1-dev can be LoRA fine-tuned on a single consumer GPU by combining QLoRA (4-bit NF4 base transformer via bitsandbytes), 8-bit AdamW, gradient checkpointing, cached VAE latents and precomputed CLIP/T5 text embeddings, so that only the quantized transformer plus adapters sit in GPU memory.

Hugging Face

Falcon-Edge: A series of powerful, universal, fine-tunable 1.58bit language models.

Announcement 9 min +90 XP

Falcon-Edge is a set of 1B and 3B ternary (1.58-bit) BitNet language models, in base and instruct variants, pre-trained on about 1.5T tokens with a WSD learning-rate schedule and reported competitive with similarly sized models on Hugging Face leaderboard benchmarks.

Hugging Face

π0 and π0-FAST: Vision-Language-Action Models for General Robot Control

Deep dive 11 min +110 XP

Physical Intelligence's π0 and π0-FAST vision-language-action models are now ported to PyTorch in Hugging Face LeRobot, with commands for inference and fine-tuning. π0 adds state and action tokens to a PaliGemma-style prefix and generates 50Hz action trajectories via flow matching.

The quest for software engineering knowledge.

Look:
Layout: