How Do GPUs Reach TB/s Between Each Other? A Free 23-Chapter Course Lays Out the Hidden Knowledge of LLM Infra
Yang Zhou and the UCCL community have turned GPU communication, NCCL/DeepEP, parallelism strategies, kernel fusion, and TPU/Trainium interconnect into DistML: 23 free chapters, with code. It fills the gap between classroom networking courses and real-world LLM infra.
Public material on how GPUs reach TB/s between each other has always been scattered.
Yang Zhou and the UCCL community have released a free online course, DistML, short for Distributed ML Systems. The course page puts it plainly: it covers the inconspicuous low-level hardware and software designs in GPUs and accelerators that directly affect performance. Five parts, 23 chapters, available here.
The course covers a fairly low-level scope: how NVLink, RDMA, and IBGDA work and what pitfalls there are in actual use; how NCCL and DeepEP implement efficient communication; what problems DP, TP, EP, CP, and PP each solve and where their boundaries are; why kernel fusion is useful and how to write a fused kernel from scratch; and how non-GPU accelerators such as Google TPU, AWS Trainium, Meta MTIA, and Microsoft MAIA are interconnected.


The course page gives two examples: GPT-6 Astra is trained on about 100,000 NVIDIA NVL72 GB300 GPUs, and Kimi K3 is served on 16 NVIDIA DGX Spark systems. One is large-scale training, the other is LLM serving. Distributed ML has long ceased to serve only training clusters; small-scale serving likewise depends on synchronous communication among multiple GPUs and accelerators.
In a reply, Yang Zhou explained why he made the course: in modern distributed LLM systems, there is almost no continuously updated systems material on low-level hardware and software design. Many designs exist only in the heads of experienced LLM infra developers. When the UCCL project recruits newcomers, it relies on a large amount of in-person mentoring, which is costly and inconsistent in effectiveness. The course was inspired by the classic MLC: Machine Learning Compiler and the more recent Modern GPU Programming for MLSys.
That is also DistML's positioning. It does not teach generic distributed systems concepts; it directly dissects the critical paths in LLM infra engineering. For example, in the GPU communication part, on one side is the scale-up domain: NVLink, AMD Infinity Fabric, Google ICI, and AWS NeuronLink, with per-chip bandwidth reaching TB/s and covering dozens of GPUs or accelerators; on the other side is the scale-out domain: RDMA, with per-GPU bandwidth from 400 to 1600 Gb/s, or 50 to 200 GB/s, depending on generation. The two domains have different problems and different tuning methods.
The collective communication part focuses on NCCL, DeepEP, and fault tolerance. The course breaks down primitives and algorithms such as allreduce, allgather, and reducescatter, then discusses the two things industry really cares about: whether they can hit line rate and whether they can survive failures. The ML parallelism part ties DP, TP, EP, CP, and PP to LLM computational operations rather than just giving definitions. The kernel fusion part leans more toward engineering details; two-batch overlapping, tile-level overlapping, signaling, buffer management, and SM scheduling are all in the syllabus. The final part examines the interconnect mechanisms of TPU, Trainium, MTIA, and MAIA; such material is rarely made public, but it is increasingly important for cost-sensitive agent workloads.
A commenter raised a practical issue in the replies: the course is great, but it lacks accompanying labs, and ordinary people do not have real hardware environments. Without running it on real machines, it is hard to become an expert in this field. Yang Zhou responded that labs will be added and that he will find ways to solve the testbed problem. This feedback is quite important. With low-level communication and kernel fusion, just looking at concepts can get you started, but there is still a gap before tuning. The hardware barrier cannot be avoided; what the course can provide is a knowledge map and a code entry point, while real performance still has to be run out on machines.
The intended audience falls into two categories. AI practitioners with a development background can use it as foundational catch-up material for LLM infra, especially those preparing for infra roles at frontier labs or just starting LLM infra research. The other category is people who want agents to read the course repository; the course author also mentions this use. For readers lacking a technical background, at least one thing becomes clear: large model training and serving are not just about stacking GPUs; how GPUs communicate with each other, how they parallelize, and how kernels are fused determine how much time these expensive devices spend doing work.
The course repository is at UCCL, and the course entry point is at DistML. Start with Chapter 1 on NVLink, then Chapter 8 on NCCL; that is more reliable than throwing the link into a bookmark folder.
发布时间: 2026-12-01 12:32