Notes on research, systems and engineering.
Recent posts
- /1622026-10-24
KTransformers: CPU/GPU Hybrid Inference for MoE Models
How KTransformers (SOSP '25) runs the 671B DeepSeek-V3 on one GPU plus a dual-socket Xeon: AMX-aware CPU kernels, a single CUDA Graph for the whole decode step, NUMA-aware tensor parallelism, and Expert Deferral, which overlaps CPU and GPU by letting some experts arrive one layer late.
- /1612026-10-20
torch.compile Walkthrough
用 ((a + b) * c.relu()).sum(dim=-1) 跟踪 torch.compile 的每个阶段:Dynamo FX Graph、AOT ATen Graph、TorchInductor IR(TensorBox / StorageBox / Pointwise / Reduction / realize)、Scheduler 与生成的 kernel。
- /1602026-08-19
Qwen3.5 Dense Model Architecture
- /1592026-08-18
TileLang Programming Model
- /1582026-08-17
Production Ready TileLang Ops Framework
- /1572026-08-10
vLLM and torch.compile
- /1562026-08-09
Piecewise CUDA Graph
- /1552026-03-18
Probability and Statistics
- /1542026-03-18
Matrix Math
- /1532026-03-18
ggml with C++