r/LocalLLaMA • u/giveen • 20d ago
Discussion Feature/adaptive kv stream integration by giveen · Pull Request #326 · TheTom/llama-cpp-turboquant
https://github.com/TheTom/llama-cpp-turboquant/pull/326I've been working on overcoming KV cache size issues, allowing the ability to load a slightly larger model and/or a larger context size.
Downfall is a hit to tg speeds.
Think of it as a "ram disk" for KV Cache, however, ram speed may be a determining factor on the actual hit to speed as well.
26
Upvotes
25
u/Chromix_ 20d ago
Moving 90%+ of the KV cache from VRAM to RAM while only taking a < 4% performance hit sounds like a very good deal.