Run async scheduling primers as standalone controller steps - #23
Closed
lmcafee-nvidia wants to merge 1 commit into
Closed
Run async scheduling primers as standalone controller steps#23lmcafee-nvidia wants to merge 1 commit into
lmcafee-nvidia wants to merge 1 commit into
Conversation
Signed-off-by: Lawrence McAfee <lmcafee@nvidia.com>
lmcafee-nvidia
force-pushed
the
defer-req-res-single-forward
branch
from
July 14, 2026 21:23
b91846e to
8e8e278
Compare
Owner
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.
Summary
Architecture
Each controller invocation now launches at most one model forward. A missing logits state produces a primer-only result; the caller immediately invokes the controller again to consume those logits and run the normal prepare, sample, forward, and resolve flow. Request scheduling, engine bookkeeping, counters, and externally visible output remain attached to the completed sampled step rather than the internal primer transition.
Performance
DFW
benchmark.pyon the dense 3.58B model, using one real 3,675-token prompt, OSL 512, batch size 1, and full-iteration CUDA graphs. The table reports three independent recorded trials per branch; each trial followed one warmup run.The mean delta is -1.1%. The tested single-forward commit predates the preserving rebase but has the same stable patch ID as the current PR commit.