Conversation
STRML
marked this pull request as ready for review
September 15, 2026 15:08
Author
|
@rltakashige this is ready for review and implements the scheduler-level chunked-prefill direction from #1908. The regression now runs in the normal CI set and covers competing prefill serialization, active decode progress, prefix-cache reuse, and cancellation. GitHub is holding the fork workflow at action_required pending maintainer approval. |
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.
Addresses #1908.
Summary
The first request on an idle engine still uses the high-throughput synchronous prefill path. Only newly arriving prompts compete with existing work. This implements the scheduler-level chunking direction proposed in #1908 without requiring mixed prefill/decode kernels.
Self-review notes
Automated testing
Nix is not installed on the local test machine, so nix fmt was not run. No Nix files changed.
Scope and follow-ups
This patch targets single-node and tensor-parallel text generation. Pipeline-parallel and vision prefills need specialized incremental handling and remain on the existing synchronous path. Remote prefill retains its existing synchronous transfer/cache-ingestion lifecycle. Hardware tuning can adjust EXO_INTERLEAVED_PREFILL_STEP_SIZE without changing scheduler behavior.