← All parts of this equation

Equation 13 · Part 3 · AI Memory Systems and the Bandwidth Wall in 2035: Scenarios, Signals, and Falsifiable Predictions

Symbol H_kv

MKV=2 L Hkv dh S B pM_{\mathrm{KV}} = 2 \, L \, H_{\mathrm{kv}} \, d_h \, S \, B \, p
HkvH_{\mathrm{kv}}

What this part means

HkH_kv is an input to the expression that computes the quantity on the left.

Its job in the formula

HkH_kv is an input to the expression that computes the quantity on the left.

The passage around this formula

…The memory a transformer must hold for one in-flight generation — its key-value cache — grows linearly in exactly the variables that make serving expensive: sequence length and batch size. For a model with L layers, HkvH_{\mathrm{kv}} key-value heads, head dimension dhd_h , sequence length S , batch size B , and p bytes stored per element, the cache occupies approximately MKV=2 L Hkv dh S B pM_{\mathrm{KV}} = 2 \, L \, H_{\mathrm{kv}} \, d_h \, S \, B \, p. bytes, the leading factor of two accounting for keys and values together. That equation is worth writing out because it…

Read this part in the article →

Learn the underlying idea

A subscript is a label attached below a symbol. It often selects a time step, component, category, or member of a sequence.

Open the illustrated subscripts: which member of a family? guide →

See this notation across published equations →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.