Repository navigation
fix: fix skip_reference_policy_logprobs_calculation and skip_prev_logprobs #2443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yuki-97
merged 13 commits into
NVIDIA-NeMo:main
from
jinglinglingling:skip-prev-logprobs-force-onpolicy-rebased
May 12, 2026
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
63b6a6b
fix: skip prev_logprobs computation when force_on_policy_ratio is true
yfw 3f55765
style: apply ruff format to PR-modified files
jinglinglingling 473e7e9
refactor(grpo): move skip_reference_policy_logprobs_calculation asser…
jinglinglingling 2566326
fix: skip_reference_policy_logprobs_calculation=true crashes training
21c6591
style: apply ruff format to PR #2174 worker files
jinglinglingling bd85091
fix: skip loading reference model when KL penalty is zero
yfw c31332e
feat(grpo): auto-enable skip_reference_policy_logprobs when KL=0
jinglinglingling 9ee54dd
test(functional): grpo_kl_zero.sh covers reference_policy_kl_penalty=0
jinglinglingling b430912
test(grpo): add unit tests for skip-ref-logprobs and force-on-policy-…
jinglinglingling d5c1532
revert: drop worker-level reference-model guards (covered by grpo.py)
jinglinglingling 92aa6ba
test(grpo): add reference_policy_kl_penalty key to sglang setup test
jinglinglingling c447a0d
test: provide real tensors for grpo_train logprob phase mocks
jinglinglingling 2c57451
Apply suggestions from code review
yfw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.