Index Ai Academy
Glossary · Phase 5 · Transformers

Grouped-query attention

Also written: GQA

Letting groups of query heads share one key head and one value head, so the KV cache shrinks with little loss in quality.

Learn it properly

Inference and the KV cache · Why generation is fast after the first token. About 35 minutes.

Open the lesson Create a free account

Other terms from the same lesson