01
Umar Jamil · 2026 · YouTube
Why?
Long-form PyTorch build of data, pipeline, tensor, context, and expert parallelism from scratch. Start here if you learn by coding along.
Loading…
One moment while we fetch this page.
Data, model, and pipeline parallelism for multi-GPU training without a paper mountain.
The full collection in the community’s reading order.
01
Umar Jamil · 2026 · YouTube
Why?
Long-form PyTorch build of data, pipeline, tensor, context, and expert parallelism from scratch. Start here if you learn by coding along.
02
Sergeev & Del Balso · 2018 · Uber
Why?
Cleanest intro to ring-allreduce data parallelism. Ring-allreduce is the gradient sync you'll keep meeting; this paper makes it concrete.
03
Li et al. · 2020 · VLDB
Why?
How DDP actually works: gradient bucketing, overlap with the backward pass, and the ring. Worth reading if your smolcluster runs on PyTorch.
04
Dean et al. · 2012 · NeurIPS
Why?
The original parameter-server paper. Old, but it is the baseline ring-allreduce and ZeRO were built to beat.
05
Rajbhandari et al. · 2020 · SC20
Why?
Partitions optimizer states, gradients, and parameters across data-parallel workers (ZeRO stages 1 to 3), so you stop keeping full copies on every GPU. Same math helps a small cluster train models it could not otherwise hold.
06
Shoeybi et al. · 2019 · NVIDIA
Why?
Introduces tensor parallelism: split weight matrices column-wise and row-wise across GPUs. The attention and MLP splits here show up in almost every production LLM cluster.
07
Narayanan et al. · 2021 · SC21
Why?
How to compose tensor, pipeline, and data parallelism on one cluster. Also introduces the interleaved pipeline schedule that cuts bubble overhead by about 10%. Read after ZeRO and Megatron-LM.
08
Huang et al. · 2019 · NeurIPS
Why?
Pipeline parallelism in its basic form: split layers across devices and feed microbatches so the bubble does not sit idle. Later pipeline papers build on this model.
09
Rajbhandari et al. · 2021 · SC21
Why?
Extends ZeRO by offloading to CPU and NVMe. Useful when Jetson or Pi nodes are tight on memory: weights do not have to live on the GPU.
10
Zhao et al. · 2023 · Meta
Why?
ZeRO-3 as it ships in PyTorch: the sharding layer you would actually call from smolcluster. Covers the engineering trade-offs of parameter sharding in practice.
10.1
Yuvraj Singh · 2026 · GitHub
Why?
Optional code companion: expert parallelism (EP), pipeline parallelism (PP), FSDP, data parallel, and related algos from scratch in Python over plain sockets only.
For
Engineers on small multi-node clusters who need the map from ring-allreduce through 3D parallelism and sharded optimizers.
Covers
A first-principles video walkthrough, then Horovod and PyTorch DDP, DistBelief, ZeRO and ZeRO-Infinity, Megatron tensor and 3D parallelism, GPipe, and PyTorch FSDP. Optional: smolcluster for EP/PP and friends in plain Python sockets.