
A free, hands-on course on how LLMs are served: GPU memory, kernels, KV caches, batching and routing.
“It explains why decode is memory-bound and then has you prove it, with an interactive figure and a runnable lab for nearly every idea. Levels 1–2 are complete; the advanced half is being written now.”
A clear, hands-on path into how LLMs are actually served, from GPU memory to KV caches. Levels 1–2 are written; the advanced half is still coming.
Goes down to the byte: KV-cache size per token, the capacity equation, roofline and arithmetic intensity, CUDA reductions, tiled GEMM and FlashAttention
Each chapter runs concept → interactive figure → lab → sources → quiz; the KV-cache chapter builds the formula one term at a time with a worked Mistral 7B example
Spot-checked: 2×32×8×128×2 = 131 KB/token for Mistral 7B and ~107 users on an A100-80GB at 4K context are correct; every chapter cites its sources
About 75 runnable labs in NumPy, CUDA and Triton, from a tiny GPT loop to paged KV and FlashAttention; all of Level 1 runs on a laptop without a GPU
About 74 of 119 chapters written (modules 0–9 plus a few later ones); serving engines, multi-GPU and cost chapters are mostly outlined
Started Nov 2026 and updated daily; covers 2025–26 work like the vLLM router and prefill/decode disaggregation
4 levels, 18 modules, a generated roadmap, and lab badges for what runs on CPU, optional GPU or GPU
Free and MIT-licensed; labs run on a laptop or a free Colab T4
One week old with ~29 GitHub stars and a single author, so little outside track record yet
Reviewed by the Hive editors on 1 Dec 2026 from 4 pages read. Medium confidence.
Shared by @ItWasYou_SAM on X · Report a problem