Single cache

One cache type, one view (offset = 0). Block table maps logical → physical block b, nothing more.
addr = offset + l × layer_stride + b × block_stride + slot × row_width
layout
layers L
block_size
num_blocks
scenarioMLA (compressed latent KV), row width 656 B/token

KVCacheTensor params

specoffsetlayer_strideblock_striderow widthpage size

Memory map (flat byte array, to scale)

Hover for byte range; green = selected token.
 

Look up a token's address

token t
layer
When all layers share one shape, one block table + one KVCacheTensor view (offset = 0) is all you need. Multiple cache types sharing one block table — see below.