mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1277] HIP: fused IQ expert kernels via RDNA4 int8 WMMA (RX 9060 XT / gfx1200) #525
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#525
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 @slogomansdad on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1277
The fused int8 expert kernels (
STRATA_PF_FUSED,src/prefill/moe_fused*.cu) are sm_80+ CUDA-only; on HIP,IQ packs (IQ2_XS / IQ3_XXS) fall back to MMQ for the prompt path's expert compute. RDNA4 (gfx1200/gfx1201)
has the hardware for the fused approach —
v_wmma_f32_16x16x16_iu8(int8 WMMA) — and the primitive is alreadyproven in this codebase:
STRATA_HIP_WMMAruns the prompt attention onv_wmma_f32_16x16x16_f16at 7.2-7.5x theportable kernel on gfx12 (PR #329's kernel).
0.1.40 shipped RDNA3.5 matrix-core GEMM kernels (#313) and the gfx1151 auto-switches, which is why this seems
like the natural next step in the same direction: a HIP build of the fused IQ expert path against RDNA4's int8
WMMA, with MMQ as the fallback it already is.
Expected gain (from the NVIDIA measurements in 0.1.36): IQ2_XS prompts +12% at 4K, +3% at 32K. On gfx1200 the
MMQ-vs-WMMA gap has never been measured — that's part of the request.
Card and numbers for reference: RX 9060 XT 16 GB (gfx1200), Windows 11, Ryzen 7 5700X (AVX2, 8C/16T),
32 GB DDR4, NVMe. Current state on 0.1.40.1, IQ3_XXS at 128K, tuned config (budget 15 GiB + KV streaming +
WMMA + calibrated hipBLASLt table): prefill 592 tok/s at 126K / ~508 at 13.5K, decode 22.3 tok/s at 126K /
28.6-30.3 short. GPU compute engine sits at 91-92% utilization during decode (sampled via GPU Engine
counters).
@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.