Repository navigation
[Sampling Replay 3/8] Replay sampling support in actor scoring - #3348
Closed
nanjiangwill wants to merge 1 commit into
Closed
nanjiangwill wants to merge 1 commit into
nanjiangwill wants to merge 1 commit into
Conversation
nanjiangwill
requested review from
Rockdu,
Shi-Dong,
Zhichenzzz,
fzyzcjy,
guapisolo,
jybsuper,
maocheng23,
yueming-yuan and
yushengsu-thu
as code owners
September 21, 2026 07:32
This was referenced Sep 21, 2026
Contributor
Author
|
Closing this layer-specific review PR in favor of the single integrated sampling-replay PR #3354. The implementation and validation remain available there. |
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.
Stack position
Part 3/8 of the bounded sampling-support replay series. Parts 1/8 and 2/8 are merged. #3321 has merged SGLang v0.5.20 into
main.Layer-only diff: 12754e9...nanjiangwill:feat/sampling-replay-actor-scoring
Review umbrella: #3354.
Summary
Why this layer is separate
This PR is the trainer-side correctness boundary. It lets reviewers evaluate TP/CP mask construction, actor-only attribution, and gradients without also reviewing HTTP and session-server behavior.
The default unbounded sampling path remains unchanged. SGLang capture, session propagation, user-facing validation, GPU CI, and documentation are separate layers in the stack.
Validation
Focused tests cover Megatron and FSDP actor selection, transport reconstruction, tensor-parallel support normalization, gradients, entropy, and generic forward callbacks.