MQA
The efficiency lineage · 2019
The idea
Section titled “The idea”Multi-Query Attention. The first move in the shrink-the-cache branch: keep the mechanism, share the memory.
Verdict
Section titled “Verdict”What it fixedOne K/V shared by all heads - the cache shrinks by the head count.
What it still costsQuality drops when you push it hard.
The story, animated
Section titled “The story, animated”One drawer, four heads - watch the pile shrink by exactly the head count.
Where it sits
Section titled “Where it sits”Worth having first: The memory wall
Unlocks: GQA