[GH-ISSUE #5024] [Engine] Arc 140T iGPU (Xe2-LPG): the GPU stops answering after the first request, stall in the verify window #2328

Open
opened 2026-11-04 01:58:27 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @xukrutdonut on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5024

Problem

On an Intel Arc iGPU (Arrow Lake-H, Xe2-LPG, xe driver) the SYCL engine loads and answers one request, then the GPU stops answering: every following request stalls and the server's watchdog stops the engine ("no progress for 60 s during a request"). The stall is inside the verify window ("waiting for the GPU to finish the window (flags A/B/M raised)"), and in one run it was inside the batched prompt read ("waiting for the GPU (attention, router) at layer 1 of the prompt chunk from token 0"). 5 to 7 occurrences per session; never a clean run of two long requests in a row.

Environment

  • Strata 0.2.9, engine 0.1.55, built from a source checkout with ./setup.sh --backend sycl (image strata-sycl-dev, oneAPI 2026.1 inside the container)
  • CPU/GPU: Intel Core Ultra 9 285H, Intel Arc 140T iGPU (PCI 8086:7d51, Arrow Lake-P), no local memory: clinfo reports 85.69 GiB global (shared DDR5) and there is no mem_info_vram_total
  • Driver: kernel 7.3.0-arlwa, xe, intel-opencl-icd 26.27.39122.14-1, libze-intel-gpu1 26.27.39122.14-1, libze1 1.32.0-1
  • 91 GB RAM total, ~50 GB free while serving; ttm pages_limit = 16000000 (~61 GB)
  • Docker strata-sycl-serve via sycl/serve/strata-sycl.sh, host server sycl/serve/server_intel.py

Model and settings

Qwen3.8-Flash-Next Coder IQ1_M (the two GGUF shards, prepared by setup.sh --backend sycl into Strata-data/packs/coder-iq1_m and Strata-data/mtp/rt), --max-context 16384, --kv int8, --spec 4 --spec-min-p 0.5, --mtp, --pool-workers 10, --stream-experts, --expert-cache auto --prefill auto, --expert-profile data/expert-profile-coder.bin.

Reproduce

  1. ./setup.sh --backend sycl --family coder --model IQ1_M --gguf-dir <the two shards> --data-dir <dir> --context 16384 --yes
  2. start the server, wait for session is up
  3. POST /v1/chat/completions with max_tokens: 10 → answers
  4. POST /v1/chat/completions with max_tokens: 150 (any prompt) → after ~60 s the server answers 503 and the log shows the stall report

Reproduced locally, consistently, in 5 separate engine starts.

Expected

Two requests in a row are answered, as on the Arc Pro B70 and A750 the docs name as tested.

Actual

The engine stops making progress inside the verify window; the server kills and restarts it. Before it stalls, the first request is also very slow: 10 tokens in 20 s, 60 tokens in 16.9 s (≈3.5 tok/s once warmed), against 23-28 tok/s that a 30B MoE gets through OpenVINO on the same iGPU.

Evidence (log, one stall)

strata serve: no progress for 60 s during a request (verify window: waiting for the GPU to finish the window (flags A/B/M raised) 3) - stopping the engine so the server starts it again (issue #29)
strata serve: stall report (engine 0.1.55): stage "verify window: waiting for the GPU to finish the window (flags A/B/M raised) 1" for 60 s; 0 layers served since the last finished step
  expert pool: epoch 0, batch epoch 0: 0 of 0 jobs claimed, 0 done; 10 of 10 workers parked, 10 sleeping; mode 0
  verify window (last window, not the current stage): 0 tokens at position 0, host at layer step 1; the GPU rang 0; flags: served 0, plan (A) 0, copies (B) 0
  threads waiting on the disk (state D): 0 of 26
  memory: 24015 MiB resident, 9 MiB in swap, 5266 MiB available
strata: released the verify window's GPU waits (#267): the GPU finished in 6 ms

Another start stalled in the prompt path instead:

stage "reading the prompt (batched): waiting for the GPU (attention, router) at layer 1 of the prompt chunk from token 0" for 60 s

So it is not only the verify window: on this GPU the device seems to stop acknowledging work after the first answered request.

A finding that may matter for other iGPUs

On this device the Intel runtime reports a 4 GiB maximum single allocation:

clinfo > Max memory allocation   4294959104 (4GiB)      # global memory 85.69 GiB

That is what limits the expert cache, not the RAM. It can be raised with runtime debug keys, which the engine does honour:

NEOReadDebugKeys=1 OverrideMaxMemAllocSizeMb=22000  →  clinfo Max memory allocation 25165824000 (23.44GiB)

With that (and Override* added to the forwarded variables in sycl/serve/strata-sycl.sh, which currently only lets NEOReadDebugKeys and OverrideDefaultFP64Settings through), the start went from

ExpertCache: cudaMalloc(17.56 GiB) failed ... expert cache: 1621 slots (3.12 GiB)
10667 of 10667 experts missing from VRAM mirrored in pinned host memory (20.30 GiB)

to

ExpertCache: cudaMalloc(23.42 GiB) failed ... expert cache: 9220 slots (17.56 GiB)
3068 of 3068 experts missing from VRAM mirrored in pinned host memory (5.86 GiB)

i.e. 75% of the 12288 experts resident instead of 13%. Speeds and the stall were unchanged, so this is about where the experts live, not about the hang: it is reported here because it may be the difference between "does not fit at all" and "runs" on other iGPUs.

What did not change the stall

  • --vram-reserve-mib 300 and 1500 (the start still logs "0 MiB of VRAM free with everything loaded", which looks like an artifact of the shared memory, the machine had 50 GB free)
  • --spec 4 and --spec 3; with --mtp it stalls earlier and more often
  • STRATA_VERIFY_NO_HOST on (default from strata-sycl.sh) and off
  • --ple-io ram and reading the PLE table from the SSD
  • --max-context 32768 and 16384, --vision on and off

Removing --spec is not an option: the native IQ pack stops with "it needs --native SHARD1, --spec T (T >= 2) and --prefill CHUNK".

Reproduction status

Reproduced locally.

Limits

One machine only. I did not test another Intel GPU, another driver version, or i915. I did not read the engine's SYCL sources to guess at the cause, so I have no hypothesis to offer beyond the observations above. The 4 GiB figure and the override are from this driver version (intel-opencl-icd 26.27.39122.14-1).

Originally created by @xukrutdonut on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5024 ## Problem On an Intel Arc iGPU (Arrow Lake-H, Xe2-LPG, `xe` driver) the SYCL engine loads and answers one request, then the GPU stops answering: every following request stalls and the server's watchdog stops the engine ("no progress for 60 s during a request"). The stall is inside the verify window ("waiting for the GPU to finish the window (flags A/B/M raised)"), and in one run it was inside the batched prompt read ("waiting for the GPU (attention, router) at layer 1 of the prompt chunk from token 0"). 5 to 7 occurrences per session; never a clean run of two long requests in a row. ## Environment - Strata 0.2.9, engine 0.1.55, built from a source checkout with `./setup.sh --backend sycl` (image `strata-sycl-dev`, oneAPI 2026.1 inside the container) - CPU/GPU: Intel Core Ultra 9 285H, Intel Arc 140T iGPU (PCI `8086:7d51`, Arrow Lake-P), no local memory: `clinfo` reports 85.69 GiB global (shared DDR5) and there is no `mem_info_vram_total` - Driver: kernel 7.3.0-arlwa, `xe`, intel-opencl-icd 26.27.39122.14-1, libze-intel-gpu1 26.27.39122.14-1, libze1 1.32.0-1 - 91 GB RAM total, ~50 GB free while serving; `ttm` pages_limit = 16000000 (~61 GB) - Docker `strata-sycl-serve` via `sycl/serve/strata-sycl.sh`, host server `sycl/serve/server_intel.py` ## Model and settings Qwen3.8-Flash-Next Coder IQ1_M (the two GGUF shards, prepared by `setup.sh --backend sycl` into `Strata-data/packs/coder-iq1_m` and `Strata-data/mtp/rt`), `--max-context 16384`, `--kv int8`, `--spec 4 --spec-min-p 0.5`, `--mtp`, `--pool-workers 10`, `--stream-experts`, `--expert-cache auto --prefill auto`, `--expert-profile data/expert-profile-coder.bin`. ## Reproduce 1. `./setup.sh --backend sycl --family coder --model IQ1_M --gguf-dir <the two shards> --data-dir <dir> --context 16384 --yes` 2. start the server, wait for `session is up` 3. `POST /v1/chat/completions` with `max_tokens: 10` → answers 4. `POST /v1/chat/completions` with `max_tokens: 150` (any prompt) → after ~60 s the server answers 503 and the log shows the stall report Reproduced locally, consistently, in 5 separate engine starts. ## Expected Two requests in a row are answered, as on the Arc Pro B70 and A750 the docs name as tested. ## Actual The engine stops making progress inside the verify window; the server kills and restarts it. Before it stalls, the first request is also very slow: 10 tokens in 20 s, 60 tokens in 16.9 s (≈3.5 tok/s once warmed), against 23-28 tok/s that a 30B MoE gets through OpenVINO on the same iGPU. ## Evidence (log, one stall) ``` strata serve: no progress for 60 s during a request (verify window: waiting for the GPU to finish the window (flags A/B/M raised) 3) - stopping the engine so the server starts it again (issue #29) strata serve: stall report (engine 0.1.55): stage "verify window: waiting for the GPU to finish the window (flags A/B/M raised) 1" for 60 s; 0 layers served since the last finished step expert pool: epoch 0, batch epoch 0: 0 of 0 jobs claimed, 0 done; 10 of 10 workers parked, 10 sleeping; mode 0 verify window (last window, not the current stage): 0 tokens at position 0, host at layer step 1; the GPU rang 0; flags: served 0, plan (A) 0, copies (B) 0 threads waiting on the disk (state D): 0 of 26 memory: 24015 MiB resident, 9 MiB in swap, 5266 MiB available strata: released the verify window's GPU waits (#267): the GPU finished in 6 ms ``` Another start stalled in the prompt path instead: ``` stage "reading the prompt (batched): waiting for the GPU (attention, router) at layer 1 of the prompt chunk from token 0" for 60 s ``` So it is not only the verify window: on this GPU the device seems to stop acknowledging work after the first answered request. ## A finding that may matter for other iGPUs On this device the Intel runtime reports a 4 GiB maximum single allocation: ``` clinfo > Max memory allocation 4294959104 (4GiB) # global memory 85.69 GiB ``` That is what limits the expert cache, not the RAM. It can be raised with runtime debug keys, which the engine does honour: ``` NEOReadDebugKeys=1 OverrideMaxMemAllocSizeMb=22000 → clinfo Max memory allocation 25165824000 (23.44GiB) ``` With that (and `Override*` added to the forwarded variables in `sycl/serve/strata-sycl.sh`, which currently only lets `NEOReadDebugKeys` and `OverrideDefaultFP64Settings` through), the start went from ``` ExpertCache: cudaMalloc(17.56 GiB) failed ... expert cache: 1621 slots (3.12 GiB) 10667 of 10667 experts missing from VRAM mirrored in pinned host memory (20.30 GiB) ``` to ``` ExpertCache: cudaMalloc(23.42 GiB) failed ... expert cache: 9220 slots (17.56 GiB) 3068 of 3068 experts missing from VRAM mirrored in pinned host memory (5.86 GiB) ``` i.e. 75% of the 12288 experts resident instead of 13%. Speeds and the stall were unchanged, so this is about where the experts live, not about the hang: it is reported here because it may be the difference between "does not fit at all" and "runs" on other iGPUs. ## What did not change the stall - `--vram-reserve-mib` 300 and 1500 (the start still logs "0 MiB of VRAM free with everything loaded", which looks like an artifact of the shared memory, the machine had 50 GB free) - `--spec 4` and `--spec 3`; with `--mtp` it stalls earlier and more often - `STRATA_VERIFY_NO_HOST` on (default from `strata-sycl.sh`) and off - `--ple-io ram` and reading the PLE table from the SSD - `--max-context` 32768 and 16384, `--vision` on and off Removing `--spec` is not an option: the native IQ pack stops with "it needs --native SHARD1, --spec T (T >= 2) and --prefill CHUNK". ## Reproduction status Reproduced locally. ## Limits One machine only. I did not test another Intel GPU, another driver version, or `i915`. I did not read the engine's SYCL sources to guess at the cause, so I have no hypothesis to offer beyond the observations above. The 4 GiB figure and the override are from this driver version (`intel-opencl-icd 26.27.39122.14-1`).
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#2328
No description provided.