Benchmarking OSCAR2 KV Cache in llama.cpp
giveen · reddit · 2026-07-19
OSCAR2 KV Cache Benchmark in llama.cpp
The author tested the oscar2 KV cache solution in llama.cpp on an RTX 5090, comparing it against f16/f16 and q20/q20. For Qwen3.6-27B, the generation speed of oscar2/oscar2 is approximately 42 t/s, which is about 35% faster than q20 while closely matching the performance level of f16.
They also tested performance across different context lengths: from 4K to 1M, the generation speed of oscar2 remains mostly flat without obvious degradation. In contrast, f16 quickly hits OOM at longer contexts, whereas oscar2 continues to run. The overall conclusion is that this cache solution perfectly balances speed and VRAM usage in long-context scenarios.
More from Infra
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- SF Compute founder: buying compute is 'an absolutely awful experience' right now — IgorCarron · 2026-09-11
- SmolVM open-sources persistent computer infrastructure for agents that outlive chat sessions — aniketmaurya · 2026-09-11
- PyTorch Day Korea 2026 launches first offline conf, CFP closes Sept 13 — PyTorch · 2026-09-11
- Local LLM server dilemma: 4x CMP-170HX (price up 53% in 20 days) vs Mac Studio M5 Ultra — rumboll · 2026-09-11
- llama.cpp lands Flash Attention tuning for RDNA4, big prefill gains on AMD — pmttyji · 2026-09-11