The two parts that decide vLLM’s throughput: the scheduler (one step, chunked prefill and the token budget, priorities, preemption and asynchronous scheduling) and the KV cache manager (blocks and the pool, prefix caching, allocating slots, sizing the cache, and caches for hybrid models).
Lessons#
| # | Lesson | Time |
|---|---|---|
| 17.a | One Scheduling Step | 60 min |
| 17.b | Chunked Prefill and the Token Budget | 50 min |
| 17.c | Priorities, Preemption and Queues | 50 min |
| 17.d | Async Scheduling: Planning a Step Before the Last One Finishes | 55 min |
| 17.e | Blocks and the Pool | 55 min |
| 17.f | Prefix Caching | 55 min |
| 17.g | Allocating Slots: One Call, Traced | 45 min |
| 17.h | Sizing the Cache: From Gigabytes to Blocks | 50 min |
| 17.i | More Than One Kind of Cache | 45 min |
Previous: vLLM: Foundations and the Request Path · Next: vLLM: Model Execution and Features