Repository navigation
Description
First of all, thank you for Strata — the q4_lite engine runs Qwen4-35B-A3B well on old hardware. This is a bug report for a reproducible GPU fault on Turing (sm_75), with a controlled experiment that narrows it to the model weights' routing distribution rather than the quantization format.
Environment
- GPU: 2× NVIDIA GeForce RTX 2080 Ti (22 GB), compute capability 7.5 (Turing),
layer_split: auto - Driver 580.178.04, CUDA 13.0 build
- Engine:
strata-q4-lite0.1.74, packagestrata-q4-lite-0.1.74-linux-x86_64-cuda-cuda13.tar.gz(BUILD.jsonarchs: 75;86;89;120), thestrataprogram (qwen4exp engine, shape q4_lite) - Run config: 4 slots × 524288 context (
--batch 4 --max-context 524288 --kv int8 --kv-resident 32768),--mtp <rt> --spec 3 --spec-min-p 0.5, expert cache auto (5120 slots), MTP runtime built withtools/mtp_qwen4_rt.pyfromMTP/mtp-Qwen4-35B-A3B-Q8_0.gguf - Model files prepared with
tools/qwen4_split_gguf.py+tools/iq_pack.py --compat-bf16(trunk view 1021 tensors, trunk 40, conversions.json 382)
Symptom
Long generations (roughly >1000 tokens) fail probabilistically with a CUDA illegal-instruction fault in the verify window:
strata serve: fatal GPU error (verify: an illegal instruction was encountered): the engine ends so that the server can start it again
and, on the drafting path (same fault family):
strata mtp draft: an illegal instruction was encountered
STRATA_VERIFY_DEBUG=1 places the fault right after verify dbg: launched (i.e. during GPU execution of the captured window graph, not during capture). verify: an illegal memory access was encountered also occurred once when the batch merged-row kernels were disabled (STRATA_BATCH_ATTN_ROWS=0), suggesting more than one unsafe path in the window.
Short requests (≤700 generated tokens) never triggered it, even under 4-way concurrency.
The decisive control: base model is stable, every abliterated derivative crashes
Same engine, same GPUs, same run config, same preparation pipeline:
| Model | Weights | Quant layout | 9000-token generations |
|---|---|---|---|
| Qwen4-35B-A3B (Unsloth UD-Q4_K_XL) | base | UD (2 shards) | 0 failures / 4 runs |
| Abiray Qwen4-35B-A3B-Uncensored-abliterated-i1 | rank-1 ablation | i1-Q4_K_M (single file) | 4 failures / 4 runs |
| SC117 Qwen4-35B-A3B-abliterated-UD | rank-1 ablation | UD-Q4_K_XL (2 shards) | 4 failures / 4 runs (2/4 with --mtp off) |
| orcarouter Qwen4-35B-A3B-abliterated-Mix | rank-1 ablation | Mix (single file) | 3 failures / 4 runs |
All three ablations are the same rank-1 edit of the base model in three different quantization layouts, so the fault follows the weights (the ablation changes the MoE routing distribution), not the quant type, not the single-file vs split layout, and not MTP (crashes occur with --mtp off too, and the error also names verify rather than mtp draft). My hypothesis: some routing pattern that the ablated weights produce reaches a verify-window kernel path that is not covered on sm_75 (an instruction that only exists on sm_80+, or an arch gate that is missing). The engine's own source notes sm_75 as a fringe target in verify.cpp (#5636: copy_i32_from_mapped: "invalid instruction" ... on sm_70 / sm_75).
What we tried (none fixed the ablated models; STRATA_MMVQ_IL=0 did fix one earlier single-stream fault)
STRATA_MMVQ_IL=0— fixed a different, single-stream verify fault earlier (an illegal instruction in the multi-column IL path); crashes on the ablated models remainSTRATA_DENSE_I8_TC=0,STRATA_BATCH_ATTN_ROWS=0,STRATA_BATCH_GDN_GROUPS=0,STRATA_BATCH_SELF_COMMIT=0,STRATA_SLOT_COPY_DIRECT=0,STRATA_SLOT_COPY_BATCHSYNC=0,STRATA_SLOT_CKPT_MOVE=0,STRATA_CKPT_POOL=0,STRATA_QSA_SLOTS=0,STRATA_SELECT_WMMA=0,STRATA_SELECT_LONG=0,STRATA_QFUSE=0,STRATA_LFUSE=0— all at once, still 4/4 crashesSTRATA_MTP_Q8_SM60=1+STRATA_Q8_SM60=1(drafter projections on the Pascal GEMV) — still crashes--mtpoff +--spec 2— 2/4 crashes--kv fp16vs--kv int8— no difference--spec 1is refused for a native pack ("it needs --spec T (T >= 2)"), so the window cannot be shrunk below 2
Reproduction
- Load any of the three ablated files above with the q4_lite engine on an sm_75 card (my exact config: 4 slots, 524K context,
--kv int8 --kv-resident 32768, MTP on). - Ask for a long generation, e.g. a 9000-token
max_tokensessay request ("请写一篇散文…"works; math/reasoning prompts that drive long thinking reproduce even faster — one prompt ("a rope folded three times, then cut") crashes within ~1000 thinking tokens almost every run). - Within 4 runs, 3–4 will end with
verify: an illegal instruction was encountered; the server restarts the engine and the run continues. - Repeat with the base model (Unsloth UD-Q4_K_XL): no crash in 4 runs, 93–95 tok/s.
Happy to collect more data: STRATA_VERIFY_NODES=2 listings around the fault, a core dump, or a patched build with extra tracing — just say what would help. Thank you for looking at this!
Notes for filing (not part of the issue)
- Filed target: https://github.com/Niko1221/Strata/issues/new
- Evidence files on this machine:
/mnt/work/Strata/strata-qwen4-uncensored.log(crash lines),/mnt/work/Strata/probe3-*.md, run configs/mnt/work/Strata/strata-qwen4-uncensored.json - One earlier crash record carries ZCode's request id
220a4448-4911-4de9-9760-22e95cf18b3f(client side).
Activity
github-actions commentedon Dec 5, 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
[-]fatal GPU error (illegal instruction) in the verify window on sm_75 with abliterated Qwen4-35B-A3B models (base model stable)[/-][+][Engine] fatal GPU error (illegal instruction) in the verify window on sm_75 with abliterated Qwen4-35B-A3B models (base model stable)[/+]github-actions commentedon Dec 5, 2026
Thanks, this follows the format now.