mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5430] [Engine] gfx1201/Windows: matrix-core prompt attention (STRATA_HIP_WMMA) is still opt-in 'until tested on Windows' — ~10x prompt speed left on the table on RX 9070 XT #3245
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#3245
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 @il-freewind on GitHub (Nov 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5430
What happened
On Windows with gfx1201 (Radeon RX 9070 XT), the engine still opts out of matrix-core prompt attention by default. Every start prints:
This string is still present in the 0.1.57
windows-x86_64-hip-rx9070engine and in the live engine log. The message says "until tested on Windows" — this report is that test data point, offered so the default (or at least a visible switch) can be considered.Measured on this machine (Qwen3.8-Flash-Next IQ3_S, ~83 GB, 128K context, KV int8, engine 0.1.47→0.1.57):
STRATA_HIP_WMMA=1(+STRATA_PF_FUSED=0)On 0.1.57 the combo runs stably (session up, first start succeeds, generation fine).
The companion variable, not retested destructively
On 0.1.47,
STRATA_HIP_WMMA=1withoutSTRATA_PF_FUSED=0crashed the engine on the first large prefill (hipModuleUnload failed: unspecified launch failure, exit 1). 0.1.57 ships new fused-prefill variants (STRATA_PF_FUSED_KQ/_IQ2S/_NATIVEare visible in the binary), but I have not re-run the destructive crash test withoutSTRATA_PF_FUSED=0, so I can't say whether the companion var is still required. If you consider flipping the WMMA default, that interaction is the thing to test first.Suggestion
Two non-exclusive options:
tune_knobs.pydeliberately excludesSTRATA_HIP_WMMAfrom autotuning ("it changes the numbers — a quality setting"), so it stays an undocumented env var that Windows users have to find in the engine log.Related: the closed #3750 (its engine-side remainder). Autotune's exclusion note and the log message both suggest the quality delta is the blocker; on this card I haven't seen answer-quality complaints at temperature 0 in casual use, but I have not run a KL/top-1 comparison.
Strata version
App 0.2.11, control 0.1.57, engine 0.1.57-windows-x86_64-hip-rx9070 (feed sequence 121).
Graphics card, memory and system
AMD Radeon RX 9070 XT (gfx1201), 16 GB VRAM, 64 GB RAM, Windows 11 (10.0.26200), driver-side HIP runtime as bundled with the engine.
@github-actions[bot] commented on GitHub (Nov 6, 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:
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