feat(concurrency): concurrent paged serving - #594
Open
Graffioh wants to merge 1 commit into
Open
Conversation
This was referenced Aug 10, 2026
Graffioh
marked this pull request as ready for review
August 10, 2026 10:41
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 64 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Graffioh
force-pushed
the
codex/concurrent-paged-serving
branch
3 times, most recently
from
August 10, 2026 12:25
7a84ce1 to
e785eeb
Compare
Graffioh
commented
Aug 10, 2026
Graffioh
force-pushed
the
codex/concurrent-paged-serving
branch
6 times, most recently
from
August 11, 2026 09:13
09e7938 to
7270fd0
Compare
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 67 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Graffioh
force-pushed
the
codex/concurrent-paged-serving
branch
from
August 13, 2026 15:10
7270fd0 to
b7cfd24
Compare
Graffioh
force-pushed
the
codex/concurrent-paged-serving
branch
from
August 14, 2026 14:05
b7cfd24 to
7eae5fe
Compare
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.
Dependency
Builds on #555, which provides the paged K/V allocator, paged-attention operator, and single-request Qwen paged-decode foundation.
Summary
Adds concurrent paged serving for Qwen behind the existing paged-attention path.
SeqEngine,StepPlan, andStepResultcontracts.Impact
Multiple requests can share one Qwen backend without run-to-completion serialization. Slot lifecycle, paged K/V ownership, recurrent state, sampling state, and response delivery remain isolated per request.
The normal serving interface stays small: users select maximum concurrency and may override K/V pool capacity, while the engine supplies appropriate idle and mixed prefill limits automatically.
Validation
git diff --checktest_seq_batch_plan: 41 checks passedtest_server_unittarget built successfully forgfx1151/propstests passedmainTODO future