mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5152] [Engine] Qwen3.8-Flash-Next: deterministic SIGSEGV (libamdhip64, strata-host, CPU 0) on first chat request with 4x R9700 layer split (engines 0.1.48 and 0.1.56) #3064
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#3064
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 @matholland618 on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5152
Summary
On a 4× AMD AI PRO R9700 (gfx1201) box, any Qwen3.8-Flash-Next model loaded with
--layer-split autoacross all four cards boots completely —session is up, verify windows captured,/v1/modelsreportsloaded— and then the first/v1/chat/completionsrequest kills the engine with a segfault inside the HIP runtime. The crash is 100% deterministic (8+ reproductions) with an identical fault site every time. The same model, same args, same engine binaries on 2 cards (gpu [0,1]) serve fine (87.5 tok/s decode measured the same day at ~35K-token prompts).Kernel signature (identical every crash)
Null-pointer dereference (address
0x18) at the same offset inlibamdhip64.so.7every time, always CPU 0 / socket 0.What does NOT change the outcome (all crash identically)
--spec 4 --spec-min-p 0.5) and DFlash2 (--draft dflash2 ... --spec 6 --draft-conf 0.35)strata serveand the legacyserve/server.pywrapperSTRATA_HIP_QUEUE_PRIME=0verify: timed out at layer 33; its GPU waits were released and the GPU finished (#267)on the same path before crashing the same way)What DOES work (the boundaries)
gpu [0,1]+--layer-split auto): serves fine — 87.5 tok/s decode, ~77% draft acceptance, ~2.9–3.5K tok/s prefill.Repro (simplest form)
Engine 0.1.56, Qwen3.8-Flash-Next GSQ-RCO IQ3_S:
Wait for
session is up (engine 0.1.56)in the log, then send one chat completion → SIGSEGV (fault site above in dmesg).Environment
MAP_HUGETLBcleanly,cudaHostRegister PORTABLE ok; hugetlb 2 MB pages)RUNPATH $ORIGIN, bundled ROCm libs)strata install --family unsloth --model UD-Q4_K_XL --gpus all --context 262144 --kv int8 --drafter mtp --no-start --yes) + engine component from the signed feed (sequence 120); configgpu [0,1,2,3],layer_split autoNotes for triage
engine had stoppedlines in the wrapper output and check dmesg.Happy to provide anything else needed to reproduce on a 4× R9700 setup.
@github-actions[bot] commented on GitHub (Nov 3, 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
@github-actions[bot] commented on GitHub (Nov 3, 2026):
Thanks, this follows the format now.