KV Cache Fragmentation Solved: 4% Memory Waste vs. 80%

Unlike traditional LLM serving that wastes 60-80% of GPU memory through pre-allocation and fragmentation, PagedAttention achieves near-optimal memory utilization with only about 4% waste by dividing the KV cache into fixed-size pages.

Sources

Open the full topic