Multi-Query Attention

The boldest way to shrink the cache: let all heads share a single set of keys and values. The cache drops by a factor equal to the number of heads — but the diversity that made multi-head attention powerful collapses with it.

Large Language Models: From Transformers to Frontier Models

Sign up free to read the rest of this lesson