mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5024] [Engine] Arc 140T iGPU (Xe2-LPG): the GPU stops answering after the first request, stall in the verify window #2328
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2328
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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,
xedriver) 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
./setup.sh --backend sycl(imagestrata-sycl-dev, oneAPI 2026.1 inside the container)8086:7d51, Arrow Lake-P), no local memory:clinforeports 85.69 GiB global (shared DDR5) and there is nomem_info_vram_totalxe, intel-opencl-icd 26.27.39122.14-1, libze-intel-gpu1 26.27.39122.14-1, libze1 1.32.0-1ttmpages_limit = 16000000 (~61 GB)strata-sycl-serveviasycl/serve/strata-sycl.sh, host serversycl/serve/server_intel.pyModel and settings
Qwen3.8-Flash-Next Coder IQ1_M (the two GGUF shards, prepared by
setup.sh --backend syclintoStrata-data/packs/coder-iq1_mandStrata-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
./setup.sh --backend sycl --family coder --model IQ1_M --gguf-dir <the two shards> --data-dir <dir> --context 16384 --yessession is upPOST /v1/chat/completionswithmax_tokens: 10→ answersPOST /v1/chat/completionswithmax_tokens: 150(any prompt) → after ~60 s the server answers 503 and the log shows the stall reportReproduced 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)
Another start stalled in the prompt path instead:
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:
That is what limits the expert cache, not the RAM. It can be raised with runtime debug keys, which the engine does honour:
With that (and
Override*added to the forwarded variables insycl/serve/strata-sycl.sh, which currently only letsNEOReadDebugKeysandOverrideDefaultFP64Settingsthrough), the start went fromto
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-mib300 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 4and--spec 3; with--mtpit stalls earlier and more oftenSTRATA_VERIFY_NO_HOSTon (default fromstrata-sycl.sh) and off--ple-io ramand reading the PLE table from the SSD--max-context32768 and 16384,--visionon and offRemoving
--specis 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).