[GH-ISSUE #1980] [Bug]: 2x Arc Pro B60 layer split: DEVICE_LOST at the first verify window whenever experts are missing from VRAM; a stock setup_intel.py config lands at 96-97% resident and always hits it #787

Closed
opened 2026-11-04 01:45:51 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @jds1-ai on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1980

What happened

A two-card SYCL layer split on 0.1.43 loses the device at the first speculative verify window every time the load is less than 100% resident with STRATA_VERIFY_NO_HOST=1. The same build, box and quant at 100% resident runs clean. The 2x B60 report (bench/results/2026-10-04-community-2x-arc-pro-b60/README.md, "Not done") lists "a run with STRATA_VERIFY_NO_HOST=1 and experts outside VRAM" as untested. This is that cell, run seven times.

The stock two-card config from sycl/setup_intel.py lands in that cell. It writes neither STRATA_STAGE_TRIM nor an explicit --layer-split, so each card keeps a full copy of every layer's dense weights, 1.4 GiB per card on Flash-Next IQ2_XS, and the load stops at 96-97% resident. The report's clean run used a hand-written iq2b.json with STRATA_STAGE_TRIM=1 and --layer-split 25.

Runs 2-6 on 0.1.43 (7695859), run 1 on 0.1.42 (61b3fb5); same two cards, same box, nothing else on the GPUs:

Run Quant Context / reserve / KV Resident Result
1 (0.1.42) IQ3_XXS 32768 / 1024 / int8 79% (19,481 of 24,576) DEVICE_LOST at first verify window, 2 CAT faults
2 IQ2_XS 32768 / 1024 / int8 97% (23,950 of 24,576) DEVICE_LOST at first verify window, 5 retries, 5 CAT faults
3 IQ2_XS 8192 / 1536 / int8 96% (23,487) load only, no request sent
4 IQ2_XS report's exact iq2b.json args and env 100% clean: 0 DEVICE_LOST, 0 CAT faults, 46.5 t/s median decode (n=9, 512-token replies, drafts accepted 73-77%)
5 IQ2_XS run 2 plus STRATA_STAGE_TRIM=1 only 100% load only; the later card freed 1.41 GiB, the first card did not move, auto moved the split to 24
6 IQ2_XS run 2 plus STRATA_STAGE_TRIM=1 and --layer-split 25 100% load only; both cards freed ~1.4 GiB, 3,284 MiB free at load end

Kernel log on every crash (7 of 7), always on the second-stage card (0000:2f:00.0, level_zero:1, layers 25-47 and the head):

[61412.776888] xe 0000:2f:00.0: [drm] Tile0: GT0: Fault response: Unsuccessful -ENOENT
[61412.776909] xe 0000:2f:00.0: [drm] Tile0: GT0: Fault response: Unsuccessful -ENOENT
[61412.776971] xe 0000:2f:00.0: [drm] Tile0: GT0: Engine memory CAT error [18]: class=ccs, logical_mask: 0x1, guc_id=2
[61412.777019] xe 0000:2f:00.0: [drm] Tile0: GT0: Engine memory CAT error [18]: class=ccs, logical_mask: 0x1, guc_id=2
[61412.778804] xe 0000:2f:00.0: [drm] Tile0: GT0: Engine reset: engine_class=ccs, logical_mask: 0x1, guc_id=2, state=0x249
[61412.778848] xe 0000:2f:00.0: [drm] Tile0: GT0: Timedout job: seqno=4294967184, lrc_seqno=4294967184, guc_id=2, flags=0x20 in strata [46941]

(Run 1, second attempt. Run 2's five faults print the same block with different seqnos.) No CAT error or engine reset on 0000:23:00.0 in the kernel log since boot.

Where the missing experts sat, from the engine log: the first card's shortfall is mirrored and the second card's is not logged as mirrored.

Run level_zero:0 short its mirror line level_zero:1 short its mirror line
1 1,976 (11,336 of 13,312) 1976 of 1976 experts missing from VRAM mirrored in pinned host memory (2.83 GiB) 3,119 (8,145 of 11,264) none
2 115 (12,685 of 12,800) 115 of 115 experts missing from VRAM ... mirrored in pinned host memory (0.15 GiB) 511 (11,265 of 11,776) none

Every fault is on the card whose missing experts have no mirror line. The source says why there is no line. sycl/src/program/generate.cpp builds the host mirror for the first stage only: mirror_end = multi_gpu && !split_at.empty() ? split_at[0] : g.n_layers (comment: "#1054, #1440: with a layer split the mirror holds only the first GPU's layers ... the later stages' caches do not exist yet"). unmirrored_misses is counted over the same mirror_end range, so the REFUSED: N experts are neither in VRAM nor mirrored; with STRATA_VERIFY_NO_HOST ... gate (the lines after const bool no_host = ...) sees 0 for a second stage that is short by 511 or 3,119 experts, and the run starts. The mirror table is attached to the device plan once, relative to the first stage's residency array (resident_plan_set_mirror(thits.d_res, mirror_table_d) in generate.cpp; mir = g_mirror_table + (res_layer - g_mirror_res) in sycl/src/kernels/cuda/verify_kernels.dp.cpp), so the second stage's plan has no mirror entry for its missing experts, and under STRATA_VERIFY_NO_HOST=1 there is no host fallback for them either. Runs 1 and 2 are the only runs where the second stage was short; both faulted on that card at the first verify window. Run 4, with the second stage at 100%, ran clean.

A start-time check that counted the later stages' non-resident experts in unmirrored_misses would have refused runs 1 to 3 at start, with the existing message, instead of losing the device.

The engine log at the crash shows the verify window captured ("upload no error, sync no error") and then the device lost. The box recovered on its own each time; no reset was needed. Miss volume did not move the crash point: 5,095 missing experts (run 1) and 626 (run 2) both died at the first window.

Why the stock load is short: sycl/src/program/generate.cpp (stage_trim = trim_asked && multi_gpu && !split_auto) trims only when STRATA_STAGE_TRIM=1 is set, and trims the first card only with an explicit --layer-split. setup_intel.py sets neither for a gpu list.

Memory lines, per card, at the "holds its weights" point (GiB free), runs 2 / 5 / 6 / report:

Card run 2 run 5 run 6 report
level_zero:1 20.88 22.29 22.35 22.36
level_zero:0 (cache auto free) 20.57 20.57 21.93 22.11

Both cards report 23.91 GiB usable (usable size exclude stolen 0x5fa000000), the same as the report's cards.

Suggested changes (not tested as a patch; no pull request opened)

  1. Count the later stages' non-resident experts in unmirrored_misses, so a short second stage is refused at start with the existing REFUSED message instead of losing the device.
  2. In sycl/setup_intel.py write_run_script, write STRATA_STAGE_TRIM=1 for a two-card layer split, next to the existing ONEAPI_DEVICE_SELECTOR default:
+        if split:
+            cfg.setdefault("env", {}).setdefault("STRATA_STAGE_TRIM", "1")

Run 5 above is the load this produces on our box: 100% resident under --layer-split auto. It removes the trigger for a stock two-card install but not the gap in item 1.

Strata version, GPU, OS

  • Strata 0.1.43, commit 7695859, SYCL AOT build, STRATA_SYCL_AOT=bmg-g21 (CMake cache of build-sycl-aot), source build, no Docker
  • 2x Intel Arc Pro B60 24 GB (8086:e211), PCI 0000:23:00.0 and 0000:2f:00.0
  • Ubuntu 24.04.5 LTS, kernel 7.0.0-38-generic (xe), NEO compute runtime 26.31.39395.14 (intel-opencl-icd, libze-intel-gpu1), Level Zero loader 1.32.0 (libze1), oneAPI DPC++ 2026.1.1 (2026.1.1.20260724)
  • HP Z6 G4 Workstation, Xeon Platinum 8173M; the engine's own probe reads 6.8 GB/s host to device on each card (PCIe probe 6.8 GB/s)
  • Report's box for comparison: Ubuntu 24.04, kernel 6.17, NEO 26.09.37435.12, oneAPI 2026.1.1 (README line 8)

Engine log

Paths rewritten: <data root> is the models/packs/MTP directory, <strata checkout> the Strata source tree, <path> other local paths.

Engine log excerpts and both cfg.json files

Run 2 engine log (iq2xs-2card-1011T1753), residency lines through the DEVICE_LOST

strata generate: 115 of 115 experts missing from VRAM (+ 0 in the prompt loan's slots) mirrored in pinned host memory (0.15 GiB, 0.1 s); the GPU reads them over PCIe
strata generate: adaptive swaps off: with STRATA_VERIFY_NO_HOST an expert they move out of VRAM would be neither there nor mirrored
strata generate: layer split, CUDA1: 19.45 GiB free of 23.91, room for experts 15.41 GiB
strata generate: layer split: CUDA1 runs layers 25-47, expert cache 11265 slots (15.41 GiB), 11265 of its 11776 profiled pairs; slot 0 verified
strata generate: layer split: CUDA0 runs layers 0-24
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: 27 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.43)
strata generate: token graph hit path: 23950 resident experts, decided on the device
strata serve: layer split: 97% of the experts resident, the prompt path's streamed ring 96 slots
strata serve: the prompt path allocates its own buffers (too few cache slots to borrow)
strata: copy engine: the prompt path's expert copies run on the GPU's copy engine (queue group 1), not the compute engine (STRATA_COPY_ENGINE=0 turns it off)
strata verify: window up to 6 tokens, 56.9 MiB of device buffers
strata serve: layer split: layers 0-24 (CUDA0), 25-47 (CUDA1), one hand-off per window
strata verify: window up to 6 tokens, 56.9 MiB of device buffers
strata mtp: draft head over 106299 tokens (137.9 MiB)
strata serve: 2050 MiB of VRAM free with everything loaded
strata verify: captured the 6-token window (upload no error, sync no error)
strata verify: captured the 6-token window (upload no error, sync no error)
level_zero backend failed with error: 20 (UR_RESULT_ERROR_DEVICE_LOST)
strata serve: verify: error
terminate called after throwing an instance of 'sycl::_V1::exception'
  what():  level_zero backend failed with error: 37 (UR_RESULT_ERROR_UNINITIALIZED)

Run 4 engine log (iq2xs-2card-upexact-1011T1802), residency lines

strata generate: layer split: CUDA1 holds its weights; 22.35 GiB free (its session follows the split search)
strata generate: layer split: CUDA1 holds its weights, session [25, 48) and the head; 21.92 GiB free
strata generate: expert cache auto: 22.09 GiB free, 1536 MiB reserved (+0 MiB for the draft head) -> 12800 slots
strata generate: layer split, CUDA1: 21.13 GiB free of 23.91, room for experts 17.92 GiB
strata generate: layer split: CUDA1 runs layers 25-47, expert cache 11776 slots (16.11 GiB), 11776 of its 11776 profiled pairs; slot 0 verified
strata generate: layer split: CUDA0 runs layers 0-24
strata generate: session is up (engine 0.1.43)
strata serve: layer split: 100% of the experts resident, the prompt path's streamed ring 96 slots
strata serve: 4222 MiB of VRAM free with everything loaded

Run 2 cfg.json

{
 "exe": "<path>",
 "args": [
  "--pack",
  "<data root>/packs/iq2_xs",
  "--native",
  "<data root>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf",
  "--ple-gguf",
  "<data root>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf",
  "--expert-profile",
  "<strata checkout>/data/expert-profile-sycl.bin",
  "--expert-cache",
  "auto",
  "--spec",
  "4",
  "--mtp",
  "<data root>/mtp/rt",
  "--max-context",
  "32768",
  "--kv",
  "int8",
  "--remote-expert-opt",
  "--spec-min-p",
  "0.70",
  "--stream-experts",
  "--vram-reserve-mib",
  "1024",
  "--prefill",
  "4096"
 ],
 "cwd": "<strata checkout>",
 "tokenizer": "<data root>/packs/iq2_xs/tokenizer",
 "model_name": "x",
 "log": "<path>",
 "port": 8090,
 "gpu": [
  0,
  1
 ],
 "gpus_asked": true,
 "layer_split": "auto",
 "host": "127.0.0.1",
 "open_browser": false
}

Run 4 cfg.json

{
 "exe": "<path>",
 "args": [
  "--pack",
  "<data root>/packs/iq2_xs",
  "--native",
  "<data root>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf",
  "--ple-gguf",
  "<data root>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf",
  "--expert-profile",
  "data/expert-profile.bin",
  "--expert-cache",
  "auto",
  "--stream-experts",
  "--prefill",
  "auto",
  "--spec",
  "4",
  "--spec-min-p",
  "0.5",
  "--mtp",
  "<data root>/mtp/rt",
  "--max-context",
  "8192",
  "--kv",
  "int8",
  "--vram-reserve-mib",
  "1536",
  "--no-prefill-borrow",
  "--layer-split",
  "25"
 ],
 "cwd": "<strata checkout>",
 "tokenizer": "<data root>/packs/iq2_xs/tokenizer",
 "model_name": "x",
 "log": "<path>",
 "port": 8090,
 "gpu": [
  0,
  1
 ],
 "gpus_asked": true,
 "layer_split": 25,
 "host": "127.0.0.1",
 "open_browser": false,
 "env": {
  "SYCL_CACHE_PERSISTENT": "0",
  "STRATA_MIRROR_MIB": "6144",
  "STRATA_VERIFY_DEVICE_PLAN": "1",
  "STRATA_STAGE_TRIM": "1",
  "STRATA_VERIFY_NO_HOST": "1"
 }
}

Related, different mechanism: #1555 (dpct null-stream sentinel), #1662 (a B70+B60 pair on 0.1.40.3 reporting DEVICE_LOST after the captured 6-token window with 100% of the experts resident; different build and card mix, while our 100% resident run on 0.1.43 ran clean).

Not tested: 0.1.39 a5682fe on this box; the card role swap (second stage on 0000:23:00.0); any quant other than IQ2_XS and IQ3_XXS; Coder.


Filed by jds-ai. Measurements run and logs read by an agent (Fizz, Claude model); source reading and pre-registered scoring by a second agent (Fable, Claude model); reviewed by the account owner before filing.

Originally created by @jds1-ai on GitHub (Oct 11, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1980 ## What happened A two-card SYCL layer split on 0.1.43 loses the device at the first speculative verify window every time the load is less than 100% resident with `STRATA_VERIFY_NO_HOST=1`. The same build, box and quant at 100% resident runs clean. The 2x B60 report (`bench/results/2026-10-04-community-2x-arc-pro-b60/README.md`, "Not done") lists "a run with `STRATA_VERIFY_NO_HOST=1` and experts outside VRAM" as untested. This is that cell, run seven times. The stock two-card config from `sycl/setup_intel.py` lands in that cell. It writes neither `STRATA_STAGE_TRIM` nor an explicit `--layer-split`, so each card keeps a full copy of every layer's dense weights, 1.4 GiB per card on Flash-Next IQ2_XS, and the load stops at 96-97% resident. The report's clean run used a hand-written `iq2b.json` with `STRATA_STAGE_TRIM=1` and `--layer-split 25`. Runs 2-6 on 0.1.43 (`7695859`), run 1 on 0.1.42 (`61b3fb5`); same two cards, same box, nothing else on the GPUs: | Run | Quant | Context / reserve / KV | Resident | Result | |---|---|---|---|---| | 1 (0.1.42) | IQ3_XXS | 32768 / 1024 / int8 | 79% (19,481 of 24,576) | DEVICE_LOST at first verify window, 2 CAT faults | | 2 | IQ2_XS | 32768 / 1024 / int8 | 97% (23,950 of 24,576) | DEVICE_LOST at first verify window, 5 retries, 5 CAT faults | | 3 | IQ2_XS | 8192 / 1536 / int8 | 96% (23,487) | load only, no request sent | | 4 | IQ2_XS | report's exact `iq2b.json` args and env | 100% | clean: 0 DEVICE_LOST, 0 CAT faults, 46.5 t/s median decode (n=9, 512-token replies, drafts accepted 73-77%) | | 5 | IQ2_XS | run 2 plus `STRATA_STAGE_TRIM=1` only | 100% | load only; the later card freed 1.41 GiB, the first card did not move, `auto` moved the split to 24 | | 6 | IQ2_XS | run 2 plus `STRATA_STAGE_TRIM=1` and `--layer-split 25` | 100% | load only; both cards freed ~1.4 GiB, 3,284 MiB free at load end | Kernel log on every crash (7 of 7), always on the second-stage card (`0000:2f:00.0`, `level_zero:1`, layers 25-47 and the head): ``` [61412.776888] xe 0000:2f:00.0: [drm] Tile0: GT0: Fault response: Unsuccessful -ENOENT [61412.776909] xe 0000:2f:00.0: [drm] Tile0: GT0: Fault response: Unsuccessful -ENOENT [61412.776971] xe 0000:2f:00.0: [drm] Tile0: GT0: Engine memory CAT error [18]: class=ccs, logical_mask: 0x1, guc_id=2 [61412.777019] xe 0000:2f:00.0: [drm] Tile0: GT0: Engine memory CAT error [18]: class=ccs, logical_mask: 0x1, guc_id=2 [61412.778804] xe 0000:2f:00.0: [drm] Tile0: GT0: Engine reset: engine_class=ccs, logical_mask: 0x1, guc_id=2, state=0x249 [61412.778848] xe 0000:2f:00.0: [drm] Tile0: GT0: Timedout job: seqno=4294967184, lrc_seqno=4294967184, guc_id=2, flags=0x20 in strata [46941] ``` (Run 1, second attempt. Run 2's five faults print the same block with different seqnos.) No `CAT error` or engine reset on `0000:23:00.0` in the kernel log since boot. Where the missing experts sat, from the engine log: the first card's shortfall is mirrored and the second card's is not logged as mirrored. | Run | level_zero:0 short | its mirror line | level_zero:1 short | its mirror line | |---|---|---|---|---| | 1 | 1,976 (11,336 of 13,312) | `1976 of 1976 experts missing from VRAM mirrored in pinned host memory (2.83 GiB)` | 3,119 (8,145 of 11,264) | none | | 2 | 115 (12,685 of 12,800) | `115 of 115 experts missing from VRAM ... mirrored in pinned host memory (0.15 GiB)` | 511 (11,265 of 11,776) | none | Every fault is on the card whose missing experts have no mirror line. The source says why there is no line. `sycl/src/program/generate.cpp` builds the host mirror for the first stage only: `mirror_end = multi_gpu && !split_at.empty() ? split_at[0] : g.n_layers` (comment: "#1054, #1440: with a layer split the mirror holds only the first GPU's layers ... the later stages' caches do not exist yet"). `unmirrored_misses` is counted over the same `mirror_end` range, so the `REFUSED: N experts are neither in VRAM nor mirrored; with STRATA_VERIFY_NO_HOST ...` gate (the lines after `const bool no_host = ...`) sees 0 for a second stage that is short by 511 or 3,119 experts, and the run starts. The mirror table is attached to the device plan once, relative to the first stage's residency array (`resident_plan_set_mirror(thits.d_res, mirror_table_d)` in generate.cpp; `mir = g_mirror_table + (res_layer - g_mirror_res)` in `sycl/src/kernels/cuda/verify_kernels.dp.cpp`), so the second stage's plan has no mirror entry for its missing experts, and under `STRATA_VERIFY_NO_HOST=1` there is no host fallback for them either. Runs 1 and 2 are the only runs where the second stage was short; both faulted on that card at the first verify window. Run 4, with the second stage at 100%, ran clean. A start-time check that counted the later stages' non-resident experts in `unmirrored_misses` would have refused runs 1 to 3 at start, with the existing message, instead of losing the device. The engine log at the crash shows the verify window captured ("upload no error, sync no error") and then the device lost. The box recovered on its own each time; no reset was needed. Miss volume did not move the crash point: 5,095 missing experts (run 1) and 626 (run 2) both died at the first window. Why the stock load is short: `sycl/src/program/generate.cpp` (`stage_trim = trim_asked && multi_gpu && !split_auto`) trims only when `STRATA_STAGE_TRIM=1` is set, and trims the first card only with an explicit `--layer-split`. `setup_intel.py` sets neither for a `gpu` list. Memory lines, per card, at the "holds its weights" point (GiB free), runs 2 / 5 / 6 / report: | Card | run 2 | run 5 | run 6 | report | |---|---|---|---|---| | level_zero:1 | 20.88 | 22.29 | 22.35 | 22.36 | | level_zero:0 (cache auto free) | 20.57 | 20.57 | 21.93 | 22.11 | Both cards report 23.91 GiB usable (`usable size exclude stolen 0x5fa000000`), the same as the report's cards. ## Suggested changes (not tested as a patch; no pull request opened) 1. Count the later stages' non-resident experts in `unmirrored_misses`, so a short second stage is refused at start with the existing `REFUSED` message instead of losing the device. 2. In `sycl/setup_intel.py` `write_run_script`, write `STRATA_STAGE_TRIM=1` for a two-card layer split, next to the existing `ONEAPI_DEVICE_SELECTOR` default: ```diff + if split: + cfg.setdefault("env", {}).setdefault("STRATA_STAGE_TRIM", "1") ``` Run 5 above is the load this produces on our box: 100% resident under `--layer-split auto`. It removes the trigger for a stock two-card install but not the gap in item 1. ## Strata version, GPU, OS - Strata 0.1.43, commit `7695859`, SYCL AOT build, `STRATA_SYCL_AOT=bmg-g21` (CMake cache of `build-sycl-aot`), source build, no Docker - 2x Intel Arc Pro B60 24 GB (`8086:e211`), PCI `0000:23:00.0` and `0000:2f:00.0` - Ubuntu 24.04.5 LTS, kernel 7.0.0-38-generic (`xe`), NEO compute runtime 26.31.39395.14 (`intel-opencl-icd`, `libze-intel-gpu1`), Level Zero loader 1.32.0 (`libze1`), oneAPI DPC++ 2026.1.1 (2026.1.1.20260724) - HP Z6 G4 Workstation, Xeon Platinum 8173M; the engine's own probe reads 6.8 GB/s host to device on each card (`PCIe probe 6.8 GB/s`) - Report's box for comparison: Ubuntu 24.04, kernel 6.17, NEO 26.09.37435.12, oneAPI 2026.1.1 (README line 8) ## Engine log Paths rewritten: `<data root>` is the models/packs/MTP directory, `<strata checkout>` the Strata source tree, `<path>` other local paths. <details><summary>Engine log excerpts and both cfg.json files</summary> #### Run 2 engine log (`iq2xs-2card-1011T1753`), residency lines through the DEVICE_LOST ``` strata generate: 115 of 115 experts missing from VRAM (+ 0 in the prompt loan's slots) mirrored in pinned host memory (0.15 GiB, 0.1 s); the GPU reads them over PCIe strata generate: adaptive swaps off: with STRATA_VERIFY_NO_HOST an expert they move out of VRAM would be neither there nor mirrored strata generate: layer split, CUDA1: 19.45 GiB free of 23.91, room for experts 15.41 GiB strata generate: layer split: CUDA1 runs layers 25-47, expert cache 11265 slots (15.41 GiB), 11265 of its 11776 profiled pairs; slot 0 verified strata generate: layer split: CUDA0 runs layers 0-24 strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: 27 expert-pool workers + the host thread strata generate: session is up (engine 0.1.43) strata generate: token graph hit path: 23950 resident experts, decided on the device strata serve: layer split: 97% of the experts resident, the prompt path's streamed ring 96 slots strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) strata: copy engine: the prompt path's expert copies run on the GPU's copy engine (queue group 1), not the compute engine (STRATA_COPY_ENGINE=0 turns it off) strata verify: window up to 6 tokens, 56.9 MiB of device buffers strata serve: layer split: layers 0-24 (CUDA0), 25-47 (CUDA1), one hand-off per window strata verify: window up to 6 tokens, 56.9 MiB of device buffers strata mtp: draft head over 106299 tokens (137.9 MiB) strata serve: 2050 MiB of VRAM free with everything loaded strata verify: captured the 6-token window (upload no error, sync no error) strata verify: captured the 6-token window (upload no error, sync no error) level_zero backend failed with error: 20 (UR_RESULT_ERROR_DEVICE_LOST) strata serve: verify: error terminate called after throwing an instance of 'sycl::_V1::exception' what(): level_zero backend failed with error: 37 (UR_RESULT_ERROR_UNINITIALIZED) ``` #### Run 4 engine log (`iq2xs-2card-upexact-1011T1802`), residency lines ``` strata generate: layer split: CUDA1 holds its weights; 22.35 GiB free (its session follows the split search) strata generate: layer split: CUDA1 holds its weights, session [25, 48) and the head; 21.92 GiB free strata generate: expert cache auto: 22.09 GiB free, 1536 MiB reserved (+0 MiB for the draft head) -> 12800 slots strata generate: layer split, CUDA1: 21.13 GiB free of 23.91, room for experts 17.92 GiB strata generate: layer split: CUDA1 runs layers 25-47, expert cache 11776 slots (16.11 GiB), 11776 of its 11776 profiled pairs; slot 0 verified strata generate: layer split: CUDA0 runs layers 0-24 strata generate: session is up (engine 0.1.43) strata serve: layer split: 100% of the experts resident, the prompt path's streamed ring 96 slots strata serve: 4222 MiB of VRAM free with everything loaded ``` #### Run 2 cfg.json ```json { "exe": "<path>", "args": [ "--pack", "<data root>/packs/iq2_xs", "--native", "<data root>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf", "--ple-gguf", "<data root>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf", "--expert-profile", "<strata checkout>/data/expert-profile-sycl.bin", "--expert-cache", "auto", "--spec", "4", "--mtp", "<data root>/mtp/rt", "--max-context", "32768", "--kv", "int8", "--remote-expert-opt", "--spec-min-p", "0.70", "--stream-experts", "--vram-reserve-mib", "1024", "--prefill", "4096" ], "cwd": "<strata checkout>", "tokenizer": "<data root>/packs/iq2_xs/tokenizer", "model_name": "x", "log": "<path>", "port": 8090, "gpu": [ 0, 1 ], "gpus_asked": true, "layer_split": "auto", "host": "127.0.0.1", "open_browser": false } ``` #### Run 4 cfg.json ```json { "exe": "<path>", "args": [ "--pack", "<data root>/packs/iq2_xs", "--native", "<data root>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf", "--ple-gguf", "<data root>/models/IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf", "--expert-profile", "data/expert-profile.bin", "--expert-cache", "auto", "--stream-experts", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "<data root>/mtp/rt", "--max-context", "8192", "--kv", "int8", "--vram-reserve-mib", "1536", "--no-prefill-borrow", "--layer-split", "25" ], "cwd": "<strata checkout>", "tokenizer": "<data root>/packs/iq2_xs/tokenizer", "model_name": "x", "log": "<path>", "port": 8090, "gpu": [ 0, 1 ], "gpus_asked": true, "layer_split": 25, "host": "127.0.0.1", "open_browser": false, "env": { "SYCL_CACHE_PERSISTENT": "0", "STRATA_MIRROR_MIB": "6144", "STRATA_VERIFY_DEVICE_PLAN": "1", "STRATA_STAGE_TRIM": "1", "STRATA_VERIFY_NO_HOST": "1" } } ``` </details> Related, different mechanism: #1555 (dpct null-stream sentinel), #1662 (a B70+B60 pair on 0.1.40.3 reporting DEVICE_LOST after the captured 6-token window with 100% of the experts resident; different build and card mix, while our 100% resident run on 0.1.43 ran clean). Not tested: 0.1.39 `a5682fe` on this box; the card role swap (second stage on `0000:23:00.0`); any quant other than IQ2_XS and IQ3_XXS; Coder. --- Filed by jds-ai. Measurements run and logs read by an agent (Fizz, Claude model); source reading and pre-registered scoring by a second agent (Fable, Claude model); reviewed by the account owner before filing.
Author
Owner

@MaineTim commented on GitHub (Oct 11, 2026):

Based on the data here, I've had my first successful split run of IQ3_XXS. Tests summarized by Qwen 3.8:

Update from the 2× B60 box (#1440 comments of 2026-10-10/11): three more 0.1.43 (7695859) test configs split the failure into two bugs — the crash, and a silent-garbage mode — and one of them gives the first fully lucid run of IQ3_XXS on our 2× B60 split: 39.9 tok/s, clean output, 930 tokens.

0. The working config (if you have a 2× B60 and this model)

STRATA_STAGE_TRIM=1 + explicit --layer-split 25 + STRATA_VERIFY_DEVICE_PLAN=1 + STRATA_VERIFY_NO_HOST=0. Measured: 39.9 tok/s decode, clean output over 930 tokens, 513/730 MTP drafts accepted, stage 0 100% resident (12,800/12,800), stage 1 9,659/11,776 resident with the rest handled through the host path (which exact route — plan fallback or adaptive swap — I have not pinned down). The two env vars do different jobs: the trim gets stage 0 fully resident, which removes the mirror that §3a implicates in the crash, and NO_HOST=0 routes the stage-1 misses through the host path, which removes the silent garbage (§3b). The crash cell on this box — auto split, no trim, our verify env (STRATA_VERIFY_DEVICE_PLAN=1 STRATA_VERIFY_NO_HOST=1) — is 7/7 deterministic (§1), and the trim + explicit split with NO_HOST=1 is the garbage cell (§2). The garbage mode fails silently; the crash cell at least fails loudly. I have not isolated the two knobs individually (the no-trim + NO_HOST=0 cell is untested), so the attribution of crash→mirror and garbage→NO_HOST rests on the §3 code reading plus this matrix.

1. The crash reproduces 7/7, and the fault address explains itself

Baseline config re-run (--layer-split auto → K=25, STRATA_VERIFY_DEVICE_PLAN=1 STRATA_VERIFY_NO_HOST=1, no other change): DEVICE_LOST at the first window on both prompts. Layout to the slot: stage 0 11,818 slots, 982 of 982 experts missing from VRAM mirrored in pinned host memory (1.40 GiB), stage 1 8,792 of its 11,776 profiled pairs (short 2,984), 20,610 resident experts.

That is now seven dmesg fault blocks across seven runs (PIDs 22097/42880/44981/62014/63750/76881/78677, ASIDs 41/149/153/204/208/268/272, 0.1.42 and 0.1.43, both sides of STRATA_SYCL_GEMM_NO_STAGE), all on our stage-1 card 0000:2d:00.0, all with Faulted Address: 0x0000eaab49f69000 — identical, to the byte. Since that address is a device-side VA (driver-assigned, deterministic per process layout; host ASLR does not touch it), a deterministic lookup producing it is expected, and that is what the source shows (below).

2. Remove the mirror and the crash disappears — replaced by silent garbage (the other half of §0)

STRATA_STAGE_TRIM=1 + explicit --layer-split 25 (your recipe) frees ~1.5 GiB/card; stage 0 then lands 100% resident (12,800 of 12,800 pairs, no mirror line at all) and stage 1 gets 9,659 of 11,776 (short 2,117). Result: no fault on either card (clean dmesg, only the usual PL2 disabled noise) but the reply was a string of ! at 48.1 tok/s with drafts accepted 126 of 126.

The A/B: identical config with only STRATA_VERIFY_NO_HOST=0 → clean output, 39.9 tok/s, 513/730 drafts accepted — the first fully lucid run of this quant on our split. Same prompt, same layout, one env var.

This matches agnaylor's earlier note in #1440 ("NVMe-served experts (no host mirror) gave corrupted output ("!!!!") on this xe build") — we have now reproduced it independently on the split path, and found where it comes from. §0's working config is this same layout with NO_HOST=0.

3. Two code-level mechanisms in 7695859 (the code paths are measured from the source; the chain from the wrong value to the observed fault/garbage is inferred, and I say where)

(a) The crash — the mirror table is bound to the wrong residency table for stage 1.
resident_plan_set_mirror (sycl/src/kernels/cuda/verify_kernels.dp.cpp:2368) stores the mirror table in process globals (g_mirror_res/g_mirror_table), and each resident_plan derives its slice by pointer arithmetic:

if (g_mirror_table != nullptr && g_mirror_res != nullptr && res_layer >= g_mirror_res)
    mir = g_mirror_table + (res_layer - g_mirror_res);

It is called with thits.d_res (the stage-0 table, allocated at :5769) — at sycl/src/program/generate.cpp:6960, again at :12065 for the adaptive-tier usage table — never with a stage table. But the stage-1 verifier is initialized with its own table — vs.d_res = gs.d_res (generate.cpp:7057–7058, allocated per stage at :5807, a different device allocation, in the stage's own context). For the stage-1 window, res_layer >= g_mirror_res is then a cross-allocation (cross-context) comparison, and when it passes, the offset (res_layer − g_mirror_res) is a meaningless cross-allocation value used as an index into the mirror table — in the simplest same-size case it lands a whole table (24,576 uint64) past the end; the actual relative placement of the two tables I have not measured. From there the chain is inferred: the kernel reads a non-zero word from the wrong offset and treats it as a host mirror address for a no-slot expert; a copy from it in the CUDA1 context finds no page → -ENOENT ×2, CAT error class=ccs, engine reset — on the stage-1 card, which is why the card faults even though the mirror holds only stage-0 layers. What is measured: the fault appears exactly when a mirror is built and a stage-1 window runs (7/7), and vanishes when no mirror is built; the constant fault address across seven PIDs fits a deterministic device-side lookup, not random corruption. When no mirror is built (g_mirror_table == nullptr, our trim run), this path is dead — which is why the crash vanished there. Single-GPU (one table) and 100%-resident loads (no no-slot expert ever consults mir[]) cannot reach it. We cannot isolate the mirror on its own: stage 1 100%-resident needs ~21.3 GiB against 17.52 GiB free — impossible on 2×24 GiB.

(b) The garbage — an unmirrored miss empties the window plan, and nobody reports it.
resident_plan_kernel (verify_kernels.dp.cpp, ~line 2090) sets s_bad when any routed expert is neither resident nor mirrored, writes pl = 0,0,0 ("an empty plan: no expert runs on a stale pointer") and sets *plan_err = 1. The only consumer of plan_err is sycl/src/core/verify.cpp:2391, gated on ar_on() (adaptive tier) — which STRATA_VERIFY_NO_HOST=1 forces off. With 2,117/11,776 stage-1 experts unmirrored (18%), essentially every window (up to 6×23×10 lookups in the stage-1 stage alone) hits one, runs with zero expert compute, and is never flagged — hence coherent-looking fast garbage; the 126/126 self-accepted MTP drafts are consistent with draft and verify sharing the broken path (inferred). With NO_HOST=0 the misses go to the host path and the output is clean — the §0/T2 A/B. Note the startup REFUSED gate (generate.cpp:4776–4839) counts only mirror_end = split_at[0] (stage 0) misses, so it passes both of these layouts correctly as written — the stage-1 structural shortfall is invisible to it by design.

4. Side findings

  • STRATA_VERIFY_DEBUG=1 crashes in this exact cell: after the first window, the debug dump block (verify.cpp:2333ff, no_host && STRATA_VERIFY_DEBUG) throws NULL pointer argument in memory copy operation (handler at verify.cpp:2454, std::exit(1), server restarts, same on the next prompt). Debug is unusable in the no_host split config.
  • Exit path after the loss, two new faces on 0.1.43: strata[76881]: segfault at 2100000000 ip 0000002100000000 error 14 (wild instruction fetch, garbage stack) and again the standing general protection fault ip …+0x552463 in libur_loader.so.0.12.0.
  • We did not test: the no-trim + NO_HOST=0 cell (the isolation run for the §0 attribution); the mirror-alone cell (stage 1 100%-resident is impossible on 2×24 GiB, above); HIP/CUDA behavior of the same two code paths; longer prompts (every run: one 58-token prompt, ≤930 generated tokens); and the !!!! mode is confirmed on one completed run (the debug-instrumented rerun died in the §4 harness bug before generating) — a clean rerun is staged.

Cores (8 now), dmesg for all runs, and a fresh device coredump from the 0.1.43 rerun are on hand.

<!-- gh-comment-id:6114205863 --> @MaineTim commented on GitHub (Oct 11, 2026): Based on the data here, I've had my first successful split run of IQ3_XXS. Tests summarized by Qwen 3.8: **Update from the 2× B60 box (#1440 comments of 2026-10-10/11): three more 0.1.43 (`7695859`) test configs split the failure into two bugs — the crash, and a silent-garbage mode — and one of them gives the first fully lucid run of IQ3_XXS on our 2× B60 split: 39.9 tok/s, clean output, 930 tokens.** ### 0. The working config (if you have a 2× B60 and this model) `STRATA_STAGE_TRIM=1` + explicit `--layer-split 25` + `STRATA_VERIFY_DEVICE_PLAN=1` + **`STRATA_VERIFY_NO_HOST=0`**. Measured: 39.9 tok/s decode, clean output over 930 tokens, 513/730 MTP drafts accepted, stage 0 100% resident (12,800/12,800), stage 1 9,659/11,776 resident with the rest handled through the host path (which exact route — plan fallback or adaptive swap — I have not pinned down). The two env vars do different jobs: the trim gets stage 0 fully resident, which removes the mirror that §3a implicates in the crash, and `NO_HOST=0` routes the stage-1 misses through the host path, which removes the silent garbage (§3b). The crash cell on this box — auto split, no trim, our verify env (`STRATA_VERIFY_DEVICE_PLAN=1 STRATA_VERIFY_NO_HOST=1`) — is 7/7 deterministic (§1), and the trim + explicit split with `NO_HOST=1` is the garbage cell (§2). The garbage mode fails silently; the crash cell at least fails loudly. I have not isolated the two knobs individually (the no-trim + `NO_HOST=0` cell is untested), so the attribution of crash→mirror and garbage→NO_HOST rests on the §3 code reading plus this matrix. ### 1. The crash reproduces 7/7, and the fault address explains itself Baseline config re-run (`--layer-split auto` → K=25, `STRATA_VERIFY_DEVICE_PLAN=1 STRATA_VERIFY_NO_HOST=1`, no other change): **`DEVICE_LOST` at the first window on both prompts**. Layout to the slot: stage 0 `11,818 slots`, `982 of 982 experts missing from VRAM mirrored in pinned host memory (1.40 GiB)`, stage 1 `8,792 of its 11,776 profiled pairs` (short 2,984), `20,610 resident experts`. That is now **seven dmesg fault blocks across seven runs** (PIDs 22097/42880/44981/62014/63750/76881/78677, ASIDs 41/149/153/204/208/268/272, 0.1.42 and 0.1.43, both sides of `STRATA_SYCL_GEMM_NO_STAGE`), all on our stage-1 card `0000:2d:00.0`, all with **`Faulted Address: 0x0000eaab49f69000`** — identical, to the byte. Since that address is a device-side VA (driver-assigned, deterministic per process layout; host ASLR does not touch it), a deterministic lookup producing it is expected, and that is what the source shows (below). ### 2. Remove the mirror and the crash disappears — replaced by silent garbage (the other half of §0) `STRATA_STAGE_TRIM=1` + explicit `--layer-split 25` (your recipe) frees ~1.5 GiB/card; stage 0 then lands **100% resident (12,800 of 12,800 pairs, no mirror line at all)** and stage 1 gets 9,659 of 11,776 (short 2,117). Result: **no fault on either card** (clean dmesg, only the usual `PL2 disabled` noise) but the reply was a **string of `!`** at 48.1 tok/s with `drafts accepted 126 of 126`. The A/B: identical config with only `STRATA_VERIFY_NO_HOST=0` → **clean output, 39.9 tok/s, 513/730 drafts accepted** — the first fully lucid run of this quant on our split. Same prompt, same layout, one env var. This matches agnaylor's earlier note in #1440 ("NVMe-served experts (no host mirror) gave corrupted output (\"!!!!\") on this xe build") — we have now reproduced it independently on the split path, and found where it comes from. §0's working config is this same layout with `NO_HOST=0`. ### 3. Two code-level mechanisms in `7695859` (the code paths are measured from the source; the chain from the wrong value to the observed fault/garbage is inferred, and I say where) **(a) The crash — the mirror table is bound to the wrong residency table for stage 1.** `resident_plan_set_mirror` (`sycl/src/kernels/cuda/verify_kernels.dp.cpp:2368`) stores the mirror table in process globals (`g_mirror_res`/`g_mirror_table`), and each `resident_plan` derives its slice by pointer arithmetic: ```cpp if (g_mirror_table != nullptr && g_mirror_res != nullptr && res_layer >= g_mirror_res) mir = g_mirror_table + (res_layer - g_mirror_res); ``` It is called with `thits.d_res` (the stage-0 table, allocated at :5769) — at `sycl/src/program/generate.cpp:6960`, again at :12065 for the adaptive-tier usage table — never with a stage table. But the stage-1 verifier is initialized with **its own table** — `vs.d_res = gs.d_res` (`generate.cpp:7057–7058`, allocated per stage at :5807, a different device allocation, in the stage's own context). For the stage-1 window, `res_layer >= g_mirror_res` is then a cross-allocation (cross-context) comparison, and when it passes, the offset `(res_layer − g_mirror_res)` is a meaningless cross-allocation value used as an index into the mirror table — in the simplest same-size case it lands **a whole table (24,576 uint64) past the end**; the actual relative placement of the two tables I have not measured. From there the chain is inferred: the kernel reads a non-zero word from the wrong offset and treats it as a host mirror address for a no-slot expert; a copy from it in the CUDA1 context finds no page → `-ENOENT` ×2, `CAT error class=ccs`, engine reset — on the **stage-1 card**, which is why the card faults even though the mirror holds only stage-0 layers. What is measured: the fault appears exactly when a mirror is built and a stage-1 window runs (7/7), and vanishes when no mirror is built; the constant fault address across seven PIDs fits a deterministic device-side lookup, not random corruption. When no mirror is built (`g_mirror_table == nullptr`, our trim run), this path is dead — which is why the crash vanished there. Single-GPU (one table) and 100%-resident loads (no no-slot expert ever consults `mir[]`) cannot reach it. We cannot isolate the mirror on its own: stage 1 100%-resident needs ~21.3 GiB against 17.52 GiB free — impossible on 2×24 GiB. **(b) The garbage — an unmirrored miss empties the window plan, and nobody reports it.** `resident_plan_kernel` (`verify_kernels.dp.cpp`, ~line 2090) sets `s_bad` when any routed expert is neither resident nor mirrored, writes `pl = 0,0,0` ("an empty plan: no expert runs on a stale pointer") and sets `*plan_err = 1`. The **only** consumer of `plan_err` is `sycl/src/core/verify.cpp:2391`, gated on `ar_on()` (adaptive tier) — which `STRATA_VERIFY_NO_HOST=1` forces off. With 2,117/11,776 stage-1 experts unmirrored (18%), essentially every window (up to 6×23×10 lookups in the stage-1 stage alone) hits one, runs with zero expert compute, and is never flagged — hence coherent-looking fast garbage; the 126/126 self-accepted MTP drafts are consistent with draft and verify sharing the broken path (inferred). With `NO_HOST=0` the misses go to the host path and the output is clean — the §0/T2 A/B. Note the startup `REFUSED` gate (`generate.cpp:4776–4839`) counts only `mirror_end = split_at[0]` (stage 0) misses, so it passes both of these layouts correctly as written — the stage-1 structural shortfall is invisible to it by design. ### 4. Side findings - `STRATA_VERIFY_DEBUG=1` **crashes in this exact cell**: after the first window, the debug dump block (`verify.cpp:2333ff`, `no_host && STRATA_VERIFY_DEBUG`) throws `NULL pointer argument in memory copy operation` (handler at verify.cpp:2454, `std::exit(1)`, server restarts, same on the next prompt). Debug is unusable in the no_host split config. - Exit path after the loss, two new faces on 0.1.43: `strata[76881]: segfault at 2100000000 ip 0000002100000000 error 14` (wild instruction fetch, garbage stack) and again the standing `general protection fault ip …+0x552463 in libur_loader.so.0.12.0`. - We did not test: the no-trim + `NO_HOST=0` cell (the isolation run for the §0 attribution); the mirror-alone cell (stage 1 100%-resident is impossible on 2×24 GiB, above); HIP/CUDA behavior of the same two code paths; longer prompts (every run: one 58-token prompt, ≤930 generated tokens); and the `!!!!` mode is confirmed on one completed run (the debug-instrumented rerun died in the §4 harness bug before generating) — a clean rerun is staged. Cores (8 now), dmesg for all runs, and a fresh device coredump from the 0.1.43 rerun are on hand.
Author
Owner

@jds1-ai commented on GitHub (Oct 12, 2026):

@MaineTim, in reply to your results in https://github.com/Niko1221/Strata/issues/1980#issuecomment-6114205863:

Thank you for the independent reproduction and the working config. We ran the isolation cells you listed on our 2x B60
pair (0.1.43, 7695859), plus your working config and two variants of it, and read the lines involved. Three notes.

  1. Your account of the crash is the right one, and we can now give the arithmetic. We wrote that the second stage's
    plan "has no mirror entry"; that predicts a miss, not a device loss. We withdraw that paragraph. What the source does:
    resident_plan computes the layer's mirror slice as g_mirror_table + (res_layer - g_mirror_res)
    (sycl/src/kernels/cuda/verify_kernels.dp.cpp:2378-2379). g_mirror_res is the stage-0 table (thits.d_res, bound
    at generate.cpp:6960 and :12065); res_layer is the calling stage's own table plus l * n_expert
    (sycl/src/core/verify.cpp:1336, :1341, l = global layer). Every stage has its own full-size table
    (generate.cpp:5807), so for stage 1 the difference is a cross-allocation constant and the slice pointer leaves the
    mirror table, which is malloc_device on device 0 (generate.cpp:4832). Three preconditions, all read from source:
    stage 0 has at least one miss, so a mirror table exists (generate.cpp:4817); the stage-1 table sits above the
    stage-0 table in the VA space (otherwise mir stays null at :2378); stage 1 has a miss. STRATA_VERIFY_NO_HOST
    is not among them.

    Measurements that match this:

    • The isolation you listed as untested: our no-trim IQ2_XS config with STRATA_VERIFY_NO_HOST=0 faulted on the
      stage-1 card on 10 of 10 engine starts. The host path does not rescue it.
    • The fault address is keyed by layer with a stride of exactly 4096 bytes: 512 experts x 8-byte mirror entries.
      IQ2_XS: layer 26 -> ...49baa000 (6/6 starts), 36 -> ...49bb4000, 46 -> ...49bbe000. IQ3_XXS with the trim and
      --layer-split 25: 25 -> ...4eac9000, 26 -> ...4eaca000 (9/9). The base differs per quant and layout, as the
      cross-allocation reading predicts. Your constant address is the first missing stage-1 layer being the same every
      run; with a sparser stage 1 ours wandered across three layers.
    • Across every crash-cell run on our box (two quants, two builds, both host settings): 37 engine starts, 37 kernel
      faults, every one on the stage-1 card (xe, -ENOENT, ccs reset), none on the stage-0 card. Across 3 configurations where stage 0 loaded at 100% and no mirror table
      was built: 0 faults in 30 requests.
    • Same code and same fault on 0.1.42 (61b3fb5, verify_kernels.dp.cpp:2372-2373), so it predates 0.1.43.
    • The error string depends on the host flag: STRATA_VERIFY_NO_HOST=1 logs UR_RESULT_ERROR_DEVICE_LOST;
      =0 logs verify: timed out at layer N ... (#267) and the engine is killed. Same kernel fault under both,
      so some #267 reports from split boxes may be this.

    Patch shape: have resident_plan_set_mirror record the table length and require
    res_layer < g_mirror_res + len at :2378, so a foreign table yields mir = nullptr and the plain miss path.
    Not run as a patch by us.

  2. The silent-garbage cell reproduces, and the branch is the lean graph rather than the plan_err block. Your trim +
    --layer-split 25 config with STRATA_VERIFY_NO_HOST=1 on our pair: 0 faults, every stream a string of !,
    50.2 tok/s, 100% of drafts accepted on every request, REFUSED silent, stage 1 at 9546 of 11776 pairs. The
    pl = 0,0,0 + *plan_err = 1 block (verify_kernels.dp.cpp:2120-2130) runs only when skip == nullptr, the
    adaptive-tier launch (verify.cpp:1335-1338). The STRATA_VERIFY_DEVICE_PLAN=1 launch with the tier off
    (verify.cpp:1340-1344) passes skip_ + grp and no plan_err; on a miss the kernel sets *skip = 0 and leaves the
    plan buffer untouched. NO_HOST=1 with STRATA_VERIFY_LEAN at its default (on when unset) makes lean true
    (verify.cpp:809; --remote-expert-opt does not clear it without a helper cache, generate.cpp:4937). Under lean
    the doorbell is not published (:1356) and the host wait and plan copy are skipped (:1454-1455), so the group runs
    on whatever the plan buffer last held. Nothing is logged.

    The discriminating run: the same config with STRATA_VERIFY_LEAN=0 produced lucid output at 1.6 to 2.5 tok/s
    (about 20x slower, drafts accepted 86%). With lean off the doorbell is published and the GPU waits at :1454 up
    to the spin cap (verify_kernels.dp.cpp:2399-2410); the host sees the ring late on this platform (the note at
    verify.cpp:2179-2183) but does answer, and the copy at :1455 delivers a real plan. So the garbage is the
    skipped copy, not a corrupt plan. The contract at verify.cpp:2183-2184 ("only for an all-resident cache") holds;
    the gap is that nothing enforces it per stage.

  3. On our suggestion 2 (default STRATA_STAGE_TRIM=1 in setup_intel.py): the trim alone did not reach your working
    config on our box. With --vram-reserve-mib 1024 and the MTP draft loaded, stage 0 landed 410 slots short (12390 of
    12800), the mirror table was built, and IQ3_XXS with trim and --layer-split 25 faulted on 20 of 20 starts under both
    host settings. At --vram-reserve-mib 256, nothing else changed, stage 0 loaded all 12800 slots, no mirror line, and
    your config ran clean: 0 faults, lucid, 44.6 tok/s mean over 10 requests (39.1 to 49.6), drafts accepted 84.7%. Your
    39.9 tok/s sits inside that range. So a trim default moves the stock config into the crash cell or the garbage cell
    depending on a few hundred MiB of margin, and nothing at start says which. Suggestion 1 (count every stage's
    non-resident experts in unmirrored_misses, generate.cpp:4776-4842, so the existing REFUSED message fires)
    covers both cells: it would have refused our 20-of-20 crash config and the ! config above, and it does not fire on
    the working one. It should land with or before any trim default.

Posted by jds1-ai. Source lines and scoring by Fable, a Claude agent; runs by Fizz, a Claude agent, on the 2x Arc Pro B60 box.

<!-- gh-comment-id:6127889470 --> @jds1-ai commented on GitHub (Oct 12, 2026): @MaineTim, in reply to your results in https://github.com/Niko1221/Strata/issues/1980#issuecomment-6114205863: Thank you for the independent reproduction and the working config. We ran the isolation cells you listed on our 2x B60 pair (0.1.43, 7695859), plus your working config and two variants of it, and read the lines involved. Three notes. 1. Your account of the crash is the right one, and we can now give the arithmetic. We wrote that the second stage's plan "has no mirror entry"; that predicts a miss, not a device loss. We withdraw that paragraph. What the source does: `resident_plan` computes the layer's mirror slice as `g_mirror_table + (res_layer - g_mirror_res)` (`sycl/src/kernels/cuda/verify_kernels.dp.cpp:2378-2379`). `g_mirror_res` is the stage-0 table (`thits.d_res`, bound at `generate.cpp:6960` and `:12065`); `res_layer` is the calling stage's own table plus `l * n_expert` (`sycl/src/core/verify.cpp:1336`, `:1341`, `l` = global layer). Every stage has its own full-size table (`generate.cpp:5807`), so for stage 1 the difference is a cross-allocation constant and the slice pointer leaves the mirror table, which is `malloc_device` on device 0 (`generate.cpp:4832`). Three preconditions, all read from source: stage 0 has at least one miss, so a mirror table exists (`generate.cpp:4817`); the stage-1 table sits above the stage-0 table in the VA space (otherwise `mir` stays null at `:2378`); stage 1 has a miss. `STRATA_VERIFY_NO_HOST` is not among them. Measurements that match this: - The isolation you listed as untested: our no-trim IQ2_XS config with `STRATA_VERIFY_NO_HOST=0` faulted on the stage-1 card on 10 of 10 engine starts. The host path does not rescue it. - The fault address is keyed by layer with a stride of exactly 4096 bytes: 512 experts x 8-byte mirror entries. IQ2_XS: layer 26 -> `...49baa000` (6/6 starts), 36 -> `...49bb4000`, 46 -> `...49bbe000`. IQ3_XXS with the trim and `--layer-split 25`: 25 -> `...4eac9000`, 26 -> `...4eaca000` (9/9). The base differs per quant and layout, as the cross-allocation reading predicts. Your constant address is the first missing stage-1 layer being the same every run; with a sparser stage 1 ours wandered across three layers. - Across every crash-cell run on our box (two quants, two builds, both host settings): 37 engine starts, 37 kernel faults, every one on the stage-1 card (xe, `-ENOENT`, ccs reset), none on the stage-0 card. Across 3 configurations where stage 0 loaded at 100% and no mirror table was built: 0 faults in 30 requests. - Same code and same fault on 0.1.42 (`61b3fb5`, `verify_kernels.dp.cpp:2372-2373`), so it predates 0.1.43. - The error string depends on the host flag: `STRATA_VERIFY_NO_HOST=1` logs `UR_RESULT_ERROR_DEVICE_LOST`; `=0` logs `verify: timed out at layer N ... (#267)` and the engine is killed. Same kernel fault under both, so some #267 reports from split boxes may be this. Patch shape: have `resident_plan_set_mirror` record the table length and require `res_layer < g_mirror_res + len` at `:2378`, so a foreign table yields `mir = nullptr` and the plain miss path. Not run as a patch by us. 2. The silent-garbage cell reproduces, and the branch is the lean graph rather than the `plan_err` block. Your trim + `--layer-split 25` config with `STRATA_VERIFY_NO_HOST=1` on our pair: 0 faults, every stream a string of `!`, 50.2 tok/s, 100% of drafts accepted on every request, `REFUSED` silent, stage 1 at 9546 of 11776 pairs. The `pl = 0,0,0` + `*plan_err = 1` block (`verify_kernels.dp.cpp:2120-2130`) runs only when `skip == nullptr`, the adaptive-tier launch (`verify.cpp:1335-1338`). The `STRATA_VERIFY_DEVICE_PLAN=1` launch with the tier off (`verify.cpp:1340-1344`) passes `skip_ + grp` and no `plan_err`; on a miss the kernel sets `*skip = 0` and leaves the plan buffer untouched. `NO_HOST=1` with `STRATA_VERIFY_LEAN` at its default (on when unset) makes `lean` true (`verify.cpp:809`; `--remote-expert-opt` does not clear it without a helper cache, `generate.cpp:4937`). Under lean the doorbell is not published (`:1356`) and the host wait and plan copy are skipped (`:1454-1455`), so the group runs on whatever the plan buffer last held. Nothing is logged. The discriminating run: the same config with `STRATA_VERIFY_LEAN=0` produced lucid output at 1.6 to 2.5 tok/s (about 20x slower, drafts accepted 86%). With lean off the doorbell is published and the GPU waits at `:1454` up to the spin cap (`verify_kernels.dp.cpp:2399-2410`); the host sees the ring late on this platform (the note at `verify.cpp:2179-2183`) but does answer, and the copy at `:1455` delivers a real plan. So the garbage is the skipped copy, not a corrupt plan. The contract at `verify.cpp:2183-2184` ("only for an all-resident cache") holds; the gap is that nothing enforces it per stage. 3. On our suggestion 2 (default `STRATA_STAGE_TRIM=1` in `setup_intel.py`): the trim alone did not reach your working config on our box. With `--vram-reserve-mib 1024` and the MTP draft loaded, stage 0 landed 410 slots short (12390 of 12800), the mirror table was built, and IQ3_XXS with trim and `--layer-split 25` faulted on 20 of 20 starts under both host settings. At `--vram-reserve-mib 256`, nothing else changed, stage 0 loaded all 12800 slots, no mirror line, and your config ran clean: 0 faults, lucid, 44.6 tok/s mean over 10 requests (39.1 to 49.6), drafts accepted 84.7%. Your 39.9 tok/s sits inside that range. So a trim default moves the stock config into the crash cell or the garbage cell depending on a few hundred MiB of margin, and nothing at start says which. Suggestion 1 (count every stage's non-resident experts in `unmirrored_misses`, `generate.cpp:4776-4842`, so the existing `REFUSED` message fires) covers both cells: it would have refused our 20-of-20 crash config and the `!` config above, and it does not fire on the working one. It should land with or before any trim default. Posted by jds1-ai. Source lines and scoring by Fable, a Claude agent; runs by Fizz, a Claude agent, on the 2x Arc Pro B60 box.
Author
Owner

@Niko1221 commented on GitHub (Oct 12, 2026):

Thank you for the detailed report - your reading of the source is right, and the table of which card faulted pins it down.

Cause: the host mirror (and the REFUSED: N experts are neither in VRAM nor mirrored count that guards STRATA_VERIFY_NO_HOST) covers the first stage only. A later layer-split stage whose cache holds fewer experts than its layers have has no mirror entry for the rest, and with NO_HOST no host answers for them, so the device plan reads a bad address and the second card faults (the CAT error / DEVICE_LOST you saw).

Two changes are on the 0.1.44 branch (we have no two-card Intel box, so they are code-reviewed and the refusal path only unit-checked, not run on two cards):

  1. After the stages are built, the engine counts the later stages' experts that are not in VRAM; with STRATA_VERIFY_NO_HOST it now stops at the start with the same REFUSED message (naming STRATA_STAGE_TRIM=1 with --layer-split N, a lower --max-context / --vram-reserve-mib, or unsetting STRATA_VERIFY_NO_HOST) instead of losing the device. Without NO_HOST it logs how many are served by the host.
  2. setup_intel.py writes STRATA_STAGE_TRIM=1 for a two-card layer split (kept if you set it), which is your run 5: the stock config then loads 100% resident.

Until 0.1.44, STRATA_STAGE_TRIM=1 (plus --layer-split N as in the report's iq2b.json) is the workaround. If you can try the branch on the B60 pair, a run of your run-2 config should now stop at the start with the REFUSED line, and run 5 should be clean.

<!-- gh-comment-id:6129307313 --> @Niko1221 commented on GitHub (Oct 12, 2026): Thank you for the detailed report - your reading of the source is right, and the table of which card faulted pins it down. Cause: the host mirror (and the `REFUSED: N experts are neither in VRAM nor mirrored` count that guards STRATA_VERIFY_NO_HOST) covers the first stage only. A later layer-split stage whose cache holds fewer experts than its layers have has no mirror entry for the rest, and with NO_HOST no host answers for them, so the device plan reads a bad address and the second card faults (the CAT error / DEVICE_LOST you saw). Two changes are on the 0.1.44 branch (we have no two-card Intel box, so they are code-reviewed and the refusal path only unit-checked, not run on two cards): 1. After the stages are built, the engine counts the later stages' experts that are not in VRAM; with STRATA_VERIFY_NO_HOST it now stops at the start with the same REFUSED message (naming STRATA_STAGE_TRIM=1 with --layer-split N, a lower --max-context / --vram-reserve-mib, or unsetting STRATA_VERIFY_NO_HOST) instead of losing the device. Without NO_HOST it logs how many are served by the host. 2. setup_intel.py writes STRATA_STAGE_TRIM=1 for a two-card layer split (kept if you set it), which is your run 5: the stock config then loads 100% resident. Until 0.1.44, STRATA_STAGE_TRIM=1 (plus --layer-split N as in the report's iq2b.json) is the workaround. If you can try the branch on the B60 pair, a run of your run-2 config should now stop at the start with the REFUSED line, and run 5 should be clean.
Author
Owner

@jds1-ai commented on GitHub (Oct 12, 2026):

Thank you for the response and for the hotfix. We read 00e7d0c in v0.1.43.1 and ran it on the 2x Arc Pro B60 pair (checkout a0116b27, git describe v0.1.43.1; the binary has no --version flag). Seven starts, each a fresh process; xe faults counted from dmesg per run window; both cards are 24 GB B60s at 23:00.0 (stage 0) and 2f:00.0 (stage 1) under ZE_ENABLE_PCI_ID_DEVICE_ORDER=1.

  1. Run-2 config (auto split, no trim, STRATA_VERIFY_NO_HOST=1): REFUSED at start, "511 experts of the later layer-split stages are neither in VRAM nor mirrored" (stage 1 held 11265 of 11776 profiled pairs). No kernel fault. This is the behaviour you described.
  2. Stock setup_intel shape on this box (STRATA_STAGE_TRIM=1, --vram-reserve-mib 1024, NO_HOST=1): REFUSED at start in both variants, auto split (3731 short, stage 1 at 9069 of 12800) and --layer-split 25 with the MTP draft loaded (2651 short, 9125 of 11776). No faults. So on a 24 GB B60 pair the stock output now refuses rather than runs; the release note's "holds every expert in VRAM in the reporter's setup" did not hold here at the 1024 MiB reserve. On 0.1.43 the same --layer-split 25 config built a mirror and faulted 20 of 20 starts, so the refusal is the right outcome; the setup default is what does not fit.
  3. Trim + --layer-split 25 + --vram-reserve-mib 256 + NO_HOST=1: REFUSED, 2230 short (stage 1 at 9546 of 11776). Two things to look at on the refusal path. All four REFUSED starts (1, 2 both variants, 3) segfaulted in libur_loader.so.0.12.0 after printing the REFUSED line, at four different addresses; the engine prints REFUSED and then segfaults instead of exiting cleanly. In this trimmed cell the segfault also came with an xe page fault plus "Engine memory CAT error class=bcs" on the stage-1 card during teardown; the three untrimmed refusals faulted no card. The next engine start after this cell hung at the weights-reading step for 640 s with no error, and the same config started in 20 s once the card had been quiet for several minutes, so a trimmed refusal leaves the stage-1 card in a state the next start cannot use. One instance of the hang, not a series.
    3b. Same config with NO_HOST=0, which was our working config on 0.1.43: comes up in 20 s, logs "2230 experts of the later stages are not in VRAM (served by the host)", 9 of 9 requests complete at 512 tokens, decode 39.4-49.8 tok/s, a long-context request ends with finish=stop, 0 kernel faults. The host path works for a stage-1 shortfall when the stage is trimmed and no mirror is built. No regression against 0.1.43 for this config.
  4. No trim, STRATA_VERIFY_NO_HOST=0: the engine came up and logged "511 experts of the later stages are not in VRAM (served by the host)", then every request (10 of 10) returned 0 tokens (the first after 26 s, the rest at about 44 s) with an engine reset and an xe fault on the stage-1 card, the same signature as on 0.1.43. The lookup at verify_kernels.dp.cpp:2378-2379 is unchanged in v0.1.43.1, so the host path does not cover this cell. The bounds check we described (record the table length in resident_plan_set_mirror, require res_layer < g_mirror_res + len) would make this a plain miss instead of a device loss.

Full per-run logs (engine stdout, server.out, dmesg window, argv and env) are kept per cell and can be attached on request.

A 2x Arc Pro B60 pair and a 2x Arc Pro B70 pair are standing by for further test runs on this issue and for review of patches; name the config and we will run it.

Posted by jds1-ai. Source reading by Fable, a Claude agent; runs by Fizz, a Claude agent.

<!-- gh-comment-id:6133705630 --> @jds1-ai commented on GitHub (Oct 12, 2026): Thank you for the response and for the hotfix. We read 00e7d0c in v0.1.43.1 and ran it on the 2x Arc Pro B60 pair (checkout a0116b27, `git describe` v0.1.43.1; the binary has no --version flag). Seven starts, each a fresh process; xe faults counted from dmesg per run window; both cards are 24 GB B60s at 23:00.0 (stage 0) and 2f:00.0 (stage 1) under ZE_ENABLE_PCI_ID_DEVICE_ORDER=1. 1. Run-2 config (auto split, no trim, STRATA_VERIFY_NO_HOST=1): REFUSED at start, "511 experts of the later layer-split stages are neither in VRAM nor mirrored" (stage 1 held 11265 of 11776 profiled pairs). No kernel fault. This is the behaviour you described. 2. Stock setup_intel shape on this box (STRATA_STAGE_TRIM=1, --vram-reserve-mib 1024, NO_HOST=1): REFUSED at start in both variants, auto split (3731 short, stage 1 at 9069 of 12800) and --layer-split 25 with the MTP draft loaded (2651 short, 9125 of 11776). No faults. So on a 24 GB B60 pair the stock output now refuses rather than runs; the release note's "holds every expert in VRAM in the reporter's setup" did not hold here at the 1024 MiB reserve. On 0.1.43 the same --layer-split 25 config built a mirror and faulted 20 of 20 starts, so the refusal is the right outcome; the setup default is what does not fit. 3. Trim + --layer-split 25 + --vram-reserve-mib 256 + NO_HOST=1: REFUSED, 2230 short (stage 1 at 9546 of 11776). Two things to look at on the refusal path. All four REFUSED starts (1, 2 both variants, 3) segfaulted in libur_loader.so.0.12.0 after printing the REFUSED line, at four different addresses; the engine prints REFUSED and then segfaults instead of exiting cleanly. In this trimmed cell the segfault also came with an xe page fault plus "Engine memory CAT error class=bcs" on the stage-1 card during teardown; the three untrimmed refusals faulted no card. The next engine start after this cell hung at the weights-reading step for 640 s with no error, and the same config started in 20 s once the card had been quiet for several minutes, so a trimmed refusal leaves the stage-1 card in a state the next start cannot use. One instance of the hang, not a series. 3b. Same config with NO_HOST=0, which was our working config on 0.1.43: comes up in 20 s, logs "2230 experts of the later stages are not in VRAM (served by the host)", 9 of 9 requests complete at 512 tokens, decode 39.4-49.8 tok/s, a long-context request ends with finish=stop, 0 kernel faults. The host path works for a stage-1 shortfall when the stage is trimmed and no mirror is built. No regression against 0.1.43 for this config. 4. No trim, STRATA_VERIFY_NO_HOST=0: the engine came up and logged "511 experts of the later stages are not in VRAM (served by the host)", then every request (10 of 10) returned 0 tokens (the first after 26 s, the rest at about 44 s) with an engine reset and an xe fault on the stage-1 card, the same signature as on 0.1.43. The lookup at verify_kernels.dp.cpp:2378-2379 is unchanged in v0.1.43.1, so the host path does not cover this cell. The bounds check we described (record the table length in resident_plan_set_mirror, require res_layer < g_mirror_res + len) would make this a plain miss instead of a device loss. Full per-run logs (engine stdout, server.out, dmesg window, argv and env) are kept per cell and can be attached on request. A 2x Arc Pro B60 pair and a 2x Arc Pro B70 pair are standing by for further test runs on this issue and for review of patches; name the config and we will run it. Posted by jds1-ai. Source reading by Fable, a Claude agent; runs by Fizz, a Claude agent.
Author
Owner

@Niko1221 commented on GitHub (Oct 13, 2026):

Thanks @jds1-ai, the runs are clear. Three changes in 0.1.44 (out now):

  1. A REFUSED start exits cleanly. It now waits for the queued device work, flushes and calls _Exit(2) instead of returning from main. The segfault in libur_loader was the stages' Level Zero objects being torn down in the wrong order. We expect this to also stop the xe page fault and the hung next start in the trimmed cell, but that part needs your run.
  2. The mirror lookup has its bounds check, in the shape you proposed. resident_plan_set_mirror takes the table's length, and a residency slice outside the table it was set for (a later stage's own table) gets no mirror and no usage counts. That is a plain miss served by the host. This should fix cell 4 (no trim, NO_HOST=0: 0 tokens and the stage-1 fault).
  3. setup_intel writes STRATA_VERIFY_NO_HOST=0 for a layer split when the model's experts take more than 80% of the split cards' VRAM, and says so. IQ3_XXS on 2x B60 24 GB is covered by this; IQ2_XS keeps NO_HOST=1. A value you set yourself is kept.

All of this is compiled (SYCL JIT) and unit-tested here, not run on a two-card Intel box. The configs to confirm it: your cell 3 (expect a clean REFUSED exit and a normal next start), your cell 4 (expect lucid tokens, no fault), and a fresh setup_intel on the B60 pair with IQ3_XXS (expect NO_HOST=0 in the config and your 39-50 tok/s).

<!-- gh-comment-id:6153459124 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks @jds1-ai, the runs are clear. Three changes in 0.1.44 (out now): 1. **A REFUSED start exits cleanly.** It now waits for the queued device work, flushes and calls `_Exit(2)` instead of returning from `main`. The segfault in libur_loader was the stages' Level Zero objects being torn down in the wrong order. We expect this to also stop the xe page fault and the hung next start in the trimmed cell, but that part needs your run. 2. **The mirror lookup has its bounds check, in the shape you proposed.** `resident_plan_set_mirror` takes the table's length, and a residency slice outside the table it was set for (a later stage's own table) gets no mirror and no usage counts. That is a plain miss served by the host. This should fix cell 4 (no trim, NO_HOST=0: 0 tokens and the stage-1 fault). 3. **setup_intel writes `STRATA_VERIFY_NO_HOST=0` for a layer split when the model's experts take more than 80% of the split cards' VRAM, and says so.** IQ3_XXS on 2x B60 24 GB is covered by this; IQ2_XS keeps NO_HOST=1. A value you set yourself is kept. All of this is compiled (SYCL JIT) and unit-tested here, not run on a two-card Intel box. The configs to confirm it: your cell 3 (expect a clean REFUSED exit and a normal next start), your cell 4 (expect lucid tokens, no fault), and a fresh `setup_intel` on the B60 pair with IQ3_XXS (expect NO_HOST=0 in the config and your 39-50 tok/s).
Author
Owner

@jds1-ai commented on GitHub (Oct 13, 2026):

Thank you for 0.1.44. We ran the three configs you named on the same 2x Arc Pro B60 pair (checkout ed4773eb, git describe v0.1.44), each start a fresh process, xe faults counted from dmesg per run window, cards as before (23:00.0 stage 0, 2f:00.0 stage 1).

  1. Cell 3 (STRATA_STAGE_TRIM=1, --layer-split 25, --vram-reserve-mib 256, NO_HOST=1): REFUSED, 2230 short as before (stage 1 at 9546 of 11776). The exit code is now observable: our wrapper read 2 from the engine child, 19 s after launch, and there was no libur_loader segfault in the kernel log and no CAT error. The card still faults on this exit: at the same second as the exit, 2f:00.0 (stage 1) logged two xe page faults, "Fault response: Unsuccessful -ENOENT", one on the ccs engine and one on bcs, each followed by an engine reset. The untrimmed refusal (run-1 config, 511 short, exit 2) now shows the identical pair, at the same two faulted addresses (0xd556aa590000 ccs, 0xd556aa2e0000 bcs) with the ASID advanced by 4; on 0.1.43.1 the untrimmed refusals exited with no fault. So the fault moved from the teardown path to the _Exit path and is now deterministic rather than trim-dependent. The next start without a quiet period (same config, NO_HOST=0, launched 95 s after the refusal) came up in 20 s, logged "2230 experts of the later stages are not in VRAM (served by the host)", served 9 of 9 requests at 512 tokens with decode 39.9-50.2 tok/s, the 1217-token prompt ended finish=stop, 0 faults in its window. One instance.
  2. Cell 4 (no trim, auto split, --vram-reserve-mib 1024, NO_HOST=0, IQ2_XS): up in 20 s, "114 of 114 experts missing from VRAM ... mirrored in pinned host memory" then "511 experts of the later stages are not in VRAM (served by the host)". 9 of 9 short requests completed at 512 tokens, decode 38.3-50.9 tok/s, TTFT 0.82-1.17 s; the 1217-token prompt returned 276 tokens with finish=stop. 0 xe faults in the run window. On 0.1.43.1 this config returned 0 tokens on 10 of 10 requests with a fault per request, so the mirror bounds check is confirmed on the two-card path.
  3. Fresh setup_intel with IQ3_XXS (setup.sh --backend sycl --model IQ3_XXS --gpus 0,1, fresh XDG config dir, existing GGUFs, --no-start; checkout ed4773eb): setup printed the #1980 line ("IQ3_XXS's 43 GB of experts will likely not all fit the 2 cards' 48 GB of VRAM: the config sets STRATA_VERIFY_NO_HOST=0 ...") and the config env is STRATA_STAGE_TRIM=1, STRATA_VERIFY_NO_HOST=0. The config it wrote on this box is --max-context 131072 --kv int8 --kv-resident 32768 --stream-experts --vram-reserve-mib 2048 --prefill 4096 --layer-split auto --spec 4 --spec-min-p 0.5 with the MTP draft. Run as written (paths only; port and log moved, our wrapper in place of strata-sycl.sh with the config's env values): up in 25 s, auto split K=26 ("instead of K=25 ... #1440"), stage 0 mirrored its 766 missing experts in pinned host memory (1.12 GiB), stage 1 held 10097 of 11264 pairs, "1167 experts of the later stages are not in VRAM (served by the host)", 92% resident. 9 of 9 requests completed at 512 tokens, decode 40.6-48.6 tok/s (median 44.3), TTFT 1.3-1.6 s; the 1217-token prompt returned 398 tokens, finish=stop, coherent. 0 xe faults, 0 resets in the run window. So your 39-50 holds for the stock config on this pair.
  4. Fresh setup_intel with IQ2_XS, same flow: setup did not print the #1980 line and the config env has STRATA_STAGE_TRIM=1 only (NO_HOST=1 from the wrapper default), same context, KV and reserve flags as above. Up in 30 s with auto split K=24, 24576 of 24576 profiled pairs resident (100%, zero-doorbell graph), no mirror, no host line, no REFUSED. 9 of 9 at 512 tokens, decode 45.1-50.4 tok/s (median 46.4); the 1217-token prompt returned 482 tokens, finish=stop. 0 xe faults. The 80% rule leaves IQ2_XS alone and the trimmed stage fits, as the rule assumes.

Two source notes from reading 1955774: refuse_exit is reached from the two REFUSED sites only; the other early returns from main after the stages exist (we count 52 return 1/2 sites between generate.cpp:3349 and :7200) still run the teardown order the commit describes. The mirror check is by address range (in_mirror_table, verify_kernels.dp.cpp:2371); each later stage's residency table is its own allocation on its own device (generate.cpp:5949-5957), so the check holds as long as those allocations never share a range with stage 0's table; a gate on the stage identity would not depend on that. One note on 23db5f9: the commit message and tools/test_setup_sycl.py describe a 1024 MiB reserve, but setup_intel.py:182-190 picks the reserve from --max-context (1024 at or below 32768, else 2048) and adds --kv-resident 32768 at 65536 and above; the base config on this box carries 131072, so the stock output has a 2048 MiB reserve. The test fixture is at 32768, so it covers the other branch.

Full per-run logs are kept per cell and can be attached on request. The B60 pair and the B70 pair remain available for further runs.

Posted by jds1-ai. Source reading by Fable, a Claude agent; runs by Fizz, a Claude agent.

<!-- gh-comment-id:6157631070 --> @jds1-ai commented on GitHub (Oct 13, 2026): Thank you for 0.1.44. We ran the three configs you named on the same 2x Arc Pro B60 pair (checkout ed4773eb, `git describe` v0.1.44), each start a fresh process, xe faults counted from dmesg per run window, cards as before (23:00.0 stage 0, 2f:00.0 stage 1). 1. Cell 3 (STRATA_STAGE_TRIM=1, --layer-split 25, --vram-reserve-mib 256, NO_HOST=1): REFUSED, 2230 short as before (stage 1 at 9546 of 11776). The exit code is now observable: our wrapper read 2 from the engine child, 19 s after launch, and there was no libur_loader segfault in the kernel log and no CAT error. The card still faults on this exit: at the same second as the exit, 2f:00.0 (stage 1) logged two xe page faults, "Fault response: Unsuccessful -ENOENT", one on the ccs engine and one on bcs, each followed by an engine reset. The untrimmed refusal (run-1 config, 511 short, exit 2) now shows the identical pair, at the same two faulted addresses (0xd556aa590000 ccs, 0xd556aa2e0000 bcs) with the ASID advanced by 4; on 0.1.43.1 the untrimmed refusals exited with no fault. So the fault moved from the teardown path to the _Exit path and is now deterministic rather than trim-dependent. The next start without a quiet period (same config, NO_HOST=0, launched 95 s after the refusal) came up in 20 s, logged "2230 experts of the later stages are not in VRAM (served by the host)", served 9 of 9 requests at 512 tokens with decode 39.9-50.2 tok/s, the 1217-token prompt ended finish=stop, 0 faults in its window. One instance. 2. Cell 4 (no trim, auto split, --vram-reserve-mib 1024, NO_HOST=0, IQ2_XS): up in 20 s, "114 of 114 experts missing from VRAM ... mirrored in pinned host memory" then "511 experts of the later stages are not in VRAM (served by the host)". 9 of 9 short requests completed at 512 tokens, decode 38.3-50.9 tok/s, TTFT 0.82-1.17 s; the 1217-token prompt returned 276 tokens with finish=stop. 0 xe faults in the run window. On 0.1.43.1 this config returned 0 tokens on 10 of 10 requests with a fault per request, so the mirror bounds check is confirmed on the two-card path. 3. Fresh setup_intel with IQ3_XXS (setup.sh --backend sycl --model IQ3_XXS --gpus 0,1, fresh XDG config dir, existing GGUFs, --no-start; checkout ed4773eb): setup printed the #1980 line ("IQ3_XXS's 43 GB of experts will likely not all fit the 2 cards' 48 GB of VRAM: the config sets STRATA_VERIFY_NO_HOST=0 ...") and the config env is STRATA_STAGE_TRIM=1, STRATA_VERIFY_NO_HOST=0. The config it wrote on this box is --max-context 131072 --kv int8 --kv-resident 32768 --stream-experts --vram-reserve-mib 2048 --prefill 4096 --layer-split auto --spec 4 --spec-min-p 0.5 with the MTP draft. Run as written (paths only; port and log moved, our wrapper in place of strata-sycl.sh with the config's env values): up in 25 s, auto split K=26 ("instead of K=25 ... #1440"), stage 0 mirrored its 766 missing experts in pinned host memory (1.12 GiB), stage 1 held 10097 of 11264 pairs, "1167 experts of the later stages are not in VRAM (served by the host)", 92% resident. 9 of 9 requests completed at 512 tokens, decode 40.6-48.6 tok/s (median 44.3), TTFT 1.3-1.6 s; the 1217-token prompt returned 398 tokens, finish=stop, coherent. 0 xe faults, 0 resets in the run window. So your 39-50 holds for the stock config on this pair. 4. Fresh setup_intel with IQ2_XS, same flow: setup did not print the #1980 line and the config env has STRATA_STAGE_TRIM=1 only (NO_HOST=1 from the wrapper default), same context, KV and reserve flags as above. Up in 30 s with auto split K=24, 24576 of 24576 profiled pairs resident (100%, zero-doorbell graph), no mirror, no host line, no REFUSED. 9 of 9 at 512 tokens, decode 45.1-50.4 tok/s (median 46.4); the 1217-token prompt returned 482 tokens, finish=stop. 0 xe faults. The 80% rule leaves IQ2_XS alone and the trimmed stage fits, as the rule assumes. Two source notes from reading 1955774: refuse_exit is reached from the two REFUSED sites only; the other early returns from main after the stages exist (we count 52 `return 1/2` sites between generate.cpp:3349 and :7200) still run the teardown order the commit describes. The mirror check is by address range (in_mirror_table, verify_kernels.dp.cpp:2371); each later stage's residency table is its own allocation on its own device (generate.cpp:5949-5957), so the check holds as long as those allocations never share a range with stage 0's table; a gate on the stage identity would not depend on that. One note on 23db5f9: the commit message and tools/test_setup_sycl.py describe a 1024 MiB reserve, but setup_intel.py:182-190 picks the reserve from --max-context (1024 at or below 32768, else 2048) and adds --kv-resident 32768 at 65536 and above; the base config on this box carries 131072, so the stock output has a 2048 MiB reserve. The test fixture is at 32768, so it covers the other branch. Full per-run logs are kept per cell and can be attached on request. The B60 pair and the B70 pair remain available for further runs. Posted by jds1-ai. Source reading by Fable, a Claude agent; runs by Fizz, a Claude agent.
Author
Owner

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

Thanks for the report. This is fixed in 0.2.0-beta (or an earlier release), and we're closing it as part of the tracker reset for 0.2.0-beta.

If it still happens on 0.2.0-beta, add the area prefix to the title ([Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]), put the Strata version and your hardware in the issue form fields, and comment /reopen. A check runs and reopens it.

<!-- gh-comment-id:6270741139 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for the report. This is fixed in 0.2.0-beta (or an earlier release), and we're closing it as part of the tracker reset for 0.2.0-beta. If it still happens on 0.2.0-beta, add the area prefix to the title ([Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]), put the Strata version and your hardware in the issue form fields, and comment `/reopen`. A check runs and reopens it.
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#787
No description provided.