[GH-ISSUE #13410] v0.13.2: thinking loops #34616

Closed
opened 2026-04-22 18:20:11 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @somera on GitHub (Dec 10, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/13410

What is the issue?

Hi,

currently I run v0.13.2 and I have sometimes loops in thinking process with gpt-oss:20b (https://ollama.com/library/gpt-oss:20b).

I'm using Open WebUI v0.6.41.

Image

Is there a way to see why this happens? Cause sometimes it's not working, when I click stop in Open WebUI.

Or it's possible to stop this.

In this case the whole GPU (RTX A6000 48GB) is used and blocked.

Regards,
somera

Relevant log output


OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

0.13.2

Originally created by @somera on GitHub (Dec 10, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/13410 ### What is the issue? Hi, currently I run v0.13.2 and I have sometimes loops in thinking process with gpt-oss:20b (https://ollama.com/library/gpt-oss:20b). I'm using Open WebUI v0.6.41. <img width="1033" height="581" alt="Image" src="https://github.com/user-attachments/assets/4dfd13a5-e7c2-4ba8-b05c-4f8cd3ad9e87" /> Is there a way to see why this happens? Cause sometimes it's not working, when I click stop in Open WebUI. Or it's possible to stop this. In this case the whole GPU (RTX A6000 48GB) is used and blocked. Regards, somera ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version 0.13.2
GiteaMirror added the bug label 2026-04-22 18:20:11 -05:00
Author
Owner

@somera commented on GitHub (Dec 10, 2025):

I go back to ollama 0.13.1.But the loop is there.

Weeks ago I set this: Environment="OLLAMA_KV_CACHE_TYPE=q8_0". Now I deactivated this parameter and I use the default value.

But with some Java code files which should be analyzed I get loops in thinking step.

<!-- gh-comment-id:3638938694 --> @somera commented on GitHub (Dec 10, 2025): I go back to ollama 0.13.1.But the loop is there. Weeks ago I set this: `Environment="OLLAMA_KV_CACHE_TYPE=q8_0"`. Now I deactivated this parameter and I use the default value. But with some Java code files which should be analyzed I get loops in thinking step.
Author
Owner

@somera commented on GitHub (Dec 10, 2025):

The problem is: the wrong model for this use-case. ;)

<!-- gh-comment-id:3639197067 --> @somera commented on GitHub (Dec 10, 2025): The problem is: the wrong model for this use-case. ;)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#34616