mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[GH-ISSUE #5156] [Engine] SIGSEGV in native_gu_rows (CPU expert pool) on Meteor Lake iGPU, SYCL i915 path #3066
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#3066
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 @pascalbrax on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5156
Problem: On a Core Ultra 7 155H (integrated Arc, i915), the SYCL engine loads Coder IQ1_M and reports ready, then dies with SIGSEGV in the
strata-pool-Nthreads at the first request. gdb puts the crash instrata::kernels::cpu::native_gu_rows, which reads an offset from theNativeFmtdescriptor whose value is a garbage 64-bit number. Integrated Arc is listed as untested in INTEL_ARC.md, so I don't expect support; I'm reporting the failure mode in case it points to a data bug in the CPU path that other configs could hit too.Environment:
ffa80d73133ea5c548aefe57889a16e8085a938f, engine 0.1.56[level_zero:gpu] Intel(R) Arc(TM) Graphics 12.71.4--max-context 4096Local changes (so you can judge validity):
cmake -S sycl -B build-sycl -G Ninja -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DSTRATA_SYCL_PARITY=OFF(JIT, no AOT)setup_intel.pyskips integrated GPUs, so I added"7d55": ("Arc Graphics (Meteor Lake iGPU)", 8.0)toINTEL_ARCto get the A750/i915 config (8 GB is a stand-in)sycl/serve/server_intel.pyneeded the separate fix in issue # to start at allstrata-sycl.sh: sources setvars.sh; setsSYCL_CACHE_PERSISTENT=0 ZES_ENABLE_SYSMAN=1 STRATA_VERIFY_DEVICE_PLAN=1; dropsSTRATA_*variables whose value is 0, as the Docker wrapper does--ple-io ramremoved from the generated config (RAM)--pack … --native …-00001-of-00002.gguf --ple-gguf …-00002-of-00002.gguf --expert-profile data/expert-profile-coder.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp …/mtp/rt --max-context 4096 --vision --pool-workers 10 --vram-reserve-mib 300Reproduce: Start the generated
run-coder-iq1_m.shand send any short chat request; or one-shot under gdb:Expected: Generation, or a clear error. Actual: the engine loads (experts 23.42 GiB; GPU expert cache about 1850–2070 slots, 3.6–4.0 GiB;
cudaMallocrequests of 4.75 GiB and above fail, 3.66 GiB succeeds), the server reports ready, and the first request kills it with exit code -11. The first time this took ~60 s (kernel JIT); with warm caches it is ~1 s.Evidence (sanitized logs attached:
strata-coder-iq1_m.sanitized.log,gdb-strata2.sanitized.txt):strata-coder-iq1_m.sanitized.log
gdb-strata2.sanitized.txt
dmesg:
gdb, thread
strata-pool-2stops with SIGSEGV:Disassembly around the crash:
Registers:
rax=0xfd43e81a18e3b710,rcx=0x7ff86713b400,r12=0x108ff3d0,si_addr=0x0.Reproduction status: Reproduced locally on every attempt, server mode and one-shot gdb mode.
Observations vs. interpretation:
NativeFmt+0x58(r12 points into the heap) is0xfd43e81a18e3b710; adding it torcxgives a non-canonical address (si_addr 0).Tried, no change in the crash:
--pool-workers 1;--pool-affinity p-cores;STRATA_NO_AVXVNNI=1;STRATA_NO_IQ256=1(log confirmsggml-cpu vec_dot (STRATA_NO_IQ256 set));STRATA_PF_XMX=0.--no-poolis unusable here: the native IQ pack requires--spec, and with--no-poolthe engine exits at startup with "verify: needs the profile-filled VRAM expert tier".Not run: a build with oneAPI 2026.1 (to rule out a compiler difference — unconfirmed hypothesis); the
xedriver on this GPU; a Docker-based build; a sanitizer/debug build. I can run any of these or test a patch if useful.