Asymmetric KV-Cache Quantization in llama.cpp (--cache-type-k vs --cache-type-v): Exact GGML Byte Math on Apple Silicon
Most guides on llama.cpp KV-cache quantization treat Keys ( K ) and Values ( V ) identically, swapping symmetric FP16/FP16 down to Q8_0/Q8_0 or Q4_0/Q4_0 . Yet transformer attention puts very different numerical sensitivity on those two projections: Keys ( K ) feed every Q · K^T dot-product softmax…
Read the full story at DEV Community — AI ↗
Timeline · 2 reports
- 2026-12-02 08:47 · DEV Community — AI
Why Local LLMs Slow Down on Apple Silicon: Memory Bandwidth, KV Cache Math, and 24/7 Mac mini Gear - 2026-12-01 23:47 · DEV Community — AI
Asymmetric KV-Cache Quantization in llama.cpp (--cache-type-k vs --cache-type-v): Exact GGML Byte Math on Apple Silicon