mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2374] gfx1011 (Navi 12) on real hardware: 96/105 ctest pass; hip_q2_zero fails, fixed by adding __gfx1011__ to the Q2_0 signed-zero workaround #960
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#960
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 @andyelka-creator on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2374
docs/OLDER_GPUS.mdlists gfx1011 as "untested on hardware". Here is a hardware run.Hardware / software
a0116b2rocm[libraries,devel]==7.14.0a20260608, indexhttps://rocm.nightlies.amd.com/v2/gfx101X-dgpu/-DSTRATA_ENABLE_HIP=ON -DSTRATA_ENABLE_CUDA=OFF -DSTRATA_BUILD_TESTS=ON -DSTRATA_PREFILL_MMQ=ON -DCMAKE_HIP_ARCHITECTURES=gfx1011Results
strata-device:HIP arch gfx1011 wave32 (compiled for gfx1011), 18 CUs, 7.984 GiB VRAM.ctest, run separately on each card (HIP_VISIBLE_DEVICES=0/1/2), withple_parityandplatform_memory_testexcluded: identical on all three cards — 96 passed, 8 skipped, 1 failed out of 105, ~170–180 s per card. No amdgpu errors in the kernel log.hip_prefill_wmma_gemm_parity,hip_prefill_hcd_exact_parity,hip_prompt_attn_wmma(no WMMA on RDNA1),hip_prefill_hipblaslt_gemm,hip_prefill_fused_moe,hip_prefill_fused_iq,expert_cache_segmented_test,expert_multi_test.hip_q2_zero:Cause and fix
This is the same signed-zero folding the guard in
dq_q2_0(src/kernels/cuda/iq_kernels.cu) already works around for gfx1012 on HIP < 7, gfx1151 and gfx1200/gfx1201. gfx1011 is not in that list, and with ROCm 7.14 it shows the same behaviour. Adding it fixes the test on all three cards (1024 values, 0 failures):Since gfx1011 still folds on HIP 7.14, gfx1012 on HIP ≥ 7 may need the guard too. I have no gfx1012 card to check.
Not tested: running a model. This box has 16 GB of RAM, below the documented minimum. The memory planner (
--max-context 20480) reports a 4105-slot expert cache (5.68 GB) plus 0.27 GB KV, which fits a single 8 GB card.Small doc note:
OLDER_GPUS.mdsays gfx1011 is "the same RDNA1 ISA as gfx1010 (Navi 12)". Navi 12 is gfx1011 itself; gfx1010 is Navi 10.@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.
@andyelka-creator commented on GitHub (Oct 20, 2026):
Re-tested on 0.2.0-beta (commit
3d1fb480), same 3× BC-160 (gfx1011), same ROCm 7.14 wheels:hip_q2_zerogives 1024 values, 0 failures on all three cards. Fixed, no need to reopen. Thanks!A new HIP virtual memory failure on this build is in #3358.