[GH-ISSUE #5160] [Engine] Intel Arc Pro B70 (SYCL): output corrupts to "!!!!" as prompts get longer, with drafting on or off #3069

Open
opened 2026-11-07 14:37:48 +07:00 by bsakaguchi · 11 comments
Owner

Originally created by @gstos on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5160

Area

Engine

Desktop app, Terminal or source?

Terminal (strata launch --backend intel)

What happened

On an Arc Pro B70 (SYCL engine), Qwen3.8-Flash-Next IQ3_XXS served with the DFlash2 drafter produces corrupt output at temperature 0: long answers degrade into a stream of !!!!, or into a repetition loop (draft accepted 322/322), or ignore the prompt. The same prompt run six times gave different output each time (4 coherent but truncated, 1 correct, 1 entirely !!!! with draft=0/0), so it is not deterministic.

With the drafter turned off (--drafting off --set drafting=off --set mtp=false, engine then runs with --spec 4 and no --draft), the same card, model, flags and kernel are clean:

  • the same short prompt 8 of 8 times gave the identical correct answer (30-36 tok/s)
  • four generations of 200 to 500 tokens (prose, a list, a Python function) were coherent, no !!!!, no loops

So the DFlash2 path on SYCL/xe is what corrupts the output here, not the model files, the xe firmware, or the PCIe link. This looks related to #5138, which notes Auto never picks DFlash2 on SYCL; on this install I never chose a drafter and the launch still started the engine with it (--draft dflash2 --draft-model .../qwen3.8-flash-next-dflash2.q4_0.pack --draft-fallback none --mtp <dir> --spec 6 --draft-conf 0.6), with the DFlash2 pack present in the data dir.

Note: --drafting off on its own did not remove --draft dflash2 from the engine command line for me; I had to add --set drafting=off --set mtp=false. Worth checking whether the flag is honoured on the Intel route.

Smallest steps or command that reproduce it

export ZES_ENABLE_SYSMAN=1 STRATA_VERIFY_DEVICE_PLAN=1
strata launch --backend intel --family qwen --model iq3_xxs \
  --model-path /models/strata/models/IQ3_XXS --data-dir /models/strata \
  --context 64k --kv fp16 --vision off --tune skip \
  --set prefill=8192 --set vram-reserve-mib=1536 --set kv-resident=32768 \
  --access local --port 8080 --yes --restart --no-tui

Then POST the same prompt several times to /v1/chat/completions with temperature: 0 and max_tokens of 60 to 500. Add --drafting off --set drafting=off --set mtp=false and it goes away.

Reproduction status

Reproduced repeatedly on one machine (about 15 runs with the drafter, 12 without). Not tried on another card.

Strata version

Strata 0.2.10, terminal 0.1.56, engine 0.1.56-linux-x86_64-sycl

Graphics card, memory and system

Intel Arc Pro B70 (32 GB, BAR2 32 GB, PCIe Gen3 x16, AER counters 0), Xeon E5-2699v4 with 252 GB DDR4 ECC, Proxmox VE 9.2 kernel 7.0.14-20-pve, run inside an unprivileged LXC with /dev/dri passthrough. xe driver, GuC 70.72.1, HuC 8.2.10. intel-compute-runtime 26.35.39758.10, level-zero 1.32.0, IGC 2.41.5 (same userspace as #5138). No xe errors, resets or timeouts in the journal.

Side note: this host has a corrected-ECC storm on one DIMM (ue=0). I cannot fully rule it out, but the output is clean for 12 runs with only the drafter switched off, which makes memory an unlikely cause.

Model, size and settings

Qwen3.8-Flash-Next-GSQ-RCO-GGUF IQ3_XXS (ISTA-DASLab, 2 shards, 75.8 GB), 64k context, --kv fp16, --stream-experts. Earlier attempts with default --kv int8, --kv fp16 --context 32k and the flags from #5138 all corrupted with the drafter on.

Logs

Engine command line with the drafter (corrupt):

--expert-cache auto --max-context 65536 --kv fp16 --stream-experts --prefill 8192 --vram-reserve-mib 1536 --kv-resident 32768 --draft dflash2 --draft-model /models/strata/dflash2/qwen3.8-flash-next-dflash2.q4_0.pack --draft-fallback none --mtp /models/strata/dflash2 --spec 6 --draft-conf 0.6

Engine log: strata serve: DFlash2 drafter on (...q4_0.pack, graphs captured in 3288 ms); windows up to 8 tokens; no MTP layer is loaded

Engine command line without it (clean): same but --spec 4 and no --draft/--mtp.

Originally created by @gstos on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5160 ### Area Engine ### Desktop app, Terminal or source? Terminal (`strata launch --backend intel`) ### What happened On an Arc Pro B70 (SYCL engine), Qwen3.8-Flash-Next IQ3_XXS served with the DFlash2 drafter produces corrupt output at temperature 0: long answers degrade into a stream of `!!!!`, or into a repetition loop (draft accepted 322/322), or ignore the prompt. The same prompt run six times gave different output each time (4 coherent but truncated, 1 correct, 1 entirely `!!!!` with `draft=0/0`), so it is not deterministic. With the drafter turned off (`--drafting off --set drafting=off --set mtp=false`, engine then runs with `--spec 4` and no `--draft`), the same card, model, flags and kernel are clean: - the same short prompt 8 of 8 times gave the identical correct answer (30-36 tok/s) - four generations of 200 to 500 tokens (prose, a list, a Python function) were coherent, no `!!!!`, no loops So the DFlash2 path on SYCL/xe is what corrupts the output here, not the model files, the xe firmware, or the PCIe link. This looks related to #5138, which notes Auto never picks DFlash2 on SYCL; on this install I never chose a drafter and the launch still started the engine with it (`--draft dflash2 --draft-model .../qwen3.8-flash-next-dflash2.q4_0.pack --draft-fallback none --mtp <dir> --spec 6 --draft-conf 0.6`), with the DFlash2 pack present in the data dir. Note: `--drafting off` on its own did not remove `--draft dflash2` from the engine command line for me; I had to add `--set drafting=off --set mtp=false`. Worth checking whether the flag is honoured on the Intel route. ### Smallest steps or command that reproduce it ``` export ZES_ENABLE_SYSMAN=1 STRATA_VERIFY_DEVICE_PLAN=1 strata launch --backend intel --family qwen --model iq3_xxs \ --model-path /models/strata/models/IQ3_XXS --data-dir /models/strata \ --context 64k --kv fp16 --vision off --tune skip \ --set prefill=8192 --set vram-reserve-mib=1536 --set kv-resident=32768 \ --access local --port 8080 --yes --restart --no-tui ``` Then POST the same prompt several times to /v1/chat/completions with `temperature: 0` and `max_tokens` of 60 to 500. Add `--drafting off --set drafting=off --set mtp=false` and it goes away. ### Reproduction status Reproduced repeatedly on one machine (about 15 runs with the drafter, 12 without). Not tried on another card. ### Strata version Strata 0.2.10, terminal 0.1.56, engine 0.1.56-linux-x86_64-sycl ### Graphics card, memory and system Intel Arc Pro B70 (32 GB, BAR2 32 GB, PCIe Gen3 x16, AER counters 0), Xeon E5-2699v4 with 252 GB DDR4 ECC, Proxmox VE 9.2 kernel 7.0.14-20-pve, run inside an unprivileged LXC with /dev/dri passthrough. xe driver, GuC 70.72.1, HuC 8.2.10. intel-compute-runtime 26.35.39758.10, level-zero 1.32.0, IGC 2.41.5 (same userspace as #5138). No xe errors, resets or timeouts in the journal. Side note: this host has a corrected-ECC storm on one DIMM (ue=0). I cannot fully rule it out, but the output is clean for 12 runs with only the drafter switched off, which makes memory an unlikely cause. ### Model, size and settings Qwen3.8-Flash-Next-GSQ-RCO-GGUF IQ3_XXS (ISTA-DASLab, 2 shards, 75.8 GB), 64k context, `--kv fp16`, `--stream-experts`. Earlier attempts with default `--kv int8`, `--kv fp16 --context 32k` and the flags from #5138 all corrupted with the drafter on. ### Logs Engine command line with the drafter (corrupt): ``` --expert-cache auto --max-context 65536 --kv fp16 --stream-experts --prefill 8192 --vram-reserve-mib 1536 --kv-resident 32768 --draft dflash2 --draft-model /models/strata/dflash2/qwen3.8-flash-next-dflash2.q4_0.pack --draft-fallback none --mtp /models/strata/dflash2 --spec 6 --draft-conf 0.6 ``` Engine log: `strata serve: DFlash2 drafter on (...q4_0.pack, graphs captured in 3288 ms); windows up to 8 tokens; no MTP layer is loaded` Engine command line without it (clean): same but `--spec 4` and no `--draft`/`--mtp`.
Author
Owner

@gstos commented on GitHub (Nov 3, 2026):

Correction to my report above: the DFlash2 drafter is not the (only) cause. After more testing with the drafter off (--spec 4, no --draft), corruption still happens, it just needs a prompt where the model thinks first.

With drafting off, a plain reasoning prompt ("A train leaves at 14:20 and arrives at 17:05 after a 15 minute stop. How long was it actually moving? Answer with the number only, in minutes.") produced a reasoning stream of only !!!!!!... and was stopped at exactly 256 generated tokens (finish=length) in 8 of 8 runs, at temperature 0, 0.3 and 0.7. A code prompt and a 5.7k-token needle prompt did the same (256 tokens, empty answer). Short non-thinking prompts, a translation, a list and a Python function were fine, which is why my first sample looked clean. So the drafter changes how often it happens (and made it non-deterministic), but the SYCL decode path on the B70 still emits garbage when the model starts a thinking block.

Same setup as above (Arc Pro B70, 0.1.56 SYCL engine, IQ3_XXS, kernel 7.0.14-20). Sorry for the noise; the title overstates the drafter.

<!-- gh-comment-id:6617638210 --> @gstos commented on GitHub (Nov 3, 2026): Correction to my report above: the DFlash2 drafter is not the (only) cause. After more testing with the drafter off (`--spec 4`, no `--draft`), corruption still happens, it just needs a prompt where the model thinks first. With drafting off, a plain reasoning prompt ("A train leaves at 14:20 and arrives at 17:05 after a 15 minute stop. How long was it actually moving? Answer with the number only, in minutes.") produced a reasoning stream of only `!!!!!!...` and was stopped at exactly 256 generated tokens (finish=length) in 8 of 8 runs, at temperature 0, 0.3 and 0.7. A code prompt and a 5.7k-token needle prompt did the same (256 tokens, empty answer). Short non-thinking prompts, a translation, a list and a Python function were fine, which is why my first sample looked clean. So the drafter changes how often it happens (and made it non-deterministic), but the SYCL decode path on the B70 still emits garbage when the model starts a thinking block. Same setup as above (Arc Pro B70, 0.1.56 SYCL engine, IQ3_XXS, kernel 7.0.14-20). Sorry for the noise; the title overstates the drafter.
Author
Owner

@Maddy55555 commented on GitHub (Nov 4, 2026):

Adding a data point that I think narrows this down: on the same box the corruption depends on the quantization, not on the SYCL/xe path as such.

Two models, same cards, same engine, same flags, same MTP draft layer (rt/, 29 tensors), only the quantization differs:

Model Drafter Draft acceptance Output
Unsloth UD-Q4_K_XL MTP 20 of 20 (100 %) !!!!, every prompt
Unsloth UD-IQ4_XS MTP 12/27 … 20/20, typically 40–85 % correct, no !!!!

The control that matters: with drafting off, UD-Q4_K_XL is clean on the same setup — correct answers on all four gate prompts, 35–37 tok/s decode. So the Q4_K_XL model files, the xe firmware and the PCIe link are fine; only the combination Q4_K_XL + drafter produces garbage. Switch the quant to IQ4_XS with the drafter on and the same code path is healthy.

Environment (in case it differs from yours):

GPU 2× Intel Arc Pro B70 32 GB, xe, layer split auto
Strata / engine v0.2.10 (ffa80d73) / 0.1.56, AOT bmg-g31
Context 262144, --kv int8, --kv-resident 32768, --stream-experts, --vram-reserve-mib 2048, --prefill 8192, --spec 2
Draft layer --mtp /work/Strata-data/mtp/rt, strata mtp: draft layer loaded, 837 MiB of VRAM, spec=4, mtp_max=2

Two things I would read from this:

  1. 100 % draft acceptance is a corruption signal, not a speed signal. Healthy runs here land at 40–85 % with the odd 1/1 or 7/7 on trivial prompts. A sustained 100 % (yours: 322/322; mine: 20/20) means the drafter's tokens are being accepted unconditionally — which is what produces the !!!! streams. Worth treating as a fail-loud condition rather than a win.
  2. The bisect axis is the quant, not the backend. A useful next test for anyone hitting this: keep everything fixed and swap only the model quantization. If IQ4_XS is clean and Q4_K_XL is not, the corruption lives in the dequantized expert path feeding the drafter, not in the drafter's kernels.

Caveat on my side: I tested MTP, not DFlash2 (DFlash2 is disabled here — 40-dflash2.conf.disabled), and I did not bisect further between the two quants. So this is one 2×2 observation, not a root cause. But it points away from "DFlash2 on SYCL is broken" and toward "a specific quant's expert weights break the drafter's verification".

<!-- gh-comment-id:6626265326 --> @Maddy55555 commented on GitHub (Nov 4, 2026): Adding a data point that I think narrows this down: on the same box the corruption **depends on the quantization**, not on the SYCL/xe path as such. Two models, same cards, same engine, same flags, same MTP draft layer (`rt/`, 29 tensors), only the quantization differs: | Model | Drafter | Draft acceptance | Output | |---|---|---|---| | Unsloth **UD-Q4_K_XL** | MTP | **20 of 20 (100 %)** | `!!!!`, every prompt | | Unsloth **UD-IQ4_XS** | MTP | 12/27 … 20/20, typically 40–85 % | correct, no `!!!!` | The control that matters: with drafting **off**, UD-Q4_K_XL is clean on the same setup — correct answers on all four gate prompts, 35–37 tok/s decode. So the Q4_K_XL model files, the xe firmware and the PCIe link are fine; only the combination *Q4_K_XL + drafter* produces garbage. Switch the quant to IQ4_XS with the drafter on and the same code path is healthy. Environment (in case it differs from yours): | | | |---|---| | GPU | 2× Intel Arc Pro B70 32 GB, `xe`, layer split auto | | Strata / engine | `v0.2.10` (`ffa80d73`) / 0.1.56, AOT `bmg-g31` | | Context | 262144, `--kv int8`, `--kv-resident 32768`, `--stream-experts`, `--vram-reserve-mib 2048`, `--prefill 8192`, `--spec 2` | | Draft layer | `--mtp /work/Strata-data/mtp/rt`, `strata mtp: draft layer loaded, 837 MiB of VRAM`, `spec=4`, `mtp_max=2` | Two things I would read from this: 1. **100 % draft acceptance is a corruption signal, not a speed signal.** Healthy runs here land at 40–85 % with the odd 1/1 or 7/7 on trivial prompts. A sustained 100 % (yours: 322/322; mine: 20/20) means the drafter's tokens are being accepted unconditionally — which is what produces the `!!!!` streams. Worth treating as a fail-loud condition rather than a win. 2. **The bisect axis is the quant, not the backend.** A useful next test for anyone hitting this: keep everything fixed and swap only the model quantization. If IQ4_XS is clean and Q4_K_XL is not, the corruption lives in the dequantized expert path feeding the drafter, not in the drafter's kernels. Caveat on my side: I tested MTP, not DFlash2 (DFlash2 is disabled here — `40-dflash2.conf.disabled`), and I did not bisect further between the two quants. So this is one 2×2 observation, not a root cause. But it points away from "DFlash2 on SYCL is broken" and toward "a specific quant's expert weights break the drafter's verification".
Author
Owner

@Maddy55555 commented on GitHub (Nov 4, 2026):

Correction to my own comment above, after reading gstos' follow-up: my "clean with drafting off" control for UD-Q4_K_XL used short non-thinking prompts only — exactly the category gstos reports as unaffected. So that control does not show the Q4_K_XL model files are fine; it only shows they are fine on that prompt class. I withdraw the stronger claim.

What still stands is the comparison with the drafter on: IQ4_XS generated 2,320 tokens with the drafter active (draft acceptance 1132/1533 = 74 %) without a single !!!!, while Q4_K_XL collapsed to !!!! at 100 % acceptance — same box, same engine, same draft layer. That asymmetry is real and worth chasing, but I never ran a thinking prompt on Q4_K_XL with drafting off, so on the Q4_K_XL side I cannot separate "quant" from "prompt class".

The cheapest discriminating test, if anyone has the setup to run it: IQ4_XS with a reasoning prompt and drafting off. Clean → the quant axis is worth pursuing. Also !!!! → gstos is right and the decode path itself is the bug, independent of both the quant and the drafter.

<!-- gh-comment-id:6626284672 --> @Maddy55555 commented on GitHub (Nov 4, 2026): Correction to my own comment above, after reading gstos' follow-up: my "clean with drafting off" control for UD-Q4_K_XL used **short non-thinking prompts only** — exactly the category gstos reports as unaffected. So that control does not show the Q4_K_XL model files are fine; it only shows they are fine on that prompt class. I withdraw the stronger claim. What still stands is the comparison with the drafter **on**: IQ4_XS generated 2,320 tokens with the drafter active (draft acceptance 1132/1533 = 74 %) without a single `!!!!`, while Q4_K_XL collapsed to `!!!!` at 100 % acceptance — same box, same engine, same draft layer. That asymmetry is real and worth chasing, but I never ran a thinking prompt on Q4_K_XL with drafting off, so on the Q4_K_XL side I cannot separate "quant" from "prompt class". The cheapest discriminating test, if anyone has the setup to run it: IQ4_XS with a reasoning prompt and drafting off. Clean → the quant axis is worth pursuing. Also `!!!!` → gstos is right and the decode path itself is the bug, independent of both the quant and the drafter.
Author
Owner

@gstos commented on GitHub (Nov 4, 2026):

Second correction, and my earlier one was wrong too. It was not thinking blocks. In my testing the trigger is prompt length, and it happens with drafting off. @Maddy55555, I'm sorry, you withdrew your control because of that comment, so please don't plan around "reasoning prompts" as the discriminator.

All of this is IQ3_XXS, --kv fp16 unless noted, drafting off (--drafting off --set drafting=off --set mtp=false, engine --spec 4), one B70. Each prompt asks the model to repeat a code from the prompt, and it passes only if the code comes back.

Prompt length decides it, not what the model does next. With the engine defaults, every prompt from about 66 tokens up was bad. With STRATA_VERIFY_NO_HOST=1, prompts of 69 tokens and under pass even though the model starts by thinking, so thinking on its own isn't the trigger.

Setup (fixed-length test, 65 to 1,141 tokens, 12 prompts) Passed
Prebuilt JIT, strata launch defaults 0-1 of 12
Prebuilt JIT + STRATA_VERIFY_NO_HOST=1 5 of 12: 69 tokens and under pass, 70 and over fail
AOT bmg-g31 + STRATA_VERIFY_NO_HOST=1 5 of 12, same line
AOT + NO_HOST=1 + STRATA_PREFILL_MMQ=0 11 of 12
AOT + NO_HOST=1 + MMQ=0 + STRATA_COPY_ENGINE=0 11 of 12
--kv int8, AOT + NO_HOST=1 5 of 12, with gibberish as well as !!!!

STRATA_COPY_ENGINE=0 on its own changed nothing (5 of 12). strata launch on Intel does not appear to set STRATA_VERIFY_NO_HOST, while sycl/serve/strata-sycl.sh does.

MMQ=0 does not fix long prompts. A harder test on AOT + NO_HOST=1 + MMQ=0, with the code in the middle of random text, 600 token budget, kernel 7.0.14-28:

Prompt tokens Passed Failures
~345 2 of 4 2 ran out of token budget with no answer
~1,160 3 of 4 1 ran out of token budget
~4,390 2 of 4 1 !!!!, 1 ran out of token budget
~17,300 0 of 4 all !!!!
~37,800 0 of 4 all !!!!

The pass counts up to ~17,300 match the same test on the older kernel, though the mix of !!!! and budget failures moved around. Growing a context in small steps failed the same way as sending it in one go, so this does not look like a batch size problem. Decode looks healthy once the prompt has been read correctly, so I now read this as a fault in the prompt reading (prefill) path, not in decode. I have not confirmed that !!!! is NaN logits.

Kernel. Moving from Proxmox 7.0.14-20 to 7.0.14-28 changed nothing: both fixed-length runs I repeated gave the same 5 of 12 and 11 of 12, with the same 69/70 line. The newer kernel carries drm/xe: Flush LSC untyped L1 dataport cache after rcs/ccs batches, which I confirmed in the xe.ko disassembly, so that patch is not the fix here.

Caveats. I don't know whether the !!!! in your report on another machine is the same fault as mine. The result above that strata launch needs NO_HOST=1 may be specific to my setup, an unprivileged LXC on xe. I have only tested IQ3_XXS on this code path.

For your IQ4_XS test, I'd use a long prompt rather than a reasoning prompt: something over 5,000 tokens, with drafting off, and with the answer checkable against the prompt. If that is clean on your box and not on mine, the quant or the host is back in play.

I've corrected the title to match.

<!-- gh-comment-id:6642802708 --> @gstos commented on GitHub (Nov 4, 2026): Second correction, and my earlier one was wrong too. It was not thinking blocks. In my testing the trigger is prompt length, and it happens with drafting off. @Maddy55555, I'm sorry, you withdrew your control because of that comment, so please don't plan around "reasoning prompts" as the discriminator. All of this is IQ3_XXS, `--kv fp16` unless noted, drafting off (`--drafting off --set drafting=off --set mtp=false`, engine `--spec 4`), one B70. Each prompt asks the model to repeat a code from the prompt, and it passes only if the code comes back. **Prompt length decides it, not what the model does next.** With the engine defaults, every prompt from about 66 tokens up was bad. With `STRATA_VERIFY_NO_HOST=1`, prompts of 69 tokens and under pass even though the model starts by thinking, so thinking on its own isn't the trigger. | Setup (fixed-length test, 65 to 1,141 tokens, 12 prompts) | Passed | |---|---| | Prebuilt JIT, `strata launch` defaults | 0-1 of 12 | | Prebuilt JIT + `STRATA_VERIFY_NO_HOST=1` | 5 of 12: 69 tokens and under pass, 70 and over fail | | AOT `bmg-g31` + `STRATA_VERIFY_NO_HOST=1` | 5 of 12, same line | | AOT + `NO_HOST=1` + `STRATA_PREFILL_MMQ=0` | 11 of 12 | | AOT + `NO_HOST=1` + `MMQ=0` + `STRATA_COPY_ENGINE=0` | 11 of 12 | | `--kv int8`, AOT + `NO_HOST=1` | 5 of 12, with gibberish as well as `!!!!` | `STRATA_COPY_ENGINE=0` on its own changed nothing (5 of 12). `strata launch` on Intel does not appear to set `STRATA_VERIFY_NO_HOST`, while `sycl/serve/strata-sycl.sh` does. **`MMQ=0` does not fix long prompts.** A harder test on AOT + `NO_HOST=1` + `MMQ=0`, with the code in the middle of random text, 600 token budget, kernel 7.0.14-28: | Prompt tokens | Passed | Failures | |---|---|---| | ~345 | 2 of 4 | 2 ran out of token budget with no answer | | ~1,160 | 3 of 4 | 1 ran out of token budget | | ~4,390 | 2 of 4 | 1 `!!!!`, 1 ran out of token budget | | ~17,300 | 0 of 4 | all `!!!!` | | ~37,800 | 0 of 4 | all `!!!!` | The pass counts up to ~17,300 match the same test on the older kernel, though the mix of `!!!!` and budget failures moved around. Growing a context in small steps failed the same way as sending it in one go, so this does not look like a batch size problem. Decode looks healthy once the prompt has been read correctly, so I now read this as a fault in the prompt reading (prefill) path, not in decode. I have not confirmed that `!!!!` is NaN logits. **Kernel.** Moving from Proxmox 7.0.14-20 to 7.0.14-28 changed nothing: both fixed-length runs I repeated gave the same 5 of 12 and 11 of 12, with the same 69/70 line. The newer kernel carries `drm/xe: Flush LSC untyped L1 dataport cache after rcs/ccs batches`, which I confirmed in the `xe.ko` disassembly, so that patch is not the fix here. **Caveats.** I don't know whether the `!!!!` in your report on another machine is the same fault as mine. The result above that `strata launch` needs `NO_HOST=1` may be specific to my setup, an unprivileged LXC on `xe`. I have only tested IQ3_XXS on this code path. For your IQ4_XS test, I'd use a long prompt rather than a reasoning prompt: something over 5,000 tokens, with drafting off, and with the answer checkable against the prompt. If that is clean on your box and not on mine, the quant or the host is back in play. I've corrected the title to match.
Author
Owner

@gstos commented on GitHub (Nov 5, 2026):

Update for anyone comparing notes: I have changed two more things on this machine, and neither fixed it.

  • Card firmware moved from fwcode 31.1058 to 31.1062. Vulkan and SYCL still fail.
  • I booted Ubuntu 26.04 with 7.0.0-42-generic instead of the Proxmox kernel, with the same userspace. Vulkan still fails. I did not rerun SYCL on this boot.

I have not rerun Strata on the Ubuntu kernel, so this is not a direct Strata result.

Separately, intel/compute-runtime#1001 reproduces here on both kernels: fp16 NaN and bf16 garbage on plain matrix multiplies under PyTorch XPU, with f32 clean. It is a much smaller test than a Strata run. I have asked for it to be run on a known good B70 in ggml-org/llama.cpp#31560, and I'm also going to test this card in another machine. I will post here if either result changes the picture.

<!-- gh-comment-id:6648643516 --> @gstos commented on GitHub (Nov 5, 2026): Update for anyone comparing notes: I have changed two more things on this machine, and neither fixed it. - Card firmware moved from fwcode 31.1058 to 31.1062. Vulkan and SYCL still fail. - I booted Ubuntu 26.04 with `7.0.0-42-generic` instead of the Proxmox kernel, with the same userspace. Vulkan still fails. I did not rerun SYCL on this boot. I have not rerun Strata on the Ubuntu kernel, so this is not a direct Strata result. Separately, intel/compute-runtime#1001 reproduces here on both kernels: fp16 NaN and bf16 garbage on plain matrix multiplies under PyTorch XPU, with f32 clean. It is a much smaller test than a Strata run. I have asked for it to be run on a known good B70 in ggml-org/llama.cpp#31560, and I'm also going to test this card in another machine. I will post here if either result changes the picture.
Author
Owner

@TinScarecrow commented on GitHub (Nov 5, 2026):

Can be related: https://github.com/giridhart/Strata/blob/sycl-b580/docs/B580_IQ3S_NONFINITE_LOGITS_ACTION_PLAN.md

<!-- gh-comment-id:6653504959 --> @TinScarecrow commented on GitHub (Nov 5, 2026): Can be related: https://github.com/giridhart/Strata/blob/sycl-b580/docs/B580_IQ3S_NONFINITE_LOGITS_ACTION_PLAN.md
Author
Owner

@agnaylor commented on GitHub (Nov 6, 2026):

Three B70 data points, one per setup. Full report and logs: #5439. None of them is the
long-prompt test above, so read them as boundaries, not as a reproduction.

1. Two B70s, every expert in VRAM, STRATA_VERIFY_NO_HOST=1: clean on short prompts. Strata 0.2.10, engine
0.1.56 SYCL release package (JIT), kernel 7.0.0-42, compute-runtime 26.31.39395.14, --kv int8, --prefill auto
(int8 prompt experts on, Battlemage default), MTP --spec 2 to 5, IQ3_S and IQ3_XXS, thinking on and off, temperature
0.7. Layer split auto put all 24,576 experts in the two caches. 0 of 1,168 replies contain a run of 8+ ! or the word
NaN. Fresh prompts were 168 to 1,071 tokens; with thinking, the budget path re-read up to 3,137 tokens. That is above the
69/70-token line in your one-card table and below the ~4K where your MMQ=0 run starts to fail, so it says nothing about
long prompts.

2. One B70, same engine and flags, IQ3_S, 128K: not !!!!, but no answers. 12,000 experts cached, 13,776 in a
26.35 GiB pinned mirror (64 GB host, 28.2 GiB left). Every request generated 1 to 3 tokens at 0.5 tok/s; 16 of 21 replies
were empty, the rest </think> or <|im_start|> fragments. No resets. One run of 21 prompts.

3. One B70, STRATA_VERIFY_NO_HOST=0, experts served from NVMe: !!!! every time (older engine). 2026-10-11,
engine 0.1.42 source build (AOT), Unsloth UD-Q4_K_XL, STRATA_MIRROR_MIB=24576, --kv int8 --kv-resident 32768 --prefill 4096 --spec 4. 7,764 experts in VRAM, 8,219 mirrored, so the other 8,593 were read from the NVMe through the
CPU path (INTEL.md says there is no SSD expert tier on Intel, so this setup is outside what is supported). All 6 suite prompts (189 to 1,028 tokens, cap 4,096) ended in the
server's repeat stop after 256 !, with MTP acceptance 91 to 98% and suffix drafts 100% (126 of 126, 127 of 127).
Three 90 to 95-token prose prompts with a 256 cap ended at the cap without the repeat stop (MTP acceptance 43 to 98%);
I did not check their text. This matches Maddy55555's point that near-100% acceptance goes with the !!!! output, on
the same quant. Engine log and server output are in the report's data.

Not tested by me: STRATA_PREFILL_MMQ=0, --kv fp16, prompts over 1,071 fresh tokens on any of these setups.

An AI helped write the comment. They were measured on B70 cards.

<!-- gh-comment-id:6698696807 --> @agnaylor commented on GitHub (Nov 6, 2026): Three B70 data points, one per setup. Full report and logs: #5439. None of them is the long-prompt test above, so read them as boundaries, not as a reproduction. **1. Two B70s, every expert in VRAM, `STRATA_VERIFY_NO_HOST=1`: clean on short prompts.** Strata 0.2.10, engine 0.1.56 SYCL release package (JIT), kernel 7.0.0-42, compute-runtime 26.31.39395.14, `--kv int8`, `--prefill auto` (int8 prompt experts on, Battlemage default), MTP `--spec 2` to `5`, IQ3_S and IQ3_XXS, thinking on and off, temperature 0.7. Layer split auto put all 24,576 experts in the two caches. 0 of 1,168 replies contain a run of 8+ `!` or the word NaN. Fresh prompts were 168 to 1,071 tokens; with thinking, the budget path re-read up to 3,137 tokens. That is above the 69/70-token line in your one-card table and below the ~4K where your `MMQ=0` run starts to fail, so it says nothing about long prompts. **2. One B70, same engine and flags, IQ3_S, 128K: not `!!!!`, but no answers.** 12,000 experts cached, 13,776 in a 26.35 GiB pinned mirror (64 GB host, 28.2 GiB left). Every request generated 1 to 3 tokens at 0.5 tok/s; 16 of 21 replies were empty, the rest `</think>` or `<|im_start|>` fragments. No resets. One run of 21 prompts. **3. One B70, `STRATA_VERIFY_NO_HOST=0`, experts served from NVMe: `!!!!` every time (older engine).** 2026-10-11, engine 0.1.42 source build (AOT), Unsloth UD-Q4_K_XL, `STRATA_MIRROR_MIB=24576`, `--kv int8 --kv-resident 32768 --prefill 4096 --spec 4`. 7,764 experts in VRAM, 8,219 mirrored, so the other 8,593 were read from the NVMe through the CPU path (INTEL.md says there is no SSD expert tier on Intel, so this setup is outside what is supported). All 6 suite prompts (189 to 1,028 tokens, cap 4,096) ended in the server's repeat stop after 256 `!`, with MTP acceptance 91 to 98% and suffix drafts 100% (126 of 126, 127 of 127). Three 90 to 95-token prose prompts with a 256 cap ended at the cap without the repeat stop (MTP acceptance 43 to 98%); I did not check their text. This matches Maddy55555's point that near-100% acceptance goes with the `!!!!` output, on the same quant. Engine log and server output are in the report's data. Not tested by me: `STRATA_PREFILL_MMQ=0`, `--kv fp16`, prompts over 1,071 fresh tokens on any of these setups. An AI helped write the comment. They were measured on B70 cards.
Author
Owner

@gstos commented on GitHub (Nov 7, 2026):

@agnaylor, thanks, those are useful boundaries, especially having two cards. I have a result that may change how you read this issue, and a request.

I moved this B70 from my X99 board to an ASUS Prime X299-Deluxe with an i9-7900X, using the same disk image. A small test failed the same way on both machines: PyTorch XPU fp16 and bf16 matrix multiplies return NaN or garbage at the same shapes, with f32 clean. Vulkan coopmat test-backend-ops failed too (50 FAIL on X99, 53 on X299), and it's 0 FAIL with coopmat off. Another owner's B70 passes both tests. llama.cpp SYCL gave 0 of 8 correct on both machines, but I have no known-good reference for that row.

I did not run Strata on the X299, so this is not a direct Strata result. Still, this card may be faulty, so please weigh my long-prompt numbers above with that in mind. I'm returning it, so I can't test anything further.

Would you run gemm-repro.py on each of your B70s? It's under a minute and needs only PyTorch XPU. The script and steps are in https://github.com/ggml-org/llama.cpp/issues/31560#issuecomment-6648643201. A healthy card shows finite=True and small errors on every line. Please include your CPU, board and runtime version. A pass on your cards would be two more results against my card, and a failure would mean this isn't one bad card.

<!-- gh-comment-id:6699201528 --> @gstos commented on GitHub (Nov 7, 2026): @agnaylor, thanks, those are useful boundaries, especially having two cards. I have a result that may change how you read this issue, and a request. I moved this B70 from my X99 board to an ASUS Prime X299-Deluxe with an i9-7900X, using the same disk image. A small test failed the same way on both machines: PyTorch XPU fp16 and bf16 matrix multiplies return NaN or garbage at the same shapes, with f32 clean. Vulkan coopmat `test-backend-ops` failed too (50 FAIL on X99, 53 on X299), and it's 0 FAIL with coopmat off. Another owner's B70 passes both tests. llama.cpp SYCL gave 0 of 8 correct on both machines, but I have no known-good reference for that row. I did not run Strata on the X299, so this is not a direct Strata result. Still, this card may be faulty, so please weigh my long-prompt numbers above with that in mind. I'm returning it, so I can't test anything further. Would you run `gemm-repro.py` on each of your B70s? It's under a minute and needs only PyTorch XPU. The script and steps are in https://github.com/ggml-org/llama.cpp/issues/31560#issuecomment-6648643201. A healthy card shows `finite=True` and small errors on every line. Please include your CPU, board and runtime version. A pass on your cards would be two more results against my card, and a failure would mean this isn't one bad card.
Author
Owner

@leadgtr7 commented on GitHub (Nov 7, 2026):

Intel Arc Pro B65 (32 GB, single card), Strata v0.2.11 / engine 0.1.57 SYCL, Swift-1.5 (Qwen3.8-Flash-Next) IQ3_S, --context 256k, MTP, one slot. Agent workloads (long coding/planning sessions through an agent harness), not one-shot prompts.

One-shot prompts up to 256K were clean (6/6). The corruption only showed in long agent sessions (140-190K context), roughly once per 15-60 min, as a reply of 256 ! stopped by the repeat guard. Same planning workload per arm (~13-21 min each, one run per arm, so small samples):

Arm Env !!!! events
D STRATA_VERIFY_NO_HOST=1, STRATA_VERIFY_DEVICE_PLAN=1, STRATA_PREFILL_MMQ=off 0
E STRATA_PREFILL_MMQ=off only 2
F STRATA_VERIFY_NO_HOST=1, STRATA_VERIFY_DEVICE_PLAN=1, MMQ default 0

Since then we've run arm F's env for live work: about 10 real coding/planning jobs, ~4-14M tokens each (with cached input), plans up to ~230K tokens per session, and 0 repeat-guard / crash events in the server log over all of them.

Two side notes:

  • STRATA_PREFILL_MMQ=0 is silently ignored by the launcher (the startup line still says STRATA_PREFILL_MMQ=auto); off works. Easy to think you tested MMQ off when you didn't.
  • So on this card NO_HOST (+ DEVICE_PLAN) looks like the fix, MMQ off alone does not. Happy to run a longer A/B if useful.
<!-- gh-comment-id:6708522017 --> @leadgtr7 commented on GitHub (Nov 7, 2026): **Intel Arc Pro B65 (32 GB, single card), Strata v0.2.11 / engine 0.1.57 SYCL, Swift-1.5 (Qwen3.8-Flash-Next) IQ3_S, `--context 256k`, MTP, one slot.** Agent workloads (long coding/planning sessions through an agent harness), not one-shot prompts. One-shot prompts up to 256K were clean (6/6). The corruption only showed in long agent sessions (140-190K context), roughly once per 15-60 min, as a reply of 256 `!` stopped by the repeat guard. Same planning workload per arm (~13-21 min each, one run per arm, so small samples): | Arm | Env | `!!!!` events | |---|---|---:| | D | `STRATA_VERIFY_NO_HOST=1`, `STRATA_VERIFY_DEVICE_PLAN=1`, `STRATA_PREFILL_MMQ=off` | 0 | | E | `STRATA_PREFILL_MMQ=off` only | 2 | | F | `STRATA_VERIFY_NO_HOST=1`, `STRATA_VERIFY_DEVICE_PLAN=1`, MMQ default | 0 | Since then we've run arm F's env for live work: about 10 real coding/planning jobs, ~4-14M tokens each (with cached input), plans up to ~230K tokens per session, and 0 repeat-guard / crash events in the server log over all of them. Two side notes: - `STRATA_PREFILL_MMQ=0` is silently ignored by the launcher (the startup line still says `STRATA_PREFILL_MMQ=auto`); `off` works. Easy to think you tested MMQ off when you didn't. - So on this card NO_HOST (+ DEVICE_PLAN) looks like the fix, MMQ off alone does not. Happy to run a longer A/B if useful.
Author
Owner

@gstos commented on GitHub (Nov 7, 2026):

Update on my earlier comment: the card now fails the same way on a current platform, an i9-13900H at Gen4 x8, so older Gen3 boards don't explain it. PyTorch fp16/bf16 GEMM gave the same 6 bad lines, and Vulkan coopmat test-backend-ops failed again, with 0 failures when coopmat is off. A published llama.cpp SYCL setup also returned garbage, while the same build on CPU was correct.

I'm treating this as a fault in my card, so please discount my long-prompt results here. That's separate from what @agnaylor and @leadgtr7 are seeing unless gemm-repro.py fails on their cards too. @leadgtr7, a run of it on your B65 would help separate the two. The script is in the link in my last comment. My card is out now, so I can't test STRATA_VERIFY_NO_HOST.

<!-- gh-comment-id:6712292928 --> @gstos commented on GitHub (Nov 7, 2026): Update on my earlier comment: the card now fails the same way on a current platform, an i9-13900H at Gen4 x8, so older Gen3 boards don't explain it. PyTorch fp16/bf16 GEMM gave the same 6 bad lines, and Vulkan coopmat `test-backend-ops` failed again, with 0 failures when coopmat is off. A published llama.cpp SYCL setup also returned garbage, while the same build on CPU was correct. I'm treating this as a fault in my card, so please discount my long-prompt results here. That's separate from what @agnaylor and @leadgtr7 are seeing unless `gemm-repro.py` fails on their cards too. @leadgtr7, a run of it on your B65 would help separate the two. The script is in the link in my last comment. My card is out now, so I can't test `STRATA_VERIFY_NO_HOST`.
Author
Owner

@leadgtr7 commented on GitHub (Nov 7, 2026):

@gstos ran gemm-repro.py (unchanged, from the llama.cpp #31560 comment) on our Intel Arc Pro B65 (32 GB): it passes, every line finite=True.

  • Platform: AMD Ryzen 9 5900XT on an ASUS TUF B550 board, PCIe Gen4, Proxmox kernel 7.0.14-19-pve, card passed through to a container.
  • Runtime (container): torch 2.13.0+xpu, compute-runtime (intel-opencl-icd / libze-intel-gpu1) 26.31.39395.13, IGC 2.40.13, level-zero 1.32.0. Firmware version not read (no fwupdtool igsc on this host).
  • Header block: xpu fp16 / bf16 / f32 match the CPU results at the same precision (fp16 maxrelerr 18.11 and bf16 100.34 vs the f32 reference on both CPU and xpu, i.e. normal low-precision error; f32 xpu 0.024).
  • Shape sweep, xpu vs its own CPU reference: fp16 maxrelerr 0.0005-0.0052, bf16 0.0038-0.0041, f32 0.0000-0.0220, all seven shapes finite, including 512x512x512, 128x4096x4096 and 1024x1024x1024 that fail on your card.

So on this B65 the plain fp16/bf16 GEMM path is healthy, which fits your card being at fault, and our !!!! result (fixed here by STRATA_VERIFY_NO_HOST=1 + STRATA_VERIFY_DEVICE_PLAN=1) is a separate effect.

<!-- gh-comment-id:6712709537 --> @leadgtr7 commented on GitHub (Nov 7, 2026): @gstos ran `gemm-repro.py` (unchanged, from the llama.cpp #31560 comment) on our **Intel Arc Pro B65 (32 GB)**: it **passes**, every line `finite=True`. - Platform: AMD Ryzen 9 5900XT on an ASUS TUF B550 board, PCIe Gen4, Proxmox kernel 7.0.14-19-pve, card passed through to a container. - Runtime (container): torch 2.13.0+xpu, compute-runtime (intel-opencl-icd / libze-intel-gpu1) 26.31.39395.13, IGC 2.40.13, level-zero 1.32.0. Firmware version not read (no `fwupdtool igsc` on this host). - Header block: xpu fp16 / bf16 / f32 match the CPU results at the same precision (fp16 maxrelerr 18.11 and bf16 100.34 vs the f32 reference on both CPU and xpu, i.e. normal low-precision error; f32 xpu 0.024). - Shape sweep, xpu vs its own CPU reference: fp16 maxrelerr 0.0005-0.0052, bf16 0.0038-0.0041, f32 0.0000-0.0220, all seven shapes finite, including 512x512x512, 128x4096x4096 and 1024x1024x1024 that fail on your card. So on this B65 the plain fp16/bf16 GEMM path is healthy, which fits your card being at fault, and our `!!!!` result (fixed here by `STRATA_VERIFY_NO_HOST=1` + `STRATA_VERIFY_DEVICE_PLAN=1`) is a separate effect.
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#3069
No description provided.