← Back to article

Equation 11 · How AI Inference Serving Actually Works

What does this equation mean?

ss

Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.

the number of positions in each sequence. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.

Read it piece by piece

ss

Symbol s

the number of positions in each sequence.

Understand this part →

How to interpret it

Read this expression with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

Its footprint follows directly from the shape of the cache. For a model with L layers, hkvh_{kv} key-value attention heads, head dimension dhd_h , holding a sequence of length s across b concurrently served sequences, stored at p bytes per element, the total resident size is

Read the equation in its article →

Sources cited in the article section

These citations give research context. Read each source to check which claims it supports.

Return to How AI Inference Serving Actually Works

Browse the mathematical compendium →