mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[GH-ISSUE #1356] Stream corruption with STRATA_QFUSE=1 on GFX1151 when using parallel: 2 #552
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#552
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 @ChrisDeadman on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1356
A parallel request leads to the model responding with garbage.
I have nailed this down to
STRATA_QFUSE=1, which is set by default (STRATA_GFX1151_DEFAULTS=1).I suggest to remove this from the defaults, because it is not safe for parallel requests.
For parallel to work on Halo, I also have to run with
--no-prefill-borrowby the way, otherwise the second stream hangs at "reading the prompt: 8192 of ... tokens".@Niko1221 commented on GitHub (Oct 7, 2026):
Thanks for the report, and for pinning it to
STRATA_QFUSE=1. Please retest on 0.1.40.2: it has the fix for #1139 (commit0a22c467), where a batch of two slots with QFUSE on printed garbage while the same prompts alone were fine. We checked it on a gfx1201 card at--batch 2: both slots now give exactly the tokens a solo run gives, with QFUSE on. Because the fix makes batches match solo, QFUSE stays the gfx1151 default; we have not seen a reason to take it out.About the second stream hanging at "reading the prompt: 8192 of ..." without
--no-prefill-borrow: we tried to reproduce it on a 4x R9700 box (gfx1201, 0.1.40.2 engine,parallel: 2, two different ~19,600-token prompts sent at the same time, KV streaming on), once with and once with--no-prefill-borrow. Neither hung: both prompts were read and answered (23 s and 33 s by default, 22 s and 42 s with the flag). We have no gfx1151 box to try it on, so it may be specific to Strix Halo. If it still hangs on 0.1.40.2, please post the last ~80 lines ofstrata-<model>.log, your kernel and ROCm wheel version, and the prompt sizes, and try once withSTRATA_PF_STEP_SYNC=1set in the config's"env"block: it waits for the GPU after each prompt step and logs any step over 250 ms, so the log names the step that stops.@ChrisDeadman commented on GitHub (Oct 7, 2026):
Thanks for the quick response! I will try to get a slot to update and try that and gather the logs .
@ChrisDeadman commented on GitHub (Oct 10, 2026):
I've just pulled latest and ran
./update.sh. I can confirm everything is working now withSTRATA_QFUSE=1and without--no-prefill-borrow👍🏼