AI engineering glossary · Inference serving optimisation

What is block table?

Block table: A lookup structure mapping a request's logical token positions to the physical memory blocks that hold its KV cache. It lets attention kernels find scattered blocks and lets several requests share identical blocks safely.

Level: advancedTopic: Inference serving optimisation

Block table: an example

Sequence A's table says logical blocks 0, 1, 2 live in physical blocks 7, 3 and 12.

Related terms

More Inference serving optimisation terms

Where you learn it

Block table is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.