Repository navigation
feat: add effort levels to nemo gym - #2770
Merged
Merged
Conversation
TODO: may need refactor, ask haifeng 967261cab1055fa8a8d93fa17d7c40bd03aa1241 #1919 Signed-off-by: Yi-Fu Wu <[email protected]> Co-Authored-By: Gerald Shen <[email protected]>
Signed-off-by: Anna Shors <[email protected]>
Signed-off-by: Anna Shors <[email protected]>
Signed-off-by: Anna Shors <[email protected]>
yfw
reviewed
Jun 11, 2026
Signed-off-by: Anna Shors <[email protected]>
Signed-off-by: Anna Shors <[email protected]>
Signed-off-by: Anna Shors <[email protected]>
yfw
approved these changes
Jun 11, 2026
Contributor
|
/ok to test 2c55429 |
yfw
enabled auto-merge (squash)
June 11, 2026 22:34
ashors1
added a commit
that referenced
this pull request
Jun 27, 2026
Signed-off-by: Yi-Fu Wu <[email protected]> Signed-off-by: Anna Shors <[email protected]> Co-authored-by: Yi-Fu Wu <[email protected]> Co-authored-by: Gerald Shen <[email protected]> Signed-off-by: Anna Shors <[email protected]>
4 tasks
RayenTian
added a commit
that referenced
this pull request
Aug 23, 2026
…ller rollout path PR #2770 only wired length-based effort reward shaping into the run_grpo.py (v1) synchronous paths. The SingleController (v2) path runs its own NeMo-Gym rollout via RolloutManager/AsyncNemoGymRolloutImpl, which never applied it. - Thread EffortLevelsConfig through RolloutManager into AsyncNemoGymRolloutImpl and call the shared _apply_effort_shaping before completions are built, so the shaped reward flows into Completion.reward. - Fold the effort length/reward metrics into _compute_rollout_metrics. - setup.py resolves the config via the shared _get_effort_config helper. No behaviour change when env.nemo_gym.effort_levels is unset (_get_effort_config returns None -> shaping is a no-op). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: ruit <[email protected]>
RayenTian
added a commit
that referenced
this pull request
Aug 25, 2026
…ller rollout path PR #2770 only wired length-based effort reward shaping into the run_grpo.py (v1) synchronous paths. The SingleController (v2) path runs its own NeMo-Gym rollout via RolloutManager/AsyncNemoGymRolloutImpl, which never applied it. - Thread EffortLevelsConfig through RolloutManager into AsyncNemoGymRolloutImpl and call the shared _apply_effort_shaping before completions are built, so the shaped reward flows into Completion.reward. - Fold the effort length/reward metrics into _compute_rollout_metrics. - setup.py resolves the config via the shared _get_effort_config helper. No behaviour change when env.nemo_gym.effort_levels is unset (_get_effort_config returns None -> shaping is a no-op). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: ruit <[email protected]>
This branch was previously 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.
What does this PR do ?
Adds a cleaned-up version of 1693cc1. A few notes:
nemo_gym.effort_levels, whereas in the original commit, each effort level key was simply present in the top-levelmaster_configlow_penltyrather thanlow_penalty). This PR has fixed that typoIssues
List issues that this PR closes (syntax):
Usage
# Add a code snippet demonstrating how to use thisBefore your PR is "Ready for review"
Pre checks:
Additional Information