[GH-ISSUE #1103] hip: gfx1030 (RX 6800 XT) intermittent verify timeouts (#267): ROCm 7.14 gfx103X wheels regression, fixed by 7.13 #469

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

Originally created by @ChenCui26 on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1103

Environment

  • GPU: AMD Radeon RX 6800 XT 16 GB (gfx1030), i5-13400F, 63 GB RAM, Arch Linux (kernel 7.0.12-arch1-1)
  • Engine 0.1.39, HIP build, ROCm TheRock wheels from the gfx103X-all index
    (the pinned 7.10.0a20251120 is no longer on the nightly index, so STRATA_ROCM_VERSION was overridden)
  • Model: OrcaRouter Uncensored IQ3_XXS via the compat-bf16 pack, --spec 4 --mtp --prefill 512 --max-context 16384 --kv int8

Symptom

Intermittent verify: timed out at layer N (#267) at random layers (observed 2, 8, 16, 30). Retrying the same
request often succeeds. With STRATA_VERIFY_TRACE=1, the host handshake is fully SERVED (flag / A / B all set)
when the timeout fires, and RELEASE-NOT-DRAINED is reported. The GPU breadcrumbs stop between arbitrary
kernels mid-window (e.g. after out-proj, between VRAM hits and waitB, between z and rec) — not one
specific kernel, and many windows complete fine before the stall (e.g. 65 windows OK, window 66 stalls at
layer 2).

What did NOT fix it

  • STRATA_DOORBELL_STORE=1 + STRATA_VERIFY_COHERENT=1: still ~1 in 4 requests hung.
  • Adding HSA_ENABLE_SDMA=0: short requests all passed, but a 12K-token generation still died at ~1K tokens
    (layer 32). GPU_MAX_HW_QUEUES=1 + HIP_HOST_COHERENT=1 on top: same result (layer 21 at ~1K tokens).

Resolution (update)

Downgrading the wheels from 7.14.0a20260612 to 7.13.0a20260515 (same gfx103X-all index) and rebuilding
the engine fixed it. Two long generations (~9.7K and ~7.5K tokens, both finish: stop) ran clean at 43-46
tok/s with zero stalls, with HSA_ENABLE_SDMA=0 + STRATA_VERIFY_COHERENT=1 + STRATA_DOORBELL_STORE=1.
This points at a regression in the 7.14 gfx103X wheels rather than the SDMA path alone; 7.14.0a20260611 was
not tried.

Originally created by @ChenCui26 on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1103 ## Environment - GPU: AMD Radeon RX 6800 XT 16 GB (gfx1030), i5-13400F, 63 GB RAM, Arch Linux (kernel 7.0.12-arch1-1) - Engine 0.1.39, HIP build, ROCm TheRock wheels from the `gfx103X-all` index (the pinned 7.10.0a20251120 is no longer on the nightly index, so `STRATA_ROCM_VERSION` was overridden) - Model: OrcaRouter Uncensored IQ3_XXS via the compat-bf16 pack, `--spec 4 --mtp --prefill 512 --max-context 16384 --kv int8` ## Symptom Intermittent `verify: timed out at layer N (#267)` at random layers (observed 2, 8, 16, 30). Retrying the same request often succeeds. With `STRATA_VERIFY_TRACE=1`, the host handshake is fully SERVED (flag / A / B all set) when the timeout fires, and `RELEASE-NOT-DRAINED` is reported. The GPU breadcrumbs stop between arbitrary kernels mid-window (e.g. after `out-proj`, between `VRAM hits` and `waitB`, between `z` and `rec`) — not one specific kernel, and many windows complete fine before the stall (e.g. 65 windows OK, window 66 stalls at layer 2). ## What did NOT fix it - `STRATA_DOORBELL_STORE=1` + `STRATA_VERIFY_COHERENT=1`: still ~1 in 4 requests hung. - Adding `HSA_ENABLE_SDMA=0`: short requests all passed, but a 12K-token generation still died at ~1K tokens (layer 32). `GPU_MAX_HW_QUEUES=1` + `HIP_HOST_COHERENT=1` on top: same result (layer 21 at ~1K tokens). ## Resolution (update) Downgrading the wheels from **7.14.0a20260612 to 7.13.0a20260515** (same `gfx103X-all` index) and rebuilding the engine fixed it. Two long generations (~9.7K and ~7.5K tokens, both `finish: stop`) ran clean at 43-46 tok/s with zero stalls, with `HSA_ENABLE_SDMA=0` + `STRATA_VERIFY_COHERENT=1` + `STRATA_DOORBELL_STORE=1`. This points at a regression in the 7.14 gfx103X wheels rather than the SDMA path alone; 7.14.0a20260611 was not tried.
Author
Owner

@ChenCui26 commented on GitHub (Oct 6, 2026):

Update after downgrading the wheels: ROCm 7.13.0a20260515 (gfx103X-all TheRock wheels) + engine rebuild fixes it. On 7.14.0a20260612 the 12K-token stress test died at ~1K tokens with the same timeout; on 7.13, two long generations (~9.7K and ~7.5K tokens, finish: stop) ran clean at 43-46 tok/s with zero stalls (same HSA_ENABLE_SDMA=0 + STRATA_VERIFY_COHERENT=1 + STRATA_DOORBELL_STORE=1 env). So the intermittent stall looks like a 7.14 gfx103X wheels regression, not (only) the SDMA path.

<!-- gh-comment-id:6016164130 --> @ChenCui26 commented on GitHub (Oct 6, 2026): Update after downgrading the wheels: **ROCm 7.13.0a20260515** (`gfx103X-all` TheRock wheels) + engine rebuild fixes it. On 7.14.0a20260612 the 12K-token stress test died at ~1K tokens with the same timeout; on 7.13, two long generations (~9.7K and ~7.5K tokens, finish: stop) ran clean at 43-46 tok/s with zero stalls (same `HSA_ENABLE_SDMA=0` + `STRATA_VERIFY_COHERENT=1` + `STRATA_DOORBELL_STORE=1` env). So the intermittent stall looks like a 7.14 gfx103X wheels regression, not (only) the SDMA path.
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Fixed in 0.1.40.2: setup no longer uses one ROCm wheel for every card. The version is chosen per GPU family from what that family's TheRock index really lists: gfx103X-all now gets 7.13.0a20260515 (the version you found clean; the 7.14 nightlies are not used), and if a pinned version ever disappears from an index, setup takes the newest one of the same 7.x line (else the same major) and says so. STRATA_ROCM_VERSION still forces an exact version. I could only check the install path on gfx120X (RX 9070 class), so could you run setup --backend hip on your RX 6800 XT with 0.1.40.2 and tell us whether the verify timeouts are gone?

<!-- gh-comment-id:6037999388 --> @Niko1221 commented on GitHub (Oct 7, 2026): Fixed in 0.1.40.2: setup no longer uses one ROCm wheel for every card. The version is chosen per GPU family from what that family's TheRock index really lists: gfx103X-all now gets 7.13.0a20260515 (the version you found clean; the 7.14 nightlies are not used), and if a pinned version ever disappears from an index, setup takes the newest one of the same 7.x line (else the same major) and says so. STRATA_ROCM_VERSION still forces an exact version. I could only check the install path on gfx120X (RX 9070 class), so could you run `setup --backend hip` on your RX 6800 XT with 0.1.40.2 and tell us whether the verify timeouts are gone?
Author
Owner

@Niko1221 commented on GitHub (Oct 13, 2026):

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6156015679 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
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#469
No description provided.