Image-Text-to-Text
Transformers
GGUF
unsloth
meta
conversational

KV-Cache secret sauce ?

#7
by Hachann - opened

Thanks for the UDs GGUF !

I don't know why, but I'm surprised to see that for an almost equivalent GGUF size, I have 3x more KV cache with Glimmer than with Qwen 3.6 27B, even though it's a model with 3B fewer parameters...

(I'm comparing Glimmer IQ3_XXS at 13.1 GB and Qwen3.6 27B MTP IQ3_XXS at 12.2 GB)

Yea same. How is that possible yo? Thanks unsloth

Gated Grouped-Query Attention:
Each key-value head is shared by 16 query heads, which reduces KV-cache memory by 16x and makes generation faster and cheaper.

Source: https://huggingface.co/blog/muse-glimmer

This is also why KV Cache was so tiny on GPT-OSS 20b which uses 8 KV heads

Qwen3.6-27b uses only 2, 35b-a3b uses 4 iirc

Sign up or log in to comment