mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2666] Peer-expert tier (--peer-device 1) crashes on first prompt: "iq_dequant_gu_f16: an illegal memory access" #1057
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#1057
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 @CaptRauti on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2666
Bug: two-GPU peer-expert tier (
--peer-device 1) crashes on the first prompt — "iq_dequant_gu_f16: an illegal memory access"Engine: 0.1.41 (locally built for this CPU)
OS: Windows 11 (WDDM)
Hardware: 2x NVIDIA RTX 3060 12 GB, Intel Xeon E5-2697 v2 (no AVX2), 128 GB RAM
Model: swift-1.5-iq2_xs (Qwen3.8-Flash-Next MoE), context 128000, KV q4_0,
--kv-resident 32768,STRATA_ARENA_PIN_GIB=26Reproduction
Run on two GPUs (config
gpu: [0, 1]) with--peer-device 1, so CUDA1 becomes an adaptive expert-cache tier instead of a layer split. The engine starts cleanly and fills the peer tier, but the first ~5.3k-token prompt crashes it deterministically:Crash site:
src/prefill/prefill.cpp:3679(iq_dequant_gu_f16on the P6 native-pack dequant path).Not a VRAM-shortage (already ruled out)
All three crash identically on the same first prompt:
--vram-reserve-mib 700(baseline): 443 MiB free on CUDA0, peer card 0 MiB free--vram-reserve-mib 1800(primary reserve raised): 1497 MiB free on CUDA0 — same crash--prefill auto:8192(smaller prompt chunks, per the engine's own startup hint) +--peer-reserve-mib 1200: same crash, peer card 679 MiB freeWith no peer tier the same model+prompts run fine on the same two cards as a layer split.
Why this matters
The peer tier is a big win for small cards: primary 3353 + peer 7723 = 11076 of 24576 experts on the GPUs, versus ~5,700 on the two-card layer split for the same model. If the peer prefill path could run without the illegal access, small-VRAM dual-GPU boxes would get a substantial decode lift.
Repro args:
--serve --pack ... --expert-cache auto --prefill auto:32768 --spec 4 --spec-min-p 0.5 --mtp ... --max-context 128000 --kv q4_0 --kv-resident 32768 --peer-device 1Happy to attach the full engine logs or run further diagnostics.
@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.