mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1302] 0.1.40 SYCL port on 2x Arc Pro B65: expert-cache fill stalls (1-core spin + xe "Timedout job" + device coredump); 0.1.38-based engine works on the same card #533
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#533
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 @james151br on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1302
Environment
xedriver, Level Zero V2 (U/R 1.14.37020)v0.1.40.1(latest release; the engine self-reports0.1.40-sycl— the port's internal version, since the.1hotfixes are serve-layer only) +sycl/from PR #1111 (commit3f37281), clean — no local patchescmake -S sycl -B build-sycl -G Ninja -DCMAKE_CXX_COMPILER=icpx -DCMAKE_C_COMPILER=icx -DCMAKE_BUILD_TYPE=Release— no AOT (JIT SPIR-V)expert-profile.bin(24576 ranked pairs)--expert-cache auto--prefill auto--spec 4--mtp--max-context 131072--kv int8--pcie-frac 0.55--spec-min-p 0.70sycl/serve/server_intel.py --engine strata --config ... --host 0.0.0.0 --port 8095under systemdGPU0 of the two serves a different model (vLLM, ~30 GB of its 32 GB VRAM in use); the Strata tests ran on GPU1, the empty card.
What happens
Two runs of the clean 0.1.40 SYCL build, both fail, in different phases:
Run A — no
ONEAPI_DEVICE_SELECTOR(engine defaulted tolevel_zero:0= GPU0, the busy card):session is up (engine 0.1.40-sycl)(strata serve: 627 MiB of VRAM free with everything loaded).xefaults on GPU0 in the kernel log.Run B —
ONEAPI_DEVICE_SELECTOR=level_zero:1(GPU1, the correct/empty card):strata generate: loaded 33.02 GiB at 0.76 GiB/s, then the last line ever written to the engine log:session is up.Control — same card, 0.1.38-based engine (community SYCL build; engine self-reports the port's
0.1.0placeholder, upstream 0.1.3899f3dbd):experts loaded: 33.02 GiB at 0.32 GiB/s (116 s so far)→filling the GPU's expert cache (18426 experts, 24.75 GiB of VRAM)→session is up3 seconds later.So on this card: the 0.1.38-based SYCL engine is ~2 min to ready and stable; the 0.1.40 SYCL port stalls in the expert-cache-fill region and the
xedriver reports a timed-out job plus a device coredump.Low-confidence data point (not a clean build): a separate 0.1.40.1 AOT build (
STRATA_SYCL_AOT=bmg-g21) that an LLM assembled with a few manualsedpatches over the port (3 files:sycl/src/kernels/cuda/fused_gr.dp.cpp,core/expert_source.cpp,prefill/gemm.dp.cpp) showed the same stall after the same log line, withstrace -cshowing 61,728sched_yieldcalls / 99.98% of all syscalls over 6 s — a pure spin loop, no I/O. Corroborating only.Also: GPU selection is not honored on the serve path
On the 0.1.40 SYCL port,
--gpu-pci/STRATA_GPU_PCIfrom the config is ignored (no code path insycl/serve/orsycl/src/consumes it — the 0.1.38-based engine does honor it). WithoutONEAPI_DEVICE_SELECTORin the environment the engine takeslevel_zero:0; on a two-card box that silently picks the first card — in my case the one already serving another model (Run A above). INTEL.md notes thatsycl/serve/strata-sycl.shforwards the host's selector, but launchingserver_intel.pydirectly (systemd) requires settingONEAPI_DEVICE_SELECTORon the unit.Related
--layer-splitstartup deadlock — same "host thread spins" signature; I have no layer split)#267message)Happy to share the device coredump (
/sys/class/drm/card2/device/devcoredump/data),sycl-lsoutput, or run further probes/bisect if you point me at the likely culprits between the 0.1.38 port and the 0.1.40 port.@Niko1221 commented on GitHub (Oct 7, 2026):
The 0.1.40.2 SYCL engine has changes in this area: big expert-cache arenas are filled with chunked kernels instead of one memset (the long fill could trip the xe job timeout), the BIAS_UNCACHED buffers live in host memory, and the draft steps wait instead of spinning 1024 times (the 1-core spin). I cannot prove it is the same stall, so please retest on the 0.1.40.2 build and post the log if it still stops after the 'expert cache auto ... slots' line.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
--kv-growand--vram-elastic, on only where a start-up check passes (resubmits #2189) #4025