What is GQA (grouped-query attention)?
Attention variant where several query heads share one key/value head, shrinking the KV cache.
Where it comes up
Lessons that use this term, most mentions first.
- A decode-attention kernel in Triton: paged KV cache, GQA and split-KV · 32 min · Pro
- Attention kernels for serving: MLA, split-KV decoding and FlashAttention 3 and 4 · 18 min · Pro
- Attention optimisations: FlashAttention, GQA, paged KV and sliding windows · 16 min · Pro
- Flash attention and long-context performance · 20 min · Pro
- KV-cache quantization · 20 min · Pro
- Modern upgrades: RoPE, RMSNorm, SwiGLU and grouped-query attention · 18 min · Pro
- VRAM math: will this model fit? · 12 min · free
- Multi-GPU interconnects: PCIe, NVLink, NVSwitch and InfiniBand · 20 min · Pro