Failure to initiate the reasoning process. Happens at 29 000 - 31 000 tokens deep in chat, quite consistently.

#143
by AutisticPancake - opened

The moment it reaches 29K to 31K chat depth - it starts to fail at reasoning, outputting the final answer immediately instead. This does not concern the tool calling, most likely (I'm not using it for agentic tasks).

No idea whether it's .jinja issue or something is wrong with llama.cpp or the model itself, but it's been like that for a long time already, for more than 1 month.

I haven't tested .safetensors but I can surely say that every GGUF file out there is affected, including some community-made finetunes. It doesn't matter whether .mmproj is involved or not. Personally, I encountered it with Q4KM / Q6 / Q8 variants, and with the official QAT version too.

How to reproduce the issue: Give it a complex, large enough system prompt in the ballpark of 10K to 20K tokens, and fill the chat with many short, conversational messasges until the context reaches 30K tokens. Overall context window doesn't matter for as long as it's got the room to fit these 30K to reveal the issue.

How often the issue manifests: Once the sufficient chat depth is reached, I'd say there's about 80% chance it'll fail to initiate reasoning in every following generation. Re-generating sometimes helps, but it does seem like it'll get even more inclined not to reason at all if the chat continues further into 30K+ context.

Sampler settings: using the officially recommended temperature, top_k, etc.

I've also found this Reddit thread where other users complained about a similar issue about 4 months ago: https://www.reddit.com/r/LocalLLaMA/comments/1sfr5jh/gemma_4_31b_silently_stops_reasoning_on_complex/

After having a chat with some people, I've decided to close this discussion for now.
Will reopen it if/when a more definite proof of an issue appears.

No point keeping it open, considering there are "everything's fine" claims.

AutisticPancake changed discussion status to closed

Sign up or log in to comment