mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2110] [Engine] sycl: STRATA_WINDOW_SYNC=1 by default on an integrated GPU (Arc 140T: 6 of 6 requests stalled, 10 of 10 pass) #3866
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#3866
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2110
Author: @andersson82
Created: 10/12/2026
Status: 🔄 Open
Base:
main← Head:sycl-igpu-window-sync📝 Commits (1)
856ece5sycl: STRATA_WINDOW_SYNC=1 by default on an integrated GPU (Arc 140T: 10 of 10 requests stalled with 0, 20 of 20 pass with 1)📊 Changes
1 file changed (+9 additions, -2 deletions)
View changed files
📝
sycl/src/core/verify.cpp(+9 -2)📄 Description
Problem and result
On an Arc 140T (the integrated GPU of a Core Ultra 9 285H,
xedriver) every request stalls: the first verify windowafter the prompt never finishes ("verify window: waiting for the GPU to finish the window (flags A/B/M raised)"), and
the 60 s watchdog restarts the engine. It is the hang
verify.cppalready describes for the A750 (a window launchedbehind GPU work still in flight never starts), and
STRATA_WINDOW_SYNC=1removes it the same way.This makes 1 the default on a device that reports
host_unified_memory, beside i915 and Alchemist.STRATA_WINDOW_SYNC=0, which is main's value on this GPU): 6 of 6 requests stalled.Related discussion
Related to #1545 (the same knob on an A770 under
xe). The maintainer's note on the first version of this pull request:a stall fix for an integrated Arc, not a speed change; it goes with #2114. This is that pull request, rebased on 0.2.2
and re-run, rebased on 0.2.3 on 2026-10-23, and rebased on 0.2.8 (main
870aedd9) on 2026-10-30 (no conflict either time; built, not re-run on the GPU).Approach
sycl/src/core/verify.cpp,Verifier::run: theSTRATA_WINDOW_SYNCdefault is 1 on an i915 card, an Alchemist card(both main's) or a device with
sycl::info::device::host_unified_memory(queried once, a failed query counts asfalse). The variable still overrides it either way. The comment above it has the measurement.
Compatibility: every card keeps the default main gives it. A discrete card has its own VRAM and should not report
host_unified_memory, so its path is the one before (not checked on a discrete card, see Not run). No other backend istouched.
Validation
Hardware: Arc 140T (8086:7d51, Xe-LPG+), Core Ultra 9 285H, 62 GiB RAM, Fedora 44 (kernel 7.2.11,
xe),intel-compute-runtime 26.35, oneAPI 2026.0, JIT build (
sycl/tools/build.sh). Model: Coder IQ1_M,--spec 4 --mtp,--max-context 98304,--kv int8,--stream-experts, served bysycl/serve/server_intel.py. Requests: short chatquestions, 100 tokens, greedy, thinking off, one after another.
Passed:
Build of this branch alone,
sycl/tools/build.sh:BUILD EXIT 0, 0 errors, on main011c9e60(v0.2.2) + this commitand again on main
5c8dd322(v0.2.3) + this commit (2026-10-23).2026-10-30, main
870aedd9(v0.2.8, engine 0.1.54):sycl/tools/build.shBUILD EXIT 0, 0 errors, on main + thiscommit + #2114 + #2115 together (not this commit alone).
On the 140T, engine 0.1.47 with this change and #2114's two engine changes (without #2114 the expert cache cannot be
sized on this GPU, so this change cannot be run alone there):
STRATA_WINDOW_SYNC=0(main's value here)The
is_primeanswer is correct code.Failed: none observed.
Not run:
host_unified_memoryis false there.STRATA_WINDOW_SYNC=2(the gap rule) on the 140T.Limits
I did not find which GPU work the window lands behind here: with the cache mirrored the adaptive tier is off
(
STRATA_VERIFY_NO_HOST), so unlike #1545 it is not the tier's swaps. Run-to-run spread of decode on this laptop isabout 15% (two runs of one config: 8.5-13.3 and 10.6-15.2 tok/s), so no speed claim is made beyond "it runs".
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.