Why it matters
PagedAttention scales serving. Understanding shapes memory model.
Advertisement
The architecture
KV cache: fixed-size pages.
Block table maps logical → physical.
Share prefixes across requests.
Advertisement
How it works end to end
Block size: e.g., 16 tokens.
Prefix sharing: multiple requests share pages.
Copy-on-write when diverging.