Ch 21
What Is Inference?
Training creates the model. Inference makes the money.
β‘π―
Ch 22
KV Cache
The single most important inference optimization β 10β100Γ speedup
Ch 23
FlashAttention
2β4Γ faster attention by solving the memory bandwidth bottleneck
Ch 24
vLLM & Continuous Batching
Modern serving: keep GPUs at 100% utilization
π―
Ch 25
Bits, Bytes, and Binary Representation
The smallest units of information become the memory budget of every model.
β‘π―
Ch 26
Floating-Point Precision and Quantization
Trade numerical range and accuracy for memory, bandwidth, and scale.