← Back to article

Equation 9 · How AI Inference Serving Actually Works

What does this equation mean?

hkvh_{kv}

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 key-value attention heads. 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

hkvh_{kv}

Symbol h_kv

the number of key-value attention heads.

Understand this part →

subscript

subscript

The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.

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 →