Track 14: Inference & Serving — vLLM
Getting a trained model to serve many concurrent users cheaply. Starts with the mechanics almost nobody explains — prefill vs. decode, the KV cache and its memory math — because every serving optimization that follows (continuous batching, PagedAttention, speculative decoding) exists to fix a specific problem those two create.
Modules
- The Serving Problem
- Inference vs. Training Workloads
- Prefill and Decode Phases
- The KV Cache
- KV Cache Memory Math
- Naive Batching and Its Waste
- Continuous Batching
- PagedAttention
- vLLM: Getting Started
- vLLM: Configuration and Tuning
- Speculative Decoding
- Quantized Serving: AWQ and GPTQ
- Alternatives: TGI, TensorRT-LLM, Ollama
- Benchmarking Throughput and Latency
- Autoscaling and Multi-Replica Serving
- Capstone Project