Index Ai Academy
Glossary · Phase 5 · Transformers

Multi-query attention

The extreme of grouped-query attention: every query head shares a single key head and value head, giving the smallest KV cache.

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