How to Use This Page
3 entriesWork through the sections in order: learn the vocabulary, understand batching and scheduling, study the maths, read a real engine, then learn GPU programming and benchmarking.
1. Core Concepts
1 entryPrefill, decode, KV cache, latency and throughput.
2. Batching and Scheduling
2 entriesHow engines keep GPUs busy.
3. The Maths of Inference
3 entriesMemory, compute and communication limits.
07How To Scale Your Model: Transformer InferenceChapter on the maths of memory, batching and multi-accelerator inference, with worked problems; more demanding than the others.
08MIT 6.5940: TinyML and Efficient Deep Learning ComputingMIT course whose lectures cover quantization and efficient LLM deployment.
09kipply: Transformer Inference ArithmeticEstimates of memory and latency for inference.
4. Read a Real Engine
6 entriesLearn how production serving systems work by studying their code and docs.
10vLLM documentationDocumentation for the vLLM serving engine.
11SGLang documentationDocumentation for the SGLang serving framework.
12TensorRT-LLMNVIDIA's library for optimized LLM inference on its GPUs.
13Text Generation Inference (Hugging Face)Hugging Face's inference server for large language models.
14llama.cppC/C++ inference for running LLMs on a wide range of hardware.
15llm-dKubernetes-native distributed LLM inference stack.
5. GPU Programming
3 entriesWrite the kernels that engines depend on.
16GPU MODE lecturesLecture recordings and supporting material; the post suggests the lectures on profiling, CUDA and GPU architecture first.
17Triton tutorialsOfficial runnable tutorials from vector addition to softmax, matrix multiplication and fused attention.
18PyTorch TutorialsTutorials including custom kernels and profiling.
Source
1 entryThe post these core resources come from.
Core Papers & Docs
4 entriesPrimary sources for serving optimisation.
Related Pages
4 entriesNeighbouring pages on this site.