mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#4047
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/2436
Author: @deriknel
Created: 10/14/2026
Status: 🔄 Open
Base:
main← Head:pr/sycl-pipeline-one-token-commit📝 Commits (1)
d350ba6sycl: defer pipelined one-token commits to the host verdict📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
sycl/src/core/verify.cpp(+3 -2)📄 Description
Problem and result
With
--pipeline-windows 2on SYCL, greedy text forks from the serial loop's within the first few hundred characters. A pipelined verifier (set_always_publish) captures its one-token window with the in-graph state advance, andpl_commit_asyncthen runs the commit graph on top of it, so every one-token window advances the first stage's recurrent (GDN) state twice.c81f9984fixed this in the CUDA verifier on 2026-10-09; the SYCL verifier still has the old condition. With this change the pipelined text matches the serial loop's.Related discussion
Needs #2433, without which
--pipeline-windowsdoes not run on SYCL at all. Portsc81f9984. No scope agreement needed: a focused fix.Approach
sycl/src/core/verify.cpp, the two conditionsc81f9984changed insrc/core/verify.cpp:Verifier::record_window:self_commitis off whenalways_publish_is set.Verifier::commit: the branch that skips the commit graph for a one-token window is not taken whenalways_publish_is set.Only
--pipeline-windowscallsset_always_publish(true), 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. The serial reference ismainwith pipeline windows off.Passed:
main+ #2433 + this PR,--pipeline-windows 2: all 5 greedy texts identical to the serial loop's, in two rounds.main(+7% / +19%).verify: error, no lost device, noxereset.cteston both cards: the same 3 failures as onmain;iq_paritywith fixtures, 0 failures.Failed:
main+ #2433 only,--pipeline-windows 2(the bug): pipelined text differs from the serial loop's at character 72 (prose), 146 (code) and 50 (story); maths and the edit are the same.Not run:
sycl/only.Limits
None known. On 0.1.43.1 we also confirmed the cause with
STRATA_ONE_TOKEN_COMMIT=0(identical text and state hashes), not repeated on 0.2.0.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.