mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2461] gfx906 + 100% expert residency: STRATA_SPLIT_OWN=1 costs decode, STRATA_PREFILL_HELP=1 does nothing #1005
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#1005
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 @kietq8684-design on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2461
Summary
On a gfx906 box whose experts are 100% resident in VRAM, two of the opt-in switches documented in
MULTI_GPU.mddo not pay off, and one of them is actively negative. The published numbers for both were taken on other
architectures (
SPLIT_OWN: R9700 + RX 9070 XT;PREFILL_HELP: 2x RTX 3090) and neither section states thatresidency changes the outcome. Reporting so the sections can carry a precondition.
Environment
0x66af) + Radeon Pro VII / Instinct MI50 16 GB (0x66a1), Ryzen 7 3700X (AVX2, no AVX-512),62 GB RAM, kernel 6.8.0-146-p2p
mixa3607/rocm-gfx906:7.14-complete; engine v0.1.42 (61b3fb5), gfx906 build--nativepack),--layer-split 27,--prefill 4096,--kv int8 --kv-resident 32768,--max-context 32768,--pcie-frac 0,--pipeline-windows 2,--ple-row-cache 8388608,--spec 4 --spec-min-p 0.7STRATA_ARENA_MMAP=1 STRATA_STAGE_TRIM=1 STRATA_GFX906_ATTN_QUERY_SWIZZLE=1 STRATA_GFX906_ATTN_REDUCE12=1Method
Interleaved A/B (
A1 B1 A2 B2 A3 B3), one independent restart per arm, 3 runs per arm per prompt length,n=9/arm/length, 4K = 4,589 prompt tokens, 16K = 18,010 prompt tokens,
temperature=0, unique nonce per request.Interleaving is necessary on this box: two runs of the same binary 1.5 h apart differ by ~2%. Prefill is kept
as a control column (it should not move). Reported values are medians.
STRATA_SPLIT_OWN=1— prefill barely moves, decode dropsStructural evidence: the expert cache falls from 6,889 to 5,353 slots (−22%, −2.82 GiB), because each card now
keeps its own ~3,264 MiB prompt buffers.
SPLIT_OWN=1MULTI_GPU.md:80reports 2K 1,450 / 16K 2,227 tok/s there with "decode unchanged". On gfx906 the prefill gain is+0.8–2.2% instead of ~+14%, and the cache it costs is what decode needs. Decode is the primary metric for this
deployment, so we leave it off. Suggestion: state in that section that the flag trades expert cache for prompt
buffers, and that on a card whose cache is the binding constraint the decode cost can exceed the prefill gain.
STRATA_PREFILL_HELP=1— no effect at all1.5K prefill 415.1 vs 419.7 tok/s (−1.1%), 3K 460.1 vs 460.0 (flat), n=3/arm. The decode deltas
(+4% / −4.5%) contradict each other and the flag only touches the prompt path, so they are noise.
Mechanism as we understand it: the flag hands "a share of its streamed experts" to the idle card
(
MULTI_GPU.md:85). WithSTRATA_STAGE_TRIM=1every expert is resident, so the prompt path streams essentiallynothing — the work it is meant to offload does not exist. Suggestion: add "requires non-resident (streamed)
experts" as a precondition to that section, next to the existing MMQ/
--peer-devicenotes.For completeness,
STRATA_GR_SPLIT=1AMD_HIP.md:494gives it "~3% per window". End to end we measure 4K +0.8% / 16K −1.6% (prefill flat, n=9) —within noise. That may just be a per-window vs end-to-end distinction rather than a disagreement, so flagging it
only as a data point.
Not a claim
This says nothing about the flags on the architectures they were measured on; it is one gfx906 box with a fully
resident expert cache.
@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.