Symbol M_KV
V is part of the quantity the equation computes from the expression on the right.
Read this term in its guide →Published equation contexts
Hooper and colleagues, working on KV cache compression for very long contexts, state the resulting footprint precisely: for a model with n layers and h attention heads of dimension d , stored using e bytes per element, the KV cache size for batch size b and sequence length l is . which grows linearly in both batch size and sequence length, with the leading factor of two accounting for storing both keys and values [ 9 ] . That single equation is the whole mechanism: nothing about it is a design choice an inference engineer can simply decline. Extend the conversation, and l grows; serve more requests at once, and b grows; either way grows with it, and Hooper…
V is part of the quantity the equation computes from the expression on the right.
Read this term in its guide →h is an input to the expression that computes the quantity on the left.
Read this term in its guide →d is an input to the expression that computes the quantity on the left.
Read this term in its guide →b is an input to the expression that computes the quantity on the left.
Read this term in its guide →l is an input to the expression that computes the quantity on the left.
Read this term in its guide →Read it with the definitions, units, and assumptions supplied by the article.
A symbol can carry a different meaning in another article. Each occurrence keeps its own guide and term definitions.
Equation 12 · Semiconductors
This equation states an equality: the expressions on both sides have the same value under the article’s assumptions.
Hooper and colleagues, working on KV cache compression for very long contexts, state the resulting footprint precisely: for a model with n layers and h attention heads of dimension d , stored using e bytes per element, the KV cache size for batch size b and sequence length l is . which grows linearly in both batch size and sequence length, with the leading factor of two accounting for storing both keys and values [ 9 ] . That single equation is the whole mechanism: nothing about it is a design choice an inference engineer can simply decline. Extend the conversation, and l grows; serve more requests at once, and b grows; either way grows with it, and Hooper…