[GH-ISSUE #3134] Random "verify: layer N never rang (an illegal instruction was encountered)" crashes in MTP/verify path — also kills the whole engine (exit code 1) #1259

Closed
opened 2026-11-04 01:49:49 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @Justsoso-W on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3134

issue-github-en.md
issue-github-zh.md

Summary

On a Windows + CUDA 12 Strata build, speculative decoding (MTP) randomly crashes mid-generation with verify: layer N never rang (an illegal instruction was encountered). The layer index N differs on every crash (observed: 2, 12, 17, 25, 26, 41, 44). In most cases the affected request returns HTTP 400 and the engine keeps serving, but sometimes the entire engine process dies with exit code 1 and has to be restarted (~60s reload). The crash also breaks setup.py --calibrate.

Environment

  • Engine: Strata CUDA 12 build, 0.1.44.1 (also reproduced on the older 0.1.41 build on Oct 13)

  • GPU: RTX 3080 Ti Laptop 16GB (PCIe Gen3 x16, no ReBar), driver 576.28 (using the --cuda 12 engine path)

  • CPU: Xeon E5-2696 v3 (Haswell, no AVX-512), 128GB DDR3L-1600 quad-channel

  • OS: Windows 11

  • Model: Qwen3.8-Flash-Next IQ3_S, --kv int8, --mtp rt, --spec 4, max-context 262144

  • Engine flags:

    --expert-cache auto --prefill auto:8192 --kv-resident 8192 --spec-min-p 0.70 \
    --pool-workers 17 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97 \
    --vram-reserve-mib 1472 --adapt-async 1
    
  • Env vars: STRATA_PIN_BY_NEED=1 STRATA_ARENA_PIN_GIB=40 (2 MiB large pages confirmed working)

Steps to Reproduce

  1. Launch the engine on the hardware above with the flags listed in Environment.
  2. Enable MTP / speculative decoding (--mtp rt --spec 4).
  3. Send a continuous stream of chat / inference requests to the server (single request is not enough; the crash is random).
  4. Observe the server logs and HTTP responses.
  5. (Optional) Run setup.py --calibrate; note that round 1/3 (PCIe share) completes and the same error then aborts the run.

Expected Behavior

  • Every request completes successfully and returns a valid response.
  • The engine process stays alive across requests.
  • setup.py --calibrate runs to completion.

Actual Behavior

  1. Random requests fail mid-generation with:

    verify: layer N never rang (an illegal instruction was encountered)
    

    N changes every time. The server returns HTTP 400 for that request; the engine usually keeps serving afterwards.

  2. Sometimes the whole engine process exits (exit code 1) right after a suffix drafts log line; the server restarts it on the next request (~60s reload).

  3. Frequency is roughly 1 crash per 15–20 requests with --pool-workers 17. With --pool-workers 24 it crashed 3 requests in a row, so higher worker counts make it much more likely.

  4. setup.py --calibrate is also broken: round 1/3 completes, then the same error kills the tuning ("layer 2 never rang").

Frequency & Trigger Factors

Condition Observed behavior
--pool-workers 17 ~1 crash per 15–20 requests
--pool-workers 24 3 consecutive crashes in a row
3-channel vs 4-channel RAM occurs on both
with / without --pcie-frac occurs on both
engine 0.1.41 and 0.1.44.1 occurs on both

The crash is not tied to a specific config change — it reproduces across versions, RAM layouts, and flags.

Additional Observations

  • Crash sites in the server log always mention either verify: or suffix drafts: — i.e. the draft / MTP verification path.
  • Apart from the crash, throughput is excellent and stable between crashes (~46 tok/s warm decode, 69% cache hit on the 16GB card).
  • The CPU is a Haswell part without AVX-512; worth noting in case the illegal-instruction fault is CPU-side (a SIMD opcode the CPU cannot execute) rather than GPU-side.

Logs / Further Help

I can provide full server logs on request (strata-iq3_s.log is ~400KB per day) and am happy to run any test build or additional diagnostics you suggest.

Originally created by @Justsoso-W on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3134 [issue-github-en.md](https://github.com/user-attachments/files/33653973/issue-github-en.md) [issue-github-zh.md](https://github.com/user-attachments/files/33653974/issue-github-zh.md) ## Summary On a Windows + CUDA 12 Strata build, speculative decoding (MTP) randomly crashes mid-generation with `verify: layer N never rang (an illegal instruction was encountered)`. The layer index `N` differs on every crash (observed: 2, 12, 17, 25, 26, 41, 44). In most cases the affected request returns HTTP 400 and the engine keeps serving, but sometimes the entire engine process dies with exit code 1 and has to be restarted (~60s reload). The crash also breaks `setup.py --calibrate`. ## Environment - **Engine:** Strata CUDA 12 build, `0.1.44.1` (also reproduced on the older `0.1.41` build on Oct 13) - **GPU:** RTX 3080 Ti Laptop 16GB (PCIe Gen3 x16, no ReBar), driver **576.28** (using the `--cuda 12` engine path) - **CPU:** Xeon E5-2696 v3 (Haswell, no AVX-512), 128GB DDR3L-1600 quad-channel - **OS:** Windows 11 - **Model:** `Qwen3.8-Flash-Next` IQ3_S, `--kv int8`, `--mtp rt`, `--spec 4`, max-context 262144 - **Engine flags:** ``` --expert-cache auto --prefill auto:8192 --kv-resident 8192 --spec-min-p 0.70 \ --pool-workers 17 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97 \ --vram-reserve-mib 1472 --adapt-async 1 ``` - **Env vars:** `STRATA_PIN_BY_NEED=1 STRATA_ARENA_PIN_GIB=40` (2 MiB large pages confirmed working) ## Steps to Reproduce 1. Launch the engine on the hardware above with the flags listed in **Environment**. 2. Enable MTP / speculative decoding (`--mtp rt --spec 4`). 3. Send a continuous stream of chat / inference requests to the server (single request is not enough; the crash is random). 4. Observe the server logs and HTTP responses. 5. (Optional) Run `setup.py --calibrate`; note that round 1/3 (PCIe share) completes and the same error then aborts the run. ## Expected Behavior - Every request completes successfully and returns a valid response. - The engine process stays alive across requests. - `setup.py --calibrate` runs to completion. ## Actual Behavior 1. Random requests fail mid-generation with: ``` verify: layer N never rang (an illegal instruction was encountered) ``` `N` changes every time. The server returns HTTP 400 for that request; the engine usually keeps serving afterwards. 2. Sometimes the whole engine process exits (exit code 1) right after a `suffix drafts` log line; the server restarts it on the next request (~60s reload). 3. Frequency is roughly **1 crash per 15–20 requests** with `--pool-workers 17`. With `--pool-workers 24` it crashed **3 requests in a row**, so higher worker counts make it much more likely. 4. `setup.py --calibrate` is also broken: round 1/3 completes, then the same error kills the tuning ("layer 2 never rang"). ## Frequency & Trigger Factors | Condition | Observed behavior | | ------------------------------ | ------------------------------ | | `--pool-workers 17` | ~1 crash per 15–20 requests | | `--pool-workers 24` | 3 consecutive crashes in a row | | 3-channel vs 4-channel RAM | occurs on both | | with / without `--pcie-frac` | occurs on both | | engine `0.1.41` and `0.1.44.1` | occurs on both | The crash is **not** tied to a specific config change — it reproduces across versions, RAM layouts, and flags. ## Additional Observations - Crash sites in the server log always mention either `verify:` or `suffix drafts:` — i.e. the draft / MTP verification path. - Apart from the crash, throughput is excellent and stable between crashes (~46 tok/s warm decode, 69% cache hit on the 16GB card). - The CPU is a Haswell part without AVX-512; worth noting in case the illegal-instruction fault is CPU-side (a SIMD opcode the CPU cannot execute) rather than GPU-side. ## Logs / Further Help I can provide full server logs on request (`strata-iq3_s.log` is ~400KB per day) and am happy to run any test build or additional diagnostics you suggest.
Author
Owner

@Justsoso-W commented on GitHub (Oct 19, 2026):

issue-draft.md

<!-- gh-comment-id:6262134489 --> @Justsoso-W commented on GitHub (Oct 19, 2026): [issue-draft.md](https://github.com/user-attachments/files/33654055/issue-draft.md)
Author
Owner

@dandandelion commented on GitHub (Oct 19, 2026):

Having this issue also. Same RTX 3080 ti laptop on Gen4x8

<!-- gh-comment-id:6262848999 --> @dandandelion commented on GitHub (Oct 19, 2026): Having this issue also. Same RTX 3080 ti laptop on Gen4x8
Author
Owner

@dandandelion commented on GitHub (Oct 19, 2026):

Following up from the other RTX 3080 Ti Laptop (my comment above). Fedora 44, not Windows - and since yesterday our build has had STRATA_VERIFY_TRACE=1 on, which dumps the host handshake ring and the GPU's per-layer stage stamps on any fatal window. That has now caught three fatal windows that all die in the same place, plus a GPU coredump on an earlier state of this box that names a kernel. Sharing it in case it narrows things for you.

Our box and our rate

  this box
engine 0.1.44.1 (source hash 7dfd34378bd2d32a), CUDA 13 build path
GPU / link RTX 3080 Ti Laptop 16 GB, Gen4 x8, BAR1 16 GB (so: ReBar on)
driver 610.57.04 (was 615.71.09; faults continued across the change)
model / flags Qwen3.8-Flash-Next IQ3_S, --spec 3 --mtp rt --max-context 262144 --kv k8v4 --vram-reserve-mib 960 --pcie-frac 0.20 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97, no --kv-resident, no --batch
host 62 GB RAM, engine RSS ~51 GB, arena 46.84 GiB read through the page cache + cudaHostRegister PORTABLE, MAP_HUGETLB unavailable (vm.nr_hugepages=0)
CPU pool automatic: 42 tasks/phase, 14 participating threads, 13 workers
rate one death per 3 h 44 min / 345 requests / 39.2 M prompt tokens / 255,725 generated tokens / 115,326 verify windows

The 16:42 window in full (us from the window's first stamp):

layer 0: ... waitA(19)=231.4 VRAM hits(20)=241.7 waitB(21)=419.8 PCIe grp(22)=433.2 waitCPU(23)=541.7 combine(24)=556.0
layer 1: ... waitA(19)=964.6 VRAM hits(20)=983.0 waitB(21)=1108.0 PCIe grp(22)=1122.3 waitCPU(23)=1158.1 combine(24)=1171.5
layer 2: ... waitA(19)=1412.1 VRAM hits(20)=1430.5                    <- nothing after this

and the host side of the same window:

20000268.7 RANG     window 115326 step 2 layer 2 | seq 3 flag 2 A 2 B 2
20000026.9 SERVED   window 115326 step 2 layer 2 | seq 3 flag 2 A 3 B 3   <- plan AND copies published
     0.0 TIMEOUT    window 115326 step 3 layer 3 | seq 3 flag 3 A 3 B 3   <- 5 s, ring never advanced
     0.0 RELEASE-NOT-DRAINED  seq -1 A -1 B -1

A 3 B 3 means the host had already published that layer's plan and its copies, so on our box the "a host thread never rang the doorbell" reading is ruled out for these three: the host did its part and the released GPU waits still never drained, i.e. the channel was dead rather than slow. Around 16:42 the card looked like this:

16:42:20-16:42:35   util 100 %, sm 1500-1552 MHz, 125.7 W, 15448 MiB held   engine using 14.2 cores
16:42:38            util   0 %, sm 1882 MHz,   111.2 W, 15448 MiB held      engine using 11.4 cores  <- GPU stops executing
16:42:41-16:42:57   util   0 %, sm 1455-1605 MHz, 39-40 W, 15448 MiB held   engine using 1.0 core
                    42 threads: 1 running (the window's ring-wait), 41 asleep, wchan 0
16:43:03            engine gone, VRAM 14 MiB

For scale: the engine uses 13-14 cores whenever windows are actually running, so the 1.0 core from 16:42:41 on is the ring-wait spin alone - the pipeline had stopped feeding it.

What lives in that gap, on a CUDA build

With the doorbell path (we never reach the zero-doorbell graph - only 3,184 of 24,576 ranked experts are VRAM resident at reserve 960), the only launches between stamp(l,20) and stamp(l,21) are:

  • wait_flag_ge(m_flagB_, ...) - the copy doorbell - a <<<1,1>>> kernel whose body is while (*flag < value) strata_spin_pause(); __threadfence_system(); (verify_kernels.cu:1120-1124);
  • in --pcie-mode kernel (the default - auto falls through to it): fetch_blobs(...) = fetch_blobs_kernel<<<48*8,256>>> and rebase_ptrs(...) (verify.cpp:1646-1652), which copy the PCIe share of the misses out of the pinned host arena alias and rewrite the pointer table the very next kernel dereferences.

That normally costs 125-180 us per layer, and 2.0-2.9 % of routed experts take that path per window.

Corroboration that this staging path is where our faults land:

  • every Xid 31 in this family on this box is MMU Fault ... GPCCLIENT_GCC faulted @ 0x7f.., FAULT_PDE ACCESS_TYPE_VIRT_READ - the GPU dereferencing a host-shaped VA with no page-table entry: 0x7f8e_fca5b000, 0x7f48_b0377000, 0x7fb5_8bad1000;
  • a GPU coredump on 2026-10-16 18:49 printed CUDBG_EXCEPTION_WARP_ILLEGAL_INSTR_ENCODING with Error PC 0x7f71f9cfe1e0 (fetch_blobs_kernel), that PC sitting inside a ---p (PROT_NONE) host mapping. An earlier one (00:53) named native_gu_multi_kernel<18, false, true> with Out Of Range Register;
  • from the IOMMU side: DMAR: [DMA Read NO_PASID] Request device [0000:01:00.0] fault addr 0x403c65b9000 [fault reason 0x04] Access beyond MGAW.

The part of yours we can already act on, and what we'd like you to try

Two things we share that we have not isolated yet, and I would like your help on both. First, our adaptation flags are identical to yours - --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97 - so after every decode round up to 160 of the most-routed missing experts are re-decoded on the CPU pool and staged into the VRAM tier, which is the same host->GPU weight path that fetch_blobs/rebase_ptrs sit on. We have not caught that phase in a window trace, which is exactly why it deserves a switch on both sides.

Second, this box faults most often just after the card wakes from a deep idle. Yesterday we recorded the shape of the transition:

15:55:02-15:57:53   util 99-100 %, sm 1447-1762 MHz, 120-124 W, throttle 0x4, 15448 MiB held
15:57:56-15:58:09   util 0 %, sm 1455 MHz, 38-41 W              (request finished)
15:58:19-15:59:19   util 0 %, sm 210 MHz, memory clock 405 MHz, 22.8-24.0 W, 15448 MiB held
                    engine using 0 cores - nothing running anywhere
15:59:29            util 100 %, sm 1582 MHz, 121.8 W            (next request, straight to full burst)

The 2026-10-16 SKEDCHECK16_CTA_THREAD_DIMENSION_ZERO faults came 5 s and 82 s after exactly that kind of idle-to-burst transition. So: do your crashes cluster in the first few seconds after the GPU has been idle? That is nearly free to answer on your side (nvidia-smi -l 5 into a file, or just noting whether the crash follows a pause in your chat), and it decides whether we are looking at a power-state transition at all.

Switches we'd ask you to try, cheapest first, all of them preserving MTP-3/MTP-4 decode speed:

  1. --adapt-every 0 (or 1000000) - the VRAM expert tier is fixed, no swaps. If your rate collapses, the fault is in the swap/staging path and not in MTP drafting.
  2. --pcie-frac 0 - note this is not the same as your "with / without --pcie-frac" row: with an explicit 0 the PCIe share is 0 blobs, so fetch_blobs/rebase_ptrs still launch but read nothing, and the GPU never dereferences the pinned host alias. If that changes your rate, we both learn something sharp.
  3. --pcie-mode dma - moves those blobs with the copy engine instead of a GPU kernel. Experiment only: docs/DETAILS.md records that this was the pre-0.1.14 default and it had its own failure mode (issue #31 - the host waiting inside the NVIDIA driver while copying experts in a verify window).
  4. Your pool-workers sweep, reported as counts per request and per generated token: 4, 6, 13, 17, 24. Ours is 13 automatically (42 tasks/phase, 14 participating threads); we have never swept it, and your two points (17 -> ~1 per 15-20 requests, 24 -> 3 in a row) are the strongest exposure-scaling signal in the thread.
  5. --spec 0 (no drafting at all) - if it still crashes, the drafter is exposure and not the fault site.
  6. On Windows there are no Xids, so: could you check Event Viewer at the crash second for nvlddmkm / display-TDR / WHEA entries? Whether your box shows an SM-warp or MMU fault event is the difference between "same fault" and "same symptom". Also: is ReBar off on your machine (we're at BAR1 = 16 GB), and are you on the --cuda 12 path because of the driver branch? We are on the CUDA 13 build.

One thing in your report that we can rule out for our box: your theory that the illegal instruction is a CPU-side SIMD opcode. On our box the same CUDA text is accompanied by Xid 13, Graphics SM Warp Exception on (GPC 1, TPC 0, SM 0): Illegal Instruction Encoding - an SM-side exception on one warp - and by a coredump naming a GPU kernel with a GPU PC. Your --pool-workers sensitivity still points at the host side, but at what the host feeds the window, not at CPU instructions.

Two things your box settles that ours can't

Our GPU has a control-plane history that muddies our own numbers: 139 Xid events on this card back to 2026-09-10 across Strata and other CUDA programs, 15 of them Xid 62 + NVRM: GPU0 _kgspRpcGspEventPmuHalted: PMU has halted + Xid 154 ... PF FLR, and the Xid 119 GSP-RPC timeouts (function 76 GSP_RM_CONTROL ... 0x20800a70) named nvidia-powerd, which on this laptop cannot work at all (SBIOS has requested to disable Dynamic Boost, Failed to get AC Line status, error setting power limit) and which we have now masked. So some of our deaths are this box and its driver stack, and we cannot separate that share cleanly.

Your report removes that whole variable: no GSP power daemon, 128 GB of RAM, 2 MiB large pages working, STRATA_PIN_BY_NEED=1 STRATA_ARENA_PIN_GIB=40, and the same error string on the same card. Whatever the shared cause is, it is not host memory pressure and not the Linux power-management path. That is the most valuable single data point in the thread, which is why the six switches above are worth running on your side.

Happy to test anything you want on our box - we have the window trace, an Xid/OOM/DMAR capture watcher, a verify-stall watcher that snapshots every engine thread twice, and a 10 s GPU clock/power/VRAM sampler, and we can report counts per token.

More details

I can provide whole logs either from linux itself, driver dumps or whole strata logs if needed.

<!-- gh-comment-id:6263866705 --> @dandandelion commented on GitHub (Oct 19, 2026): <!-- obsidian --><p>Following up from the other RTX 3080 Ti Laptop (my comment above). Fedora 44, not Windows - and since yesterday our build has had <code>STRATA_VERIFY_TRACE=1</code> on, which dumps the host handshake ring and the GPU's per-layer stage stamps on any fatal window. That has now caught <strong>three fatal windows that all die in the same place</strong>, plus a GPU coredump on an earlier state of this box that names a kernel. Sharing it in case it narrows things for you.</p> <h2 data-heading="Our box and our rate">Our box and our rate</h2>   | this box -- | -- engine | 0.1.44.1 (source hash 7dfd34378bd2d32a), CUDA 13 build path GPU / link | RTX 3080 Ti Laptop 16 GB, Gen4 x8, BAR1 16 GB (so: ReBar on) driver | 610.57.04 (was 615.71.09; faults continued across the change) model / flags | Qwen3.8-Flash-Next IQ3_S, --spec 3 --mtp rt --max-context 262144 --kv k8v4 --vram-reserve-mib 960 --pcie-frac 0.20 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97, no --kv-resident, no --batch host | 62 GB RAM, engine RSS ~51 GB, arena 46.84 GiB read through the page cache + cudaHostRegister PORTABLE, MAP_HUGETLB unavailable (vm.nr_hugepages=0) CPU pool | automatic: 42 tasks/phase, 14 participating threads, 13 workers rate | one death per 3 h 44 min / 345 requests / 39.2 M prompt tokens / 255,725 generated tokens / 115,326 verify windows <p>The 16:42 window in full (us from the window's first stamp):</p> <pre><code class="language-text">layer 0: ... waitA(19)=231.4 VRAM hits(20)=241.7 waitB(21)=419.8 PCIe grp(22)=433.2 waitCPU(23)=541.7 combine(24)=556.0 layer 1: ... waitA(19)=964.6 VRAM hits(20)=983.0 waitB(21)=1108.0 PCIe grp(22)=1122.3 waitCPU(23)=1158.1 combine(24)=1171.5 layer 2: ... waitA(19)=1412.1 VRAM hits(20)=1430.5 &#x3C;- nothing after this </code></pre> <p>and the host side of the same window:</p> <pre><code class="language-text">20000268.7 RANG window 115326 step 2 layer 2 | seq 3 flag 2 A 2 B 2 20000026.9 SERVED window 115326 step 2 layer 2 | seq 3 flag 2 A 3 B 3 &#x3C;- plan AND copies published 0.0 TIMEOUT window 115326 step 3 layer 3 | seq 3 flag 3 A 3 B 3 &#x3C;- 5 s, ring never advanced 0.0 RELEASE-NOT-DRAINED seq -1 A -1 B -1 </code></pre> <p><code>A 3 B 3</code> means the host had already published that layer's plan and its copies, so on our box the "a host thread never rang the doorbell" reading is ruled out for these three: the host did its part and the released GPU waits still never drained, i.e. the channel was dead rather than slow. Around 16:42 the card looked like this:</p> <pre><code class="language-text">16:42:20-16:42:35 util 100 %, sm 1500-1552 MHz, 125.7 W, 15448 MiB held engine using 14.2 cores 16:42:38 util 0 %, sm 1882 MHz, 111.2 W, 15448 MiB held engine using 11.4 cores &#x3C;- GPU stops executing 16:42:41-16:42:57 util 0 %, sm 1455-1605 MHz, 39-40 W, 15448 MiB held engine using 1.0 core 42 threads: 1 running (the window's ring-wait), 41 asleep, wchan 0 16:43:03 engine gone, VRAM 14 MiB </code></pre> <p>For scale: the engine uses 13-14 cores whenever windows are actually running, so the 1.0 core from 16:42:41 on is the ring-wait spin alone - the pipeline had stopped feeding it.</p> <h2 data-heading="What lives in that gap, on a CUDA build">What lives in that gap, on a CUDA build</h2> <p>With the doorbell path (we never reach the zero-doorbell graph - only 3,184 of 24,576 ranked experts are VRAM resident at reserve 960), the only launches between <code>stamp(l,20)</code> and <code>stamp(l,21)</code> are:</p> <ul> <li><code>wait_flag_ge(m_flagB_, ...)</code> - the copy doorbell - a <code>&#x3C;&#x3C;&#x3C;1,1>>></code> kernel whose body is <code>while (*flag &#x3C; value) strata_spin_pause(); __threadfence_system();</code> (<code>verify_kernels.cu:1120-1124</code>);</li> <li>in <code>--pcie-mode kernel</code> (the default - <code>auto</code> falls through to it): <code>fetch_blobs(...)</code> = <code>fetch_blobs_kernel&#x3C;&#x3C;&#x3C;48*8,256>>></code> and <code>rebase_ptrs(...)</code> (<code>verify.cpp:1646-1652</code>), which copy the PCIe share of the misses <strong>out of the pinned host arena alias</strong> and rewrite the pointer table the very next kernel dereferences.</li> </ul> <p>That normally costs 125-180 us per layer, and 2.0-2.9 % of routed experts take that path per window.</p> <p>Corroboration that this staging path is where our faults land:</p> <ul> <li>every <code>Xid 31</code> in this family on this box is <code>MMU Fault ... GPCCLIENT_GCC faulted @ 0x7f.., FAULT_PDE ACCESS_TYPE_VIRT_READ</code> - the GPU dereferencing a <strong>host-shaped</strong> VA with no page-table entry: <code>0x7f8e_fca5b000</code>, <code>0x7f48_b0377000</code>, <code>0x7fb5_8bad1000</code>;</li> <li>a GPU coredump on 2026-10-16 18:49 printed <code>CUDBG_EXCEPTION_WARP_ILLEGAL_INSTR_ENCODING</code> with <code>Error PC 0x7f71f9cfe1e0 (fetch_blobs_kernel)</code>, that PC sitting inside a <code>---p</code> (PROT_NONE) host mapping. An earlier one (00:53) named <code>native_gu_multi_kernel&#x3C;18, false, true></code> with <code>Out Of Range Register</code>;</li> <li>from the IOMMU side: <code>DMAR: [DMA Read NO_PASID] Request device [0000:01:00.0] fault addr 0x403c65b9000 [fault reason 0x04] Access beyond MGAW</code>.</li> </ul> <h2 data-heading="The part of yours we can already act on, and what we&#x27;d like you to try">The part of yours we can already act on, and what we'd like you to try</h2> <p>Two things we share that we have not isolated yet, and I would like your help on both. First, our adaptation flags are identical to yours - <code>--adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97</code> - so after <strong>every</strong> decode round up to 160 of the most-routed missing experts are re-decoded on the CPU pool and staged into the VRAM tier, which is the same host->GPU weight path that <code>fetch_blobs</code>/<code>rebase_ptrs</code> sit on. We have not caught that phase in a window trace, which is exactly why it deserves a switch on both sides.</p> <p>Second, this box faults most often just after the card wakes from a deep idle. Yesterday we recorded the shape of the transition:</p> <pre><code class="language-text">15:55:02-15:57:53 util 99-100 %, sm 1447-1762 MHz, 120-124 W, throttle 0x4, 15448 MiB held 15:57:56-15:58:09 util 0 %, sm 1455 MHz, 38-41 W (request finished) 15:58:19-15:59:19 util 0 %, sm 210 MHz, memory clock 405 MHz, 22.8-24.0 W, 15448 MiB held engine using 0 cores - nothing running anywhere 15:59:29 util 100 %, sm 1582 MHz, 121.8 W (next request, straight to full burst) </code></pre> <p>The 2026-10-16 <code>SKEDCHECK16_CTA_THREAD_DIMENSION_ZERO</code> faults came 5 s and 82 s after exactly that kind of idle-to-burst transition. So: <strong>do your crashes cluster in the first few seconds after the GPU has been idle?</strong> That is nearly free to answer on your side (<code>nvidia-smi -l 5</code> into a file, or just noting whether the crash follows a pause in your chat), and it decides whether we are looking at a power-state transition at all.</p> <p>Switches we'd ask you to try, cheapest first, all of them preserving MTP-3/MTP-4 decode speed:</p> <ol> <li><code>--adapt-every 0</code> (or <code>1000000</code>) - the VRAM expert tier is fixed, no swaps. If your rate collapses, the fault is in the swap/staging path and not in MTP drafting.</li> <li><code>--pcie-frac 0</code> - note this is <em>not</em> the same as your "with / without <code>--pcie-frac</code>" row: with an explicit 0 the PCIe share is 0 blobs, so <code>fetch_blobs</code>/<code>rebase_ptrs</code> still launch but read nothing, and the GPU never dereferences the pinned host alias. If that changes your rate, we both learn something sharp.</li> <li><code>--pcie-mode dma</code> - moves those blobs with the copy engine instead of a GPU kernel. Experiment only: <code>docs/DETAILS.md</code> records that this was the pre-0.1.14 default and it had its own failure mode (issue #31 - the host waiting inside the NVIDIA driver while copying experts in a verify window).</li> <li>Your pool-workers sweep, reported as counts per request <em>and</em> per generated token: 4, 6, 13, 17, 24. Ours is 13 automatically (42 tasks/phase, 14 participating threads); we have never swept it, and your two points (17 -> ~1 per 15-20 requests, 24 -> 3 in a row) are the strongest exposure-scaling signal in the thread.</li> <li><code>--spec 0</code> (no drafting at all) - if it still crashes, the drafter is exposure and not the fault site.</li> <li>On Windows there are no Xids, so: could you check Event Viewer at the crash second for <code>nvlddmkm</code> / display-TDR / WHEA entries? Whether your box shows an SM-warp or MMU fault event is the difference between "same fault" and "same symptom". Also: is ReBar off on your machine (we're at BAR1 = 16 GB), and are you on the <code>--cuda 12</code> path because of the driver branch? We are on the CUDA 13 build.</li> </ol> <p>One thing in your report that we can rule out for our box: your theory that the illegal instruction is a CPU-side SIMD opcode. On our box the same CUDA text is accompanied by <code>Xid 13, Graphics SM Warp Exception on (GPC 1, TPC 0, SM 0): Illegal Instruction Encoding</code> - an SM-side exception on one warp - and by a coredump naming a GPU kernel with a GPU PC. Your <code>--pool-workers</code> sensitivity still points at the host side, but at what the host <em>feeds</em> the window, not at CPU instructions.</p> <h2 data-heading="Two things your box settles that ours can&#x27;t">Two things your box settles that ours can't</h2> <p>Our GPU has a control-plane history that muddies our own numbers: 139 <code>Xid</code> events on this card back to 2026-09-10 across Strata <strong>and</strong> other CUDA programs, 15 of them <code>Xid 62</code> + <code>NVRM: GPU0 _kgspRpcGspEventPmuHalted: PMU has halted</code> + <code>Xid 154 ... PF FLR</code>, and the <code>Xid 119</code> GSP-RPC timeouts (<code>function 76 GSP_RM_CONTROL ... 0x20800a70</code>) named <code>nvidia-powerd</code>, which on this laptop cannot work at all (<code>SBIOS has requested to disable Dynamic Boost</code>, <code>Failed to get AC Line status</code>, <code>error setting power limit</code>) and which we have now masked. So some of our deaths are this box and its driver stack, and we cannot separate that share cleanly.</p> <p>Your report removes that whole variable: no GSP power daemon, 128 GB of RAM, 2 MiB large pages working, <code>STRATA_PIN_BY_NEED=1 STRATA_ARENA_PIN_GIB=40</code>, and the same error string on the same card. Whatever the shared cause is, it is not host memory pressure and not the Linux power-management path. That is the most valuable single data point in the thread, which is why the six switches above are worth running on your side.</p> <p>Happy to test anything you want on our box - we have the window trace, an Xid/OOM/DMAR capture watcher, a verify-stall watcher that snapshots every engine thread twice, and a 10 s GPU clock/power/VRAM sampler, and we can report counts per token.</p> ## More details I can provide whole logs either from linux itself, driver dumps or whole strata logs if needed.
Author
Owner

@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:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271501810 --> @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: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1259
No description provided.