PagedAttention: Up to 24x Throughput Boost & Minimal Memory Waste

PagedAttention revolutionizes LLM memory management by fragmenting KV caches into fixed-size pages, similar to operating system virtual memory. This dynamic allocation and use of per-sequence block tables minimize memory fragmentation, leading to up to 24x throughput improvements and reducing KV cache waste to under 4%.

Sources

Open the full topic