The papers that built modern inference, one per lesson, in the order they appeared: the problem each one faced, the idea, how it works, the numbers it reported (checked against the paper), what held up and what did not, and where the idea lives in 2026. Each lesson links the lessons elsewhere in this material that teach the technique in depth.
Lessons#
| # | Lesson | Time |
|---|---|---|
| 30.a | Roofline (2009) | 35 min |
| 30.b | Attention Is All You Need (2017) | 40 min |
| 30.c | Megatron-LM (2019) | 40 min |
| 30.d | MQA (2019) and GQA (2023) | 35 min |
| 30.e | GShard (2020) and Switch Transformer (2021) | 40 min |
| 30.f | FlashAttention (2022) | 40 min |
| 30.g | Orca (2022) | 35 min |
| 30.h | LLM.int8() (2022) | 35 min |
| 30.i | GPTQ (2022) | 40 min |
| 30.j | Efficiently Scaling Transformer Inference (2022) | 45 min |
| 30.k | SmoothQuant (2022) | 35 min |
| 30.l | Speculative Decoding (2022–2023) | 40 min |
| 30.m | AWQ (2023) | 35 min |
| 30.n | FlashAttention-2, -3 and -4 (2023–2026) | 45 min |
| 30.o | vLLM and PagedAttention (2023) | 40 min |
| 30.p | StreamingLLM and Attention Sinks (2023) | 30 min |
| 30.q | Splitwise and DistServe (2024) | 40 min |
| 30.r | SGLang and RadixAttention (2023) | 35 min |
| 30.s | Medusa and EAGLE (2024–2025) | 45 min |
| 30.t | Sarathi-Serve (2024) | 35 min |
| 30.u | QuaRot (2024) | 40 min |
| 30.v | DeepSeek-V2 and V3 (2024) | 50 min |
| 30.w | Mooncake (2024) | 40 min |
| 30.x | FlashInfer (2025) | 40 min |
| 30.y | Native Sparse Attention and DeepSeek Sparse Attention (2025) | 45 min |
More papers, documentation and talks by topic are in Resources.
Previous: On-Device and Edge Inference