Equation 14 · Part 8 · How AI Inference Serving Actually Works
=
=
What this part means
The expressions on both sides represent the same quantity under the stated assumptions.
Its job in the formula
The equals sign connects the complete expression on the left with the complete expression on the right. Both sides must have compatible units.
Full expression→=→Article meaning
The passage around this formula
Its footprint follows directly from the shape of the cache. For a model with L layers, key-value attention heads, head dimension , holding a sequence of length s across b concurrently served sequences, stored at p bytes per element, the total resident size is . with the factor of two accounting for storing both keys and values. Two things follow immediately from this equation, and both matter more than the equation’s arithmetic itself. It scales linearly with context length, so a conversation twice as long holds twice the cache. And it scales linearly with the batch b — the exact quantity the previous section identified as the only lever available to make a…
Learn the underlying idea
An equals sign says that the expression on its left and the expression on its right have the same value under the stated definitions and assumptions.
Open the illustrated equality: what the equals sign claims guide →
Sources cited in the article section
These citations provide research context; check each source for the exact claim it supports.