Fewer Keys, Same Heads
In grouped-query attention (GQA), a model with 32 query heads is configured with 8 KV groups. How many key/value head pairs must be stored in the KV cache per layer, and what happens to each of them during attention computation?
Sign in to answer questions and track your progress
Sign In