mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#521
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 @Vop3p on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1272
On the 2x RX 6900 XT machine from #816 (gfx1030, Linux, Ubuntu 26.04 / Linux 7.0 / ROCm 10.0.0, Qwen3.8-Flash-Next GSQ-RCO IQ3_S,
--kv int8 --kv-resident 32768 --max-context 131072 --spec 4), the 0.1.40 default - the shared-expert stream fork off on HIP - costs decode, the opposite of the RX 6800 / Windows report that led to it. Two measurements, both on a clean build of 0.1.40.1 (82f46a8), cold server per arm, temperature 0:The switch alone (the same 50,517-token prompt, 256 tokens, three requests per arm, decode median of 3):
STRATA_SH_STREAM=1The full matrix (the repository's
benchmark.py, 4,096 / 32,768 / 128,000 tokens x 3, adaptive swaps on;STRATA_HIP_PROMPT_F16=1is on in the second arm as well, which does not touch decode): decode 47.5 / 46.9 / 48.3 -> 50.5 / 48.5 / 51.3 tok/s on one card, 62.1 / 67.0 / 59.0 -> 70.4 / 73.3 / 64.7 on the split, 71.3 / 66.4 / 63.9 -> 74.9 / 71.5 / 68.7 with the helper - 5-13%. The whole run is in the community report filed today (the folderbench/results/2026-10-06-community-2x-rx-6900xt-0.1.40.1).The fork and #884. If the default was chosen partly because the fork is one of the stall's ingredients: on this machine, with GFXOFF at the kernel's default and the same request sequence that stalls 0.1.39 in 7 of 8 runs with the fork on (helper mode, prompts up to 32K, adaptive swaps on), 0.1.40.1 with
STRATA_SH_STREAM=1stalled in 0 of 8, measured the same afternoon, alternating. At 128,000-token prompts on the layer split, 0.1.40.1 stalls with the fork off (stock) and on alike - two runs, two stalls each, all while reading the prompt - and not at all with GFXOFF disabled (six two-card runs, 54 requests). So here the fork does not decide the stall; the power-gating state does. Details are in #884.Since the sign of the switch differs between an RX 6800 on Windows and an RX 6900 XT on Linux, the default may need to be per platform, or measured:
calibrate.pycould add the fork as an arm and keep whichever is faster on the card at hand. Happy to write that PR if you want it, and to run anything else that helps decide.Developed with an AI coding assistant; every number above was measured on 2x RX 6900 XT (gfx1030, PCIe 4.0 x8 each) / Ryzen 5 5600X, ROCm 10.0.
@Niko1221 commented on GitHub (Oct 7, 2026):
Thank you for the careful numbers (5-13% on 2x RX 6900 XT under Linux, and the 0 of 8 stalls with the fork on). We kept the default, because the RX 6800 on Windows (#816) was 12-22% slower with the fork on and the 4x R9700 was 13-45% faster with it off. docs/AMD_HIP.md now has a note with all three measurements: Linux RX 6000 users can try STRATA_SH_STREAM=1, and the output is identical either way. A per-card choice in calibrate.py is still open, so we are leaving this issue open.
@Vop3p commented on GitHub (Oct 11, 2026):
The per-card choice is in #1992:
./setup.sh --calibrateon AMD now measures the fork off against on (a restart each) and writesSTRATA_SH_STREAM=1into the config only when it wins by more than 3%; the HIP default stays off. On this machine (0.1.42, IQ3_S layer split) it chose the fork: 62.2 / 61.3 -> 67.2 / 66.6 tok/s.Developed with an AI coding assistant; every number above was measured on 2x RX 6900 XT (gfx1030, PCIe 4.0 x8 each) / Ryzen 5 5600X, ROCm 10.0.
@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.