[GH-ISSUE #5103] [Engine] RX 9070 XT (gfx1201, HIP, Linux): MES wedge on 20K+-token prefill with the 2026-10-30 engine; three silent whole-host lockups under Strata load #2381

Open
opened 2026-11-04 01:58:50 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @tomsun66-star on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5103

Linux box; the Strata engine runs only on one GPU:

  • GPU A 0000:2f:00.0 RX 9070 XT (gfx1201): Strata serve + engine --serve (HIP, --pack iq3_s, --kv int8, --expert-cache auto, --spec 4 --mtp, --max-context 163840).
  • Environment note: a second GPU (0000:25:00.0 RX 6800) is installed but does not run Strata; it serves other local models (llama.cpp). Its concurrent 20,672-token prefills are part of the machine load described below; gfx1030 wedge events on that card are tracked outside this report.

All numbers measured on this machine (Ubuntu, kernel 7.x, ROCm 7.13.99004-3309c6114a local, engine build 2026-10-30 12:56, BUILD.json 0.1.54, archs gfx1030+gfx1201; the previous engine build 2026-10-14 ran the same workload for weeks):

  1. Engine-side wedge on GPU A (D2 test, 2026-11-03): amdgpu MES timeout events on 0000:2f:00.0 during/after a 20,672-token prefill while the second GPU ran its own 20,672-token prefill. With STRATA_HIP_WMMA=0 and STRATA_PF_FUSED=0 exported, the same 6-iteration test ran 56 min clean (0 amdgpu events). Trade-off: prompt processing −31…46 % on the 9070 XT at these prompt sizes per docs/AMD_HIP.md expectations; not yet re-benchmarked same-day in production.
  2. Host-level: three unlogged whole-host lockups (2026-11-02/03, last journal end 04:21:46, no panic, no vmcore, no AER; BIOS hang, power cycle needed) under agent pipelines driving the Strata engine with tool-round prompts of 20–50 K chars. Same symptom class as #5054 but on AMD/HIP: the crash boot has 0 page-allocation-failure records and THP=madvise; GPU-side amdgpu events in that boot were on the Strata GPU (2× recovered reset at 01:53, ~2.5 h before the lockup).

Expected: the engine survives its own prefill (the 2026-10-14 build did, weeks of the same agent load), and Strata load does not silently lock up the host.

Steps (recorded conditions, not a deterministic reproducer):

  1. Start the engine from 2026-10-30 on gfx1201 with the serve defaults above.
  2. Drive it with the agent pipeline (20,672-token prefills, tool rounds, serve on :8090); on this box another non-Strata model runs concurrently on the second GPU.
  3. D2 test: 6 iterations of a 20,672-token chat prefill. GPU A wedged on iteration 2–4 with the engine kernels on; the same script with STRATA_HIP_WMMA=0 STRATA_PF_FUSED=0 ran 56 min clean (D2c).

What I checked: docs/DETAILS.md troubleshooting table; #4668 (MEC fw), #4090/#481 (lost-step class), #4431 (gfx1100+gfx1201 kernel image), #4007 (gfx103x pcie_frac), #5054 (host shutdown class). Ablation of the two documented gfx12 kernel switches (WMMA, PF_FUSED) fixes GPU A.

What I did NOT test: no same-day A/B of the 2026-10-14 engine on this exact box yet (planned); single-GPU-only operation (Strata alone, second GPU idle) untested.
„Strata version, GPU, OS“:
engine 0.1.54 (HIP, gfx1201, built 2026-10-30) · RX 9070 XT 16 GB (second GPU: RX 6800, not used by Strata) · Ubuntu Linux, kernel 7.x, ROCm 7.13.99004-3309c6114a, X570 (AM4), 96 GB RAM

strata_issue_post.md

Originally created by @tomsun66-star on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5103 Linux box; the Strata engine runs only on one GPU: - GPU A 0000:2f:00.0 RX 9070 XT (gfx1201): Strata serve + engine --serve (HIP, --pack iq3_s, --kv int8, --expert-cache auto, --spec 4 --mtp, --max-context 163840). - Environment note: a second GPU (0000:25:00.0 RX 6800) is installed but does not run Strata; it serves other local models (llama.cpp). Its concurrent 20,672-token prefills are part of the machine load described below; gfx1030 wedge events on that card are tracked outside this report. All numbers measured on this machine (Ubuntu, kernel 7.x, ROCm 7.13.99004-3309c6114a local, engine build 2026-10-30 12:56, BUILD.json 0.1.54, archs gfx1030+gfx1201; the previous engine build 2026-10-14 ran the same workload for weeks): 1. Engine-side wedge on GPU A (D2 test, 2026-11-03): amdgpu MES timeout events on 0000:2f:00.0 during/after a 20,672-token prefill while the second GPU ran its own 20,672-token prefill. With STRATA_HIP_WMMA=0 and STRATA_PF_FUSED=0 exported, the same 6-iteration test ran 56 min clean (0 amdgpu events). Trade-off: prompt processing −31…46 % on the 9070 XT at these prompt sizes per docs/AMD_HIP.md expectations; not yet re-benchmarked same-day in production. 2. Host-level: three unlogged whole-host lockups (2026-11-02/03, last journal end 04:21:46, no panic, no vmcore, no AER; BIOS hang, power cycle needed) under agent pipelines driving the Strata engine with tool-round prompts of 20–50 K chars. Same symptom class as #5054 but on AMD/HIP: the crash boot has 0 page-allocation-failure records and THP=madvise; GPU-side amdgpu events in that boot were on the Strata GPU (2× recovered reset at 01:53, ~2.5 h before the lockup). Expected: the engine survives its own prefill (the 2026-10-14 build did, weeks of the same agent load), and Strata load does not silently lock up the host. Steps (recorded conditions, not a deterministic reproducer): 1. Start the engine from 2026-10-30 on gfx1201 with the serve defaults above. 2. Drive it with the agent pipeline (20,672-token prefills, tool rounds, serve on :8090); on this box another non-Strata model runs concurrently on the second GPU. 3. D2 test: 6 iterations of a 20,672-token chat prefill. GPU A wedged on iteration 2–4 with the engine kernels on; the same script with STRATA_HIP_WMMA=0 STRATA_PF_FUSED=0 ran 56 min clean (D2c). What I checked: docs/DETAILS.md troubleshooting table; #4668 (MEC fw), #4090/#481 (lost-step class), #4431 (gfx1100+gfx1201 kernel image), #4007 (gfx103x pcie_frac), #5054 (host shutdown class). Ablation of the two documented gfx12 kernel switches (WMMA, PF_FUSED) fixes GPU A. What I did NOT test: no same-day A/B of the 2026-10-14 engine on this exact box yet (planned); single-GPU-only operation (Strata alone, second GPU idle) untested. „Strata version, GPU, OS“: engine 0.1.54 (HIP, gfx1201, built 2026-10-30) · RX 9070 XT 16 GB (second GPU: RX 6800, not used by Strata) · Ubuntu Linux, kernel 7.x, ROCm 7.13.99004-3309c6114a, X570 (AM4), 96 GB RAM [strata_issue_post.md](https://github.com/user-attachments/files/34319888/strata_issue_post.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6604379584 --> @github-actions[bot] commented on GitHub (Nov 3, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6604586810 --> @github-actions[bot] commented on GitHub (Nov 3, 2026): Thanks, this follows the format now.
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#2381
No description provided.