Grouped-Query Attention (GQA), introduced in 2023, significantly optimizes Multi-Head Attention (MHA) by grouping query heads to share key-value projections. This innovation, adopted by Llama 2 and Llama 3, drastically reduces memory bandwidth and KV cache size during inference, offering a superior balance of speed and accuracy compared to MHA and Multi-Query Attention (MQA).