[GH-ISSUE #1356] Stream corruption with STRATA_QFUSE=1 on GFX1151 when using parallel: 2 #552

Closed
opened 2026-11-04 01:44:00 +07:00 by bsakaguchi · 3 comments
Owner

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-borrow by the way, otherwise the second stream hangs at "reading the prompt: 8192 of ... tokens".

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-borrow` by the way, otherwise the second stream hangs at _"reading the prompt: 8192 of ... tokens"_.
Author
Owner

@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 (commit 0a22c467), 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 of strata-<model>.log, your kernel and ROCm wheel version, and the prompt sizes, and try once with STRATA_PF_STEP_SYNC=1 set 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.

<!-- gh-comment-id:6043802530 --> @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 (commit 0a22c467), 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 of `strata-<model>.log`, your kernel and ROCm wheel version, and the prompt sizes, and try once with `STRATA_PF_STEP_SYNC=1` set 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.
Author
Owner

@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 .

<!-- gh-comment-id:6048911410 --> @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 .
Author
Owner

@ChrisDeadman commented on GitHub (Oct 10, 2026):

I've just pulled latest and ran ./update.sh. I can confirm everything is working now with STRATA_QFUSE=1 and without --no-prefill-borrow 👍🏼

<!-- gh-comment-id:6103112701 --> @ChrisDeadman commented on GitHub (Oct 10, 2026): I've just pulled latest and ran `./update.sh`. I can confirm everything is working now with `STRATA_QFUSE=1` and without `--no-prefill-borrow` 👍🏼
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#552
No description provided.