PagedAttention: KV Cache Efficiency King

This memory management innovation, inspired by virtual memory, partitions KV cache into fixed-size blocks, reducing memory waste by up to 96% and boosting throughput by 1.5x-2.2x by eliminating fragmentation and enabling efficient sharing.

Sources

Open the full topic