[Spec] Avoid multi-layer EAGLE SWA scheduler synchronization - #35378
Closed
paulzhang-tm wants to merge 1 commit into
Closed
paulzhang-tm wants to merge 1 commit into
paulzhang-tm wants to merge 1 commit into
Conversation
Free page-aligned sliding-window KV segments without GPU uniqueness checks and publish the final draft graph's shared-read completion event for scheduler overlap.
paulzhang-tm
requested review from
Qiaolin-Yu,
Ying1123,
alphabetc1,
hanming-lu,
hnyls2002,
huangtingwei9988,
hzh0425,
ispobock,
merrymercy,
xiezhq-hermann and
yizhang2077
as code owners
August 18, 2026 20:29
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Paged sliding-window KV eviction performs a data-dependent uniqueness pass for request segments that are already complete and page-aligned. Multi-layer EAGLE also leaves the scheduler without the final draft graph's shared-read completion event, forcing a broader stream synchronization before the shared buffers can be reused.
Modifications
shared_read_done_eventafter the final multi-layer draft graph step, including the single-graph replay path.Accuracy Tests
No model-output behavior changes. The relevant unit suites pass:
Speed Tests and Profiling
Not benchmarked independently. The allocator change removes a device-side uniqueness operation from complete page-aligned SWA segments, and the event publication lets the scheduler use its event-scoped shared-read barrier for multi-layer EAGLE.
Checklist
-Robot
CI States
Latest PR Test (Base): ❌ Run #32182552708
Latest PR Test (Extra): ❌ Run #32182552201