Remix.run Logo
▲ cmovq 4 hours ago

Every time I tried Qwen 3.8-27B it keeps using “Hmm, no” and “wait!” getting stuck in thinking loops, reminiscent of Opus 4.6. Maybe I’m doing something wrong though.

▲tedd4u 4 hours ago | parent | next [-]

Check your sampling. Thinking tends to loop with temperature too low or zero. It was designed to run with temp = 1, top_k = 20, top_p = 0.95.

Also, default thinking effort is xhigh. Try setting reasoning_effort = medium.

That should be good for many tasks where high is not needed.

I found this guide helpful: https://prompt-architects.com/blog/315-how-to-prompt-qwen-mo...

▲Aurornis 4 hours ago | parent | prev | next [-]

That’s characteristic of the Qwen models. The more quantized the model, the more it happens, too. So if you’re running one of the more reduced models like Q3 it’s going to happen a lot more.

Adjusting some of the looping penalties in the inference engines helps a little. You can also set the reasoning limits so that it gets cut off after thinking too long and forced to answer. These don’t necessarily produce great answers if the model wasn’t on track to get there, but it keeps it from looping forever.

The scores some of these local models achieve are partially due to a lot of thinking time, though. Unlike frontier models you kind of have to let the local models go through tokens for a very long time to see if they can get to the answer.

▲pwython 2 hours ago | parent | prev | next [-]

Yea small Qwen models get stuck in a wrong/nope/hmm feedback loop even after solving a problem, and sampling penalties don't really help. You may find this interesting, it's an explanation of the loop I had Claude throw together, along with a fix for Qwen3.5-0.8B (via editing the weights):

https://alisorcorp.github.io/inside-a-reasoning-loop/

▲swerner 4 hours ago | parent | prev | next [-]

That’s when I copy the output from the local model, paste it to a paid cloud model, and relay that answer back to the local model. Usually that breaks the cycle.

▲MayeulC 3 hours ago | parent | prev | next [-]

Happens a lot on GLM 5.3 Flash, which is my workhorse for personal projects these days (z.ai or mistral). It even got stuck multiple times in loops where "hmm" was the only output when on max effort (mostly on black-box RE projects).

▲giladd 4 hours ago | parent | prev | next [-]

I got it as well, and have seen someone here say that it's a failure mode that happens when running with a single GPU for some reason. If anyone managed to solve this, feel free to weigh in.

▲hearstnet 3 hours ago | parent | prev [-]

[dead]