When one GPU is not enough: why to distribute, data, tensor, pipeline, expert and context parallelism, mixture-of-experts models and how they are served, long context, disaggregated prefill and decode, KV cache offloading and distributed KV caches, and when adding GPUs makes things worse.
Lessons#
| # | Lesson | Time |
|---|---|---|
| 14.a | Why Distribute (and When Not To) | 60 min |
| 14.b | Data Parallelism | 45 min |
| 14.c | Tensor Parallelism | 120 min |
| 14.d | Pipeline Parallelism | 75 min |
| 14.e | Expert Parallelism | 75 min |
| 14.f | Sequence and Context Parallelism | 60 min |
| 14.g | Mixture of Experts | 90 min |
| 14.h | MoE Serving and Expert Parallelism | 75 min |
| 14.i | Long-Context Inference | 90 min |
| 14.j | Disaggregated Prefill/Decode | 90 min |
| 14.k | KV Offloading and Transfer | 75 min |
| 14.l | Distributed KV Cache | 60 min |
| 14.m | When More GPUs Make Things Worse | 75 min |
Previous: Optimization · Next: Inference Engines