Grouped-query attention is an inference-oriented attention variant that shares attention computation across query groups, reducing computational overhead and improving generation speed. section 7.2.4 section 7.4
Operational implications include:
- Improves throughput and latency for StarCoder2 during GPU inference. section 7.2.4
- Supports deployment comparisons alongside BF16 and quantized inference configurations. section 7.2.4
StarCoder2 inference
StarCoder2 3B uses grouped-query attention with a 16,384-token context window and 4,096-token sliding-window attention; GPU benchmarks report better throughput and latency than CodeGen models. section 7.2.4
