
Loops, quants and thinking mode: what actually made my models stop repeating
Repetition loops traced to a chat-search tool and an old llama.cpp build. Q4 quants loop for us. And thinking mode stays on.
If you run local models long enough, you’ll watch one say the same paragraph four times. Here’s what caused it for me, and what fixed it.
The repetition loops
I chased this one in two stages:
- Dense JSON from a chat-search tool. That’s where I first traced it.
- A month-old llama.cpp build. The build was missing an upstream fix for reasoning blocks. Rebuilding the whole cluster on current master fixed it.
Lesson: before tuning samplers, check how old your llama.cpp build is.
Q4 quants loop for us
Q4 quants looped for both me and Kristen. We run Q5 for the 27B and 30B models, and Q6 where it fits. Q6 on a 27B would only leave ~60–80K context per desktop, so Q5 is the compromise.
KV cache: q8_0 is fine
KV cache at q8_0 looked the same as f16 in practice, and it frees a lot of VRAM for context.
Thinking mode stays on
Turning thinking down made models answer faster, but they guessed instead of checking. I keep it on for every model, with each model’s officially recommended sampler settings.
The one catch is the opposite problem: a model that thinks so much it never acts. That’s why I left Qwen3.8-27B for Muse Glimmer 30B.
Models that didn’t make it
- Qwopus3.6-35B-A3B: repetition loops.
- Qwen3-VL-32B for vision routing: too slow.
- Gemma 4 12B as coach and planner: looped, and made up code. I don’t use Gemma any more.
- Qwen3.5-9B as the tester brain: overthought and never did the testing. Replaced by Ministral-3-8B on Oct 28.