Snapshotmain · fe1c317
How an API request enters continuous batching, receives paged KV memory, runs on a GPU, and streams tokens.
Click a building or route
System map7 components · 8 connections
130%
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal
Terms, in plain English
PagedAttentionAttention over KV state stored in non-contiguous fixed-size blocks.
How to study this repo
- 1Follow one completion
Trace an API request through AsyncLLM, EngineCore, Scheduler, GPUModelRunner, and OutputProcessor.
- 2Account for KV blocks
Compare a prefix-cache hit and miss to see how scheduled token counts and block allocation change.