PagedAttention: Revolutionizing KV Cache Memory Efficiency

PagedAttention, inspired by OS virtual memory, fragments the LLM's Key-Value (KV) cache into fixed-size pages, dynamically allocating and managing memory. This approach dramatically reduces the 60-80% memory waste from fragmentation in traditional methods, boosting throughput by 2-4x and enabling longer context windows.

Sources

Open the full topic