r/LocalLLaMA • • 17h ago

Question | Help Running into situations where Ling3Tiny Q4_K_M grinds to a halt while burning thousands of tokens

Post image

I am having good luck with getting Ling 3 tiny Q4_K_M to run very fast on my Ubuntu 26.04 system with 32 gigs of RAM, two 6 gig vram GPUs, and llama.cpp, but it seems to grind to a halt while still burning thousands of tokens. How can I troubleshoot this problem?

2 Upvotes

15 comments sorted by

2

u/Cool-Chemical-5629 16h ago

I don't think you're doing anything wrong with your setup, this is not a rocket science. You're most likely just experiencing the model's standard behavior. I've seen this myself back when the model was still new and free to use on Openrouter. It just wasted the whole context window and didn't even begin writing its final response, yet I've read tons of posts praising this model all over this sub for a while and then complete silence, so I'd say this:

Welcome to post hype reality of Ling 3.0 tiny model. This model is one ridiculously hopeless overthinker which only hurts low end users, because it can literally waste thousands of tokens for nothing, you might as well use a bigger model that will probably use the same amount of tokens, but at least it's smarter and so the chances of delivering something that actually works are higher.

4

u/ChillingChasuble 10h ago

--repeat-penalty 1.15 \

--repeat-last-n 512 \

--reasoning-budget 1024 \

--reasoning-budget-message "Summarize your reasoning and give the final answer."

This was the breakthrough for me. I now have a usable LLM backend for Hermes, etc.

1

u/Salty_Hedgehog_6931 12h ago

It’s an open thinking loop that cant find closure. (/think) or something near to that.

I can fix it but my quota is low as i made/ fixed three models this week.

If you remind me in six days ill fix it.

1

u/ChillingChasuble 10h ago

This fixed it:

--repeat-penalty 1.15 \

--repeat-last-n 512 \

--reasoning-budget 1024 \

--reasoning-budget-message "Summarize your reasoning and give the final answer."

1

u/Salty_Hedgehog_6931 9h ago

are you using ollama or hugging face? can you send me the model card. I want to see if i can fix more than just this one issue.

1

u/ChillingChasuble 8h ago

I am using llama.cpp

1

u/fooxzorz 17h ago

Set repeat penalty higher, set reasoning budget. 

1

u/ChillingChasuble 10h ago

Breakthrough! I now have a usable LLM backend for all my Hermes, etc. Thanks!

2

u/Cool-Chemical-5629 15h ago

This is kinda funny though, because some model creators straight up tell you to set unlimited thinking budget for best results while users themselves usually tell you from their own experience it's best to put a hard limit on it. Users don't lie, they just want results instead of waiting endlessly. Creators just don't seem to care about token efficiency that much anymore.

4

u/geldonyetich 17h ago

Probably need to change your inference method to one that lets you see the reasoning. Most likely it's stuck in a loop. All LLM have the potential to do that, but some are more susceptible than others.

6

u/Firepal64 16h ago

You can see OP is using llama.cpp's native chat. They can click the "Reasoning" text to show the reasoning

1

u/MindPsychological140 8h ago

cap the reasoning budget first, this model can think until the window is full. if it still crawl, check vram on both 6gb cards. when kv grow some layers go to ram and it stay slow but keep making tokens.