What is all-reduce?
A collective that leaves every GPU with the sum of all GPUs' buffers. Tensor parallelism does two per layer, so its latency adds to every decode step.
Learn it properly in the lesson →
Where it comes up
Lessons that use this term, most mentions first.
- Multi-GPU interconnects: PCIe, NVLink, NVSwitch and InfiniBand · 20 min · Pro
- Model parallelism: tensor, pipeline, expert and data parallel inference · 15 min · Pro
- GPU architecture for inference: memory hierarchy, tensor cores and generations · 15 min · Pro
- Lab: tensor parallel versus data parallel on two GPUs · 90 min · Pro
- Prefill, decode and the roofline: predicting inference speed · 18 min · free
- Profiling inference and when to write a kernel · 17 min · Pro
- The software stack: from CUDA kernels to inference engines · 14 min · Pro