What happens on the GPU side of vLLM: the executor, worker and model runner, building the batch, attention backends, CUDA graphs and torch.compile, sampling and structured output, then the features built on top: speculative decoding, LoRA adapters, multimodal inputs, tool calling and reasoning, and quantization.
Lessons#
| # | Lesson | Time |
|---|---|---|
| 18.a | Executor, Worker, Model Runner | 45 min |
| 18.b | Building the Batch | 50 min |
| 18.c | Attention Backends | 45 min |
| 18.d | CUDA Graphs and Compilation | 50 min |
| 18.e | Sampling and Structured Output | 50 min |
| 18.f | Speculative Decoding | 50 min |
| 18.g | LoRA Adapters: Many Models in One | 40 min |
| 18.h | Multimodal Inputs | 45 min |
| 18.i | Tool Calling and Reasoning | 40 min |
| 18.j | Quantization in vLLM | 45 min |
Previous: vLLM: Scheduler and KV Cache · Next: vLLM: Scaling, Operating and Extending