Skip to main content

PagedAttention

PagedAttention

  • Hardware & deployment
  • Stage 5 · Running It
  • refs checked 2026-11-09
What problem it solves

Manage the KV cache with OS paging ideas so memory is barely wasted.

What it is
Kwon et al.'s definition: an attention algorithm inspired by classical virtual memory and paging in operating systems. The paper reports vLLM achieving near-zero KV cache waste and 2-4x throughput.
Split the KV cache into fixed-size blocks and map them through a block table to non-contiguous GPU memory, allocating on demand.
Split the KV cache into fixed-size blocks and map them through a block table to non-contiguous GPU memory, allocating on demand.
Why it matters

The real reason vLLM is fast. Memory budgeting is about cache, not only weights.

Sources
  • PagedAttention paper (SOSP 2023) ↗
  • Practitioner deep-dive: serving deep dive guide (AI Models site) ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →