mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1478] gfx1201 (R9700): the gfx1151 prompt switches in arch_defaults.cpp are exact and +4-8% prompt; suggest a gfx12 entry (decode half is slower) #593
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#593
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 @jkuepker on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1478
src/core/arch_defaults.cppturns on a list of speed switches only whengfx_arch_is_gfx1151()is true. The comment calls them bitwise-exact on gfx1151. I tried them on an R9700 (gfx1201). The prompt half is exact here too and gives +4 to +8% prompt speed. The decode half is exact but slower on this card.Prompt (localeval, 3 reps, medians, same session):
STRATA_GDN_HEAD=1 STRATA_GDN_PP=2 STRATA_GDN_CONVL2=1 STRATA_GDN_NOY=1 STRATA_CVEC_FUSE=1 STRATA_HCD_EXACT=1Decode (3 fixed greedy prompts, 300 tokens, 3 rounds through the server; spread between server starts is 0.1-0.2%):
Q8_PACKED Q6_PACKED MMVF_ROWS ATTN_LANECELL EXPERT_V2 TSUM LFUSE GDN_SPLIT QFUSE)STRATA_SH_STREAM=1Suggestion: add a gfx1201 (or gfx12) entry to
arch_default_envwith only the six prompt switches above.STRATA_PF_PADcan stay out because it does nothing withoutSTRATA_PF_GEMM. Keep the decode switches gfx1151-only. I measured one card and one model (Coder IQ1_M). Q2_0/IQ3 packs on gfx1201 were not checked.Environment: Strata v0.1.40.3 (
d5ea713), Linux, AMD Radeon AI PRO R9700 (gfx1201, 32 GB), Ryzen 9 9900X, 30 GB RAM, TheRock ROCm 7.14.0a20260612 (STRATA_ROCM_VERSION), Coder IQ1_M,--resident-experts,STRATA_HIP_WMMA=1,--prefill auto:32768, all 12,288 experts in VRAM.Quality check used for every variant: greedy needle retrieval at ~4K / ~16K / ~57K tokens plus a code task. All 4 pass, and the 4 answer hashes are identical to the baseline.
@Niko1221 commented on GitHub (Oct 10, 2026):
Thanks for the measurements. We reproduced it on an R9700 (gfx1201, IQ3_S): GDN_HEAD, GDN_PP=2, GDN_CONVL2, GDN_NOY and CVEC_FUSE give a bit-identical final residual at 4K and 16K and are now on by default on gfx1200/gfx1201 (STRATA_GFX12_DEFAULTS=0 turns them off). Gain on our model and config is smaller than yours: +0.8% / +1.6% / +1.8% at 4K / 16K / 32K (10 interleaved pairs, faster in 27 of 29). STRATA_HCD_EXACT is left out: it needs the gfx1151 hipBLASLt table, finds none on gfx12 and does nothing. The decode switches stay gfx1151-only. In v0.1.42.
@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.