hard20 pts · first answer countsllm-servinggpu-memory
KV cache with grouped-query attention
A model has 32 query heads but uses grouped-query attention with 8 key/value heads. Compared with standard multi-head attention, how big is its KV cache?
Discussion 0
Join free to post in the discussion.
Related questions
- Memory for 7B parameters in fp16MLOps Engineer
- Where GPU tensors liveMLOps Engineer
- Reading a CUDA OOM errorMLOps Engineer
- First thing to try after OOMMLOps Engineer
- Memory during evaluationMLOps Engineer
- KV cache size for one long requestMLOps Engineer
- Serving many fine-tuned variantsMLOps Engineer
- Allocated and reserved memoryMLOps Engineer