Paged Cache: OS Paging for Non-Contiguous Memory

Paged KV Cache innovates by adopting operating system virtual memory concepts, partitioning KV states into fixed-size blocks that can be stored non-contiguously in GPU memory and mapped using a block table, enabling dynamic allocation and efficient context sharing across requests.

Sources

Open the full topic