Block Table's Blueprint: How Paged KV Cache Maps Memory

Paged KV Cache employs a block table, analogous to an operating system's page table, to map logical KV cache blocks to non-contiguous physical memory pages. This allows dynamic, on-demand allocation and eliminates the need for large, contiguous memory reservations.

Sources

Open the full topic