mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4431] [Engine] gfx1100 + gfx1201 layer split: prefill dies with gr_mix_r: no kernel image is available on engine 0.1.52 (HIP) #1980
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#1980
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 @runningman84 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4431
The problem
On a dual-GPU AMD system (RX 7900 XTX, gfx1100, + RX 9070 XT, gfx1201), a 2-stage layer split starts and loads both cards, then the first prompt kills the process during prefill:
The engine exits before generating a single token.
The result
A
gfx1100 + gfx1201pair that works fine on a single card each (and is benchmarked as supported in #3933) cannot run the Qwen3.8-Flash-Next native pack with--layer-split auto: every multi-chunk prompt on the mixed split fails the same way, and there is no flag combination I have found that keeps it alive. Two identical reproductions are in the same log (runs of 2026-10-27 21:03 and 21:05): the first ends with both lines (log 248-250), the second with thegr_mix_rline (log 325) where the capture stops.Reproduction
Local source build, engine 0.1.52,
backend = hip,archs = ["gfx1100", "gfx1201"](engine/BUILD.json), Linux.Command (no
STRATA_*environment variables set):What the log shows before the crash:
layer split across 2 GPUs: CUDA0, then CUDA1 (split auto)— the two stages (the log labels themCUDA032 SMs @ 2.40 GHz andCUDA142 SMs @ 2.02 GHz; these are the engine's device labels, one gfx1100 and one gfx1201) take layers 0-12 and 13-47 + head respectively, one hand-off per window.prompt experts on the fused int8 kernels (STRATA_PF_FUSED=1, #136)— the default for this build.Validation (what I ran):
prompt 13816 tokens = 0 reused + 13816 read in 12698 ms (1088.0 tok/s), 87 generated), so each card alone is fine.--layer-split autoruns above, identical error.STRATA_PF_FUSED=0,STRATA_HIP_WMMA=0, and a single-chunk prompt (< 8192 tokens) — I can run those if they would help narrow it down.The approach (static reading of 0.1.52 source, unconfirmed)
This looks like the same class as the now-closed #690 and #1772 (both "no kernel image is available" on a mixed-arch split), plus the mechanism described in still-open #2706: per-stage architecture decisions are cached process-wide.
gr_upmix's dispatch reads the current device's arch into astatic const bool gfx11(src/prefill/kernels.cu:2584), so whichever device initializes it first defines the value for every stage — the exact mechanism #2706 describes forSTRATA_HC_UPMIX.cudaGetLastError, so it can report an earlier launch that failed)."gr_mix_r'scheck("gr_mix_r")is such a late error check, so the line naminggr_mix_ris the first sync point after whatever failed, not proof thatgr_mix_ris the bad launch.STRATA_MMQ_TABline is printed only by the pointer-table MMQ stubs (src/prefill/moe_mmq.cu:288 and :637), whichstd::exit(1). I could not confirm how that path is reached on this build: withSTRATA_MMQ_DIRECTunset,direct_mode()is 0,gu.tabis never set (prefill.cpp:5330/5347), and thedirect_mode()announcement ("prompt MMQ reads resident experts in place") never appears in the log. So either (a) the "no kernel image" failure cascades into this stub through a path I have not traced, or (b) something in my launch environment enables the pointer-table path despite the missing announcement. I have checked~/.bashrc,~/.profileand the launch config forSTRATA_MMQ_*and found none.The limits
CUDA0/CUDA1in the log are the engine's device labels; both are AMD cards under the HIP backend (no NVIDIA hardware involved).strata-iq3_xxs.logis available if you want it; I have left it out of the issue body.Related: #690, #703, #1208, #1772 (closed; still reproducing on gfx1102 + gfx1201 per its last comment), #2706, #2230, #3933.
@lwYeo commented on GitHub (Oct 31, 2026):
Please include support for RDNA2 as well.
Currently using 6800XT (gfx1030) and R9700 (gfx1201) in Windows environment.