← All parts of this equation

Equation 1 · Part 4 · AI Memory Systems and the Bandwidth Wall in Practice: An Advanced Technical Guide

Symbol d_h

MKV=2⋅L⋅H⋅dh⋅b⋅s⋅pM_{\mathrm{KV}} = 2 \cdot L \cdot H \cdot d_h \cdot b \cdot s \cdot p
dhd_h

What this part means

dhd_h is one factor in the product that computes the quantity on the left.

Its job in the formula

dhd_h is one factor in the product that computes the quantity on the left.

The passage around this formula

…for the average context length will be wrong for the tail, and a naive contiguous allocator sized for the tail will waste most of its memory on requests that never reach it. with L transformer layers, H key-value heads, dhd_h head dimension, b batch size, s sequence length and p bytes per stored element, the factor of two counting keys and values separately. Every strategy below is, mechanically, an attempt to shrink one term of this product without shrinking the model’s effective context.

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.