Discussion about this post

User's avatar
The Coding Gopher's avatar

For the "is 7 GB enough" question: the KV cache is about 2 × layers × KV heads × head dim × bytes per value × context tokens, and the GGUF metadata has every term. If it's tight, llama.cpp can store the cache itself at lower precision (--cache-type-k / --cache-type-v q8_0), roughly half the default f16.

Abhishek Pan's avatar

That missing 3 GB is why I size VRAM from the file plus KV cache, not params times bits.

1 more comment...

Ready for more?