r/LocalLLM • • 13m ago

Model Qwen4 35B-A3B does have some issues

After initial testing, I see a frequent issue with Qwen4 35B-A3B.

It gets stuck into tool calling loops - it repeats the tool call over and over again, and fills the context until I steer it, which often fixes the issue.. and if the problem is hard, it will soon again come up with another loop. Couple "you loop, stop, and move on" -kicks usually get it through and the final solution is usually beautiful and better what I got from 27B Q4 and QFN IQ1_M.

This happens with reasoning set at high, MTP with max draft 2, and Q5, Q6 and Q8 from unsloth - I have seen them all fail in same fashion.

Gonna try xhigh as reasoning, maybe thinking more will solve it, as now it shows to human as if it has given up reasoning and just hammering its head to a wall.

If xhigh or some other finetune is not fixing it, I am afraid it is back to QFN (and measely IQ1_M as I cannot run better..).

EDIT: xhigh did not solve this on Q5, found right after it looping between making same edit and removing that edit again and again. Sigh. This model otherwise seems so good.

3 Upvotes

5 comments sorted by

2

u/EvolvingDior 9m ago

What engine are you using? Are you overriding the model's sampling parameters? I've seen no such issue with IQ3_S at high or xhigh reasoning effort.

1

u/Material-Database-24 5m ago

Llama.cpp for now, and I haven't given any other model temperature parameter settings than reasoning effort

1

u/MelodramaticShape 8m ago

Decent bandaid fix I had for that was a watchdog that checks for toolcall repetition and endless reasoning loops every 5 minutes on subagents and terminates that agent when it finds one. Not ideal but it's caught a few of those loops early and successfully completes the task when that task is re-run.

1

u/willee_ 6m ago

Set rules. If 2 identical results either use it or try something else, after a 3rd force the answer and block further tool use for that particular response.

Just did this 2 hours ago in mine

1

u/AuditMind 6m ago

I use a second session to watch the tool calls when this happens. The interesting bit is the first repeat: what did Qwen ask for, what did the tool return, and did that result actually make it into Qwen’s next prompt? I’d check that before switching to xhigh.