mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #702] [AMD HIP] RX 9060 XT (gfx1200) Repeating output #324
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#324
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gerporgl on GitHub (Oct 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/702
I've had several cases of the model starting to loop indefinitely until the context is full on the same output sentence.
I am not sure why this is happening, I've looked at the troubleshooting section and other issues but haven't found a solution yet.
I am new at using Strata, I normally use llama.cpp on that same system without any problem.
I've seen this problem with both ISTA coder-iq1_m and iq3_xxs, running at kv q8 with 64K context on a gfx1200 (RX 9060 XT 16GB), system has enough ram (42 GB free, 64GB total), performances are great otherwise.
I'm using the HIP backend with the auto ROCM downloaded (v 7.10.0a20251120).
I'm on linux Ubuntu 24.04 (CT), 7.0.14-16-pve # 1 SMP PREEMPT_DYNAMIC PMX 7.0.14-16 (2026-08-28T17:31Z) x86_64 x86_64 x86_64 GNU/Linux
Strata "version": "0.1.38"
I have had more success and less problem with long coding sessions with pi agent (although this could be luck, I'm not sure), most of the issues have been happening in a normal chat.
I haven't tuned anything, this is the "out of the box" ./setup.sh experience.
Otherwise, performances are great in general (30-45 T/s), it would be an amazing solution if I could find the reason why this is happening.
@johnchesser commented on GitHub (Oct 4, 2026):
I have a similar problem, even with no tool calls . I tell it to "tell me a joke a about a plane" and it starts thinking "the user wants to hear a joke about a plane .... I should tell the user something good I should tell the user something good something good something good something good good good good good good.
My setup is 2 5060tis (16gb each), I did have hermes with qwen3.6 27b set it up, but it did fine. I have since rerun all of setup.py. I also changed the port if that matters from 8080 (shouldn't)
@Gerporgl commented on GitHub (Oct 4, 2026):
I think my issue was maybe caused by having the llama.cpp Web UI loaded (cached) instead of the Strata UI... this was happening because I am using llama-swap to load models and inference engines, and I think I previously loaded the same model name under llama.cpp (which mean it had the same URL path), and this caused the ui to be changed strangely.
Doing CTRL+F5 in Firefox showed the correct Strata UI (which looks different than llama.cpp)
Anyway, I haven't seen other repeating output since then when using the same prompts using the Strata chat ui.
I've also done more coding session with pi agent and haven't seen any problem on that side.
@linuxtuga commented on GitHub (Oct 4, 2026):
Repetition is a huge problem as it hangs, keeps repeating the same line like "|
fork| fork ||
fork| fork ||
fork| fork ||
fork| fork |" and never stops and this has happened a few times now. Not only during thinking but also during regular output.Haven't noticed that with hermes using the model but it happens on the browser chat.
AMD 3600x with 3080 with 10GB of ram and 48GB of ram
This model with Strata is amazing, this is the first issue I see for something that gives me +30 token/sec. It is amazing!
@talisp commented on GitHub (Oct 5, 2026):
@linuxtuga's observation (loops in the browser chat, but not through Hermes) matches something in the code. The web chat's default temperature is 0.6 (
DEFAULTSinserve/web/app.js), and the chat always sendstemperature,top_pandtop_k. Request values win over thesamplingblock instrata-<model>.json, which setup writes with temperature 1.0, the published Qwen3.8 thinking default.An agent that sends no sampling gets the config's 1.0; the browser chat runs at 0.6. If "Use for other apps too" is on, the chat's 0.6 is also applied to API clients that don't set it.
My suggestion (opinion, not tested on AMD): in the web chat's sampling settings set temperature to 1.0 (top_p 0.95, top_k 20) and see whether the loops stop there. Then check what your other clients send:
"api_monitor": truein the config shows every request body athttp://127.0.0.1:<port>/api-monitor.In our setup (#980), loops stopped after (a) putting the official sampling in the config (the engine default is greedy when nothing is sent) and (b) raising a client side task that used temperature 0.1.
@Niko1221 commented on GitHub (Oct 7, 2026):
Closing as a duplicate of #728, which is where the repeated-output reports are collected. Two notes from this thread: the cached llama.cpp UI was the cause for the reporter, and the web chat sends temperature 0.6 where the config says 1.0, which is worth knowing when you compare.