Repository navigation
Conversation
Contributor
Author
This was referenced Dec 1, 2026
This branch has not been deployed
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.
Adapt Felipe Mello's author recut to the existing native generation stack, without merging its HTTP parents. Capture generator input-token routes through the installed vLLM V1 capture protocol, preserve full prefill/prefix-cache/decode rows and native turn deltas, pack/RDMA them alongside unshifted inputs, and force each decoder layer's selection while gathering fresh differentiable gate weights. Save the overridden choice inside the non-recomputed routing decision. Reject missing/malformed routes and unsupported MTP replay; keep padding on native distinct routes.
Preserve c4d94bd's PR6376 policy-loss/masking math and 584f6d's BF16 stochastic-copy/data controls. No PR6378 sequence-clipping integration, HTTP/Verifiers transport, router-statistics migration, or environment upgrade.
Validation: 343 focused CPU tests passed, zero failures/skips; includes actual installed V1 capture/storage/output APIs, Qwen metadata (48/128/8), fresh gate gradients and torch_remat self-replay, per-layer decoder forwarding, randomized multi-turn branches, CP2 input alignment, and real Monarch TCP RDMA replay transport. Pristine-base 71-test subset passed. 16 native router cases plus finite off-path packing match c4d94bd bitwise (104 tensor/value leaves). Cached Black22, AST (38 files), added-line ASCII and git diff --check pass. Full pre-commit/flake8 unavailable; cached usort/libcst native3.11 cannot load in private Python3.12. GPU FULL-graph/EP execution and training convergence not run under the user's GPU-prevalidation waiver.
Source-PR: #5255
Upstream-commit: 40c12cd
Source-author-recut: 3dbd045
Source-follow-up: fa0a1f4
Source-author-date: 2026-10-11T22:20:48-07:00
Recreation-note: Literal PR-head object unavailable; native adaptation of the attributed author recut, not a literal head transplant.
Co-authored-by: Felipe Mello [email protected]