4-bit KV cache: The same memory hack can be free – or break everything
AI-generated summary Language models store keys and values in a KV cache that can consume several gigabytes of VRAM over long documents. Quantizing this cache to 4 bits or 8 bits can reduce memory usage, but published measurements show varying impacts on model output quality.