Grouped-query attention shares attention computation across groups of queries. It is used in StarCoder2 to speed inference while reducing computational overhead. section 7.2.4
In a GPU benchmark, StarCoder2’s implementation is associated with better throughput and latency than CodeGen 350M and 2B mono models. The comparison does not isolate the attention mechanism from other model differences. section 7.2.4
