mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2433] [Engine] sycl: a pipelined window still on the GPU is polled again, not failed #4040
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#4040
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/2433
Author: @deriknel
Created: 10/14/2026
Status: 🔄 Open
Base:
main← Head:pr/sycl-pipeline-done-poll📝 Commits (1)
6d157cdsycl: a pipelined window still on the GPU is polled again, not failed📊 Changes
1 file changed (+8 additions, -17 deletions)
View changed files
📝
sycl/src/core/verify.cpp(+8 -17)📄 Description
Problem and result
On the SYCL build,
--pipeline-windows 2fails the first request:Verifier::done()still has dpct's placeholder for CUDA's error check and treats a window that is still running as an error. The request ends withverify: error, and tearing the window down while the GPU still runs it can abort the engine withUR_RESULT_ERROR_UNINITIALIZED. With this change a window still on the GPU is polled again, as the CUDA verifier does, and pipelined requests complete.Related discussion
#2800 (hotschmoe) reports the same failure on two B70s and is fixed by this change; hotschmoe also re-tested it on 0.2.0-beta (
maine88ee39d) in the comment below. No scope agreement needed: a focused fix.Approach
sycl/src/core/verify.cpp,Verifier::done()only:err, as thecudaErrorNotReadybranch does insrc/core/verify.cpp.ext_oneapi_empty()in place ofcudaStreamQuery); the 20 s timeout from #267 stays.catchhandles.Every caller of
done()polls a window started withpl_launch, so the serial loop does not change. The branch still merges cleanly intomain.Validation
Setup for every run:
maine88ee39dbuilt for SYCL (AOTbmg-g31, oneAPI 2026.1, Compute Runtime 26.35.39758.10, IGC 2.41.5) in a container; host CachyOS, kernel 7.2.11,xe. 2x Intel Arc Pro B70 32 GB, layer split 26, Swift 1.5 Flash-Next IQ3_S with every expert in VRAM,--max-context 262144, int8 KV,--spec 4 --spec-min-p 0.6,--prefill 4096. Each build has only this PR's commit on top ofmain. Greedy check: 5 fixed prompts (prose, code, maths, an edit, a story), temperature 0, 400 tokens, thinking off, compared character by character.Passed:
main+ this PR,--pipeline-windows 2: bench and greedy requests complete, 0verify: errorlines in the engine log; decode 87.3 / 126.8 tok/s (prose / code).verify: error, no lost device, noxereset.cteston both cards: the same 3 failures as onmain(gr_parity,ple_parity,s2_expert_grouped_parity);iq_paritywith fixtures, 0 failures.Failed:
mainalone with--pipeline-windows 2(the bug): the first request returns HTTP 400verify: error; the engine log showsstrata serve: verify: error.Not run:
sycl/only.--pipeline-windows.Limits
With this change alone the pipelined text can fork from the serial loop's; #2436 fixes that and needs this PR to run at all.
We investigated (myself and Claude Opus 5.5 in Claude Code) and I reviewed the findings and ran every test on my two Arc Pro B70s on my CachyOS machine.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
bsakaguchi referenced this issue2026-11-07 16:33:50 +07:00