mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2947] Qwen3.6 2-bit GSQ-hybrid (Q2_0 experts) crashes 0xC0000005 in the hybrid CPU expert pool; Windows HIP (RX 7800 XT) #1189
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#1189
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 @wanlemur on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2947
I wanted to test whether Strata can run the 2-bit GSQ quant of Qwen3.6-35B-A3B (chitsgit/Qwen3.6-35B-A3B-2Bit-GSQ-hybrid-GGUF, Q2_0 routed experts). The engine already runs Q2_0 for Qwen3.8-Flash-Next, and Qwen3.6 is the same model family/architecture, so the q36 path should handle it too.
It loads and works when every routed expert fits in VRAM, but crashes with 0xC0000005 in ~7 threads whenever the engine runs it in hybrid mode (some experts on the CPU pool). The same engine, machine, and config run the official UD-Q4_K_XL in hybrid mode without any problem, so this looks specific to Q2_0 experts in the q36 hybrid CPU path.
Note: the GGUF loads in Strata only after I patched its metadata by hand, so the file is NOT byte-identical to what chtisgit published. Two things the engine did not accept from the stock file:
qwen35moerequireqwen35moe.nextn_predict_layers. I added it with value 0.ffn_gate_inp_shexp.weightis stored as[2048, 1]; the layout check wanted a plain[2048]. I rewrote the shape.After the patches, the engine reports 733 tensors (layout checked).
The crash: only in hybrid mode
At
--max-context 65536the engine keeps the packed Q8_0 decode copies and runs hybrid mode:Then
Exception Code: 0xC0000005(x7):--prefill auto:16384and--prefill 4096, and with different hybrid splits (155/256 in VRAM in one run, 107/256 in the other), so it does not look like a VRAM/staging fit problem.hybrid experts:line, during load warm-up, before anywarmed upline.One-flag repro: at
--max-context 32768the engine itself avoids hybrid mode ("the packed Q8_0 decode copies (1.75 GiB) given back so that every routed expert fits in VRAM") and everything runs. So hybrid on = crash, hybrid off = works.Same GSQ-hybrid file, all experts in VRAM (
--max-context 32768, the engine gives back the packed copies) — fully working, benchmarked:.
Environment