Skip to content
inference.academy

glossary/memory/block-table

Block table

also page table

The per-request list that says which physical block of KV cache holds each run of its tokens. The attention kernel reads it to find the keys and values for position n, so a request's cache can be scattered across memory and still be read in order. It is also where sharing lives: two requests whose tables point at the same block are reading one copy of the same prefix.


16 tokens

The default block size in vLLM; smaller blocks waste less at the tail of a request and cost more table lookups.


See it happen


Related