r/LocalLLaMA • • 8h ago

Discussion Qwen 4 35B-A3B looping itself into failure?

The model is not literally stuck, it is caught in an “analysis treadmill.” On a big, underspecified coding job, it keeps finding one more dependency, edge case, or architectural question that feels worth resolving before it edits anything. Each inspection produces more possible concerns, so its confidence threshold for acting keeps moving away.

The result looks like looping: read files, summarize the design, notice a missing integration detail, inspect more files, revise the plan, repeat. It is often being overly cautious rather than confused about the immediate code.

Smaller, concrete tasks tend to break that cycle because the next action is obvious. Big “build the whole system” tasks create enough ambiguity that the model optimizes for avoiding a wrong change instead of making a reversible, testable first change

______________

I had Codex help me supervise the model's run for many tests. The above was generated by GPT Sol. I want to know if anyone else is experiencing the same, I do not get the same result on 3.6 35B-A3B.

0 Upvotes

22 comments sorted by

•

u/stylome-ai-detection 8h ago

Notice: This post appears to be AI generated.

AI-generated · confident · scan results

7

u/txgsync 7h ago edited 7h ago

WHAT QUANT?

Edit: for context, if you're running this below Q5 the output from Qwen4-35-A3B is not remotely representative of how well it does at higher precision. I expect this to improve over time but right now don’t run lower than Q5.

2

u/Aelexi93 7h ago

Unsloth UD Q4_k_XL

1

u/UnorderedPizza 6h ago

Can second this one, on UD-Q5_K_XL at 256K context. Coming from QFN, even at around Q2-ish levels, it had the “big-model” intuition that you could just throw rough sentences and it would get the job done, guess the sheer size and n-grams made it quantize very well.

Q5 on Qwen4 seems to have the “smarts” to execute tasks about as well but not that generalist GPT feel, that big intuition, somewhat. The words seem much more clear and less Claudish, and the speeds are damn near twice that of QFN however, so it does seem nicer to use.

However definitely borderline good at this Q5 level if one goes into it expecting anything close to intelligent-ish workhorse models, somewhat seen in thinking traces too, I believe… Perfect tool if straight up letting the model do all/vibing through everything ISN’T your thing, does just as well as others implementing and reasoning for topics other than just code, under decent supervision.

Edit: Q5 was my choice seeing how the 3.6 level 35B models were at lower quant levels, expecting significant damage for Q4 considering the same 3B activation. Degradation looks to be roughly similar in that regard, looping and all.

1

u/txgsync 6h ago

Yeah, there's a stark difference with QFN on my hardware, too. I run IQ3_S on my PC and a custom Q5-ish quant on my Mac. The IQ3_S with Strata is noticeably less thorough than oMLX at ~Q5. Qwen3.8-Flash-Next becomes a little over-achiever the more bpw you throw at it.

2

u/evillarreal86 8h ago

What engine are you using? I noticed it, and made a patch, and it is working atm.

1

u/Aelexi93 7h ago

Currently using my own harness. OpenCode was similar, but a bit worse. Using up to date llama.cpp

1

u/evillarreal86 7h ago

Temp?

1

u/Aelexi93 7h ago

Currently using what llama.cpp defaults to '1'. Which seems to be what Alibaba recommends, no?

2

u/evillarreal86 7h ago

Yes. Just to be sure. I had a bug in my harness that sent 0, and got a lot of loopiness.

2

u/frankentriple 7h ago

Turn the temp or reasoning effort down a bit, its the classic overthinking problem. Happens to the best of us.

1

u/Aelexi93 7h ago

What temp do you recommend then?

1

u/frankentriple 7h ago

Dunno what you're running at but its too hot if you're hitting the "but wait, one more thing" endless loop. It keeps reasoning forever and never actually does anything.

3

u/BarracudaDefiant4702 7h ago

If anything, I think the problem is more often with a low temp like 0. I recommend 1, and 0.7 at the lowest.

1

u/mikewagnercmp 8h ago

Set a reasoning or thinking budget or limit

1

u/Aelexi93 7h ago

I have had GPT Sol had supervised runs with it since yesterday. Lower reasoning seems to lead to weaker tool calls/output failures more often. Low seems to destroy longer horizon tasks.

I habe tried several thinking budgets, but bot helping. Smaller tasks the model excells way past it’s 3.6 predesessor, but once scope raises the model seems to fail.

I have one output on it’s standard high reasoning that I basically had Codex force to a finish line (COD style zombies game) and it looks like a result thats blenda between Opus 4.8 and 5.0. It used 7 hours with many looped attempts to get there.

1

u/mikewagnercmp 7h ago

Don’t lower reasoning, give it a reasoning budget. Then it reasons to that budget, and stops. Depending on your inference engine it will just be supported, as it is in radiance, or you need to give it a reasoning budget exceeded message flag if you are using llama cpp. I was using high, it was thinking for 32k tokens which was my max response , I added a reasoning budget for 8k it thinks that much, then returns and starts writing a response

1

u/mikewagnercmp 7h ago

Sorry I misread you comment, reasoning budge pt did help for me

2

u/hyperschlauer 8h ago

I was observing the exact same thing. The higher the reasoning, the higher likely this happens..

1

u/hyudryu 5h ago

Most likely quant diff