Skip to content

chore: unify setup nemogym - #3360

Merged
yuki-97 merged 6 commits into
mainfrom
yukih/unify-setup-gym
Jul 28, 2026
Merged

chore: unify setup nemogym#3360
yuki-97 merged 6 commits into
mainfrom
yukih/unify-setup-gym

Conversation

@yuki-97

@yuki-97 yuki-97 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor
  1. cherry-pick 6afeaae to let grpo.py also use spinup_nemo_gym_actor in nemo_rl.environments.nemo_gym, which is missing in feat(sc): NeMo-Gym path #3267.
  2. add routed_experts_dtype and use_fastokens to include new changes in main branch.

yuki-97 added 3 commits July 27, 2026 01:35
Signed-off-by: Yuki Huang <yukih@nvidia.com>
Signed-off-by: Yuki Huang <yukih@nvidia.com>
Signed-off-by: Yuki Huang <yukih@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@yuki-97 yuki-97 added the CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) label Jul 27, 2026
@yuki-97

yuki-97 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 7830ff9

@yuki-97
yuki-97 requested a review from RayenTian July 27, 2026 09:47
Signed-off-by: Yuki Huang <yukih@nvidia.com>
@yuki-97

yuki-97 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test d4a06dd

Signed-off-by: Yuki Huang <yukih@nvidia.com>
@yuki-97

yuki-97 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test ca51938

@yuki-97
yuki-97 marked this pull request as ready for review July 27, 2026 16:21
@yuki-97
yuki-97 requested review from a team as code owners July 27, 2026 16:21
@yuki-97
yuki-97 requested a review from terrykong July 27, 2026 16:22
Comment thread nemo_rl/environments/nemo_gym.py
RayenTian
RayenTian previously approved these changes Jul 28, 2026
@RayenTian

Copy link
Copy Markdown
Contributor

LGTM! Approved!

…p_nemo_gym_actor

Signed-off-by: Yuki Huang <yukih@nvidia.com>
@yuki-97

yuki-97 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 9bacae7

@yuki-97
yuki-97 enabled auto-merge (squash) July 28, 2026 08:17
@yuki-97
yuki-97 requested a review from RayenTian July 28, 2026 08:17
@yuki-97
yuki-97 merged commit 2ba7284 into main Jul 28, 2026
79 checks passed
@yuki-97
yuki-97 deleted the yukih/unify-setup-gym branch July 28, 2026 09:30
terrykong added a commit that referenced this pull request Jul 29, 2026
vLLM 0.25.1 moves max(train/critic/grad_norm) from 110.54 to 700.22 and
max(train/critic/explained_var) from -0.72 to -5.28, while every
policy-side metric in the same run is unchanged (token_mult_prob_error
1.026 -> 1.020, probability ratios identical). That points at the critic's
regression target rather than at generation.

Measured, not assumed: 0.20 baseline from PR #3360 job 90219748938, which
passes at 110.54; 0.25 from this PR's job 90199439799.

Raise the bound to 1500 so the bump is not blocked, with the numbers and a
pointer to #3412 recorded above the invocation. This is explicitly a
placeholder -- the mechanism is being debugged in a follow-up, and the
bound should end up set from measured behaviour or the cause fixed.

Note this is the second time this ceiling has been raised. The first was
reverted in 068cd6c because it claimed the metrics were healthy with no
run to back it; the difference now is that the numbers exist and are
written down.

The comment sits above 'uv run tests/check_metrics.py' rather than inline:
a comment between backslash-continued arguments terminates the command, so
placing it inline would silently drop the grad_norm check and then try to
execute the assertion string as a command.

Signed-off-by: Terry Kong <terryk@nvidia.com>
terrykong added a commit that referenced this pull request Jul 30, 2026
vLLM 0.25.1 moves max(train/critic/grad_norm) from 110.54 to 700.22 and
max(train/critic/explained_var) from -0.72 to -5.28, while every
policy-side metric in the same run is unchanged (token_mult_prob_error
1.026 -> 1.020, probability ratios identical). That points at the critic's
regression target rather than at generation.

Measured, not assumed: 0.20 baseline from PR #3360 job 90219748938, which
passes at 110.54; 0.25 from this PR's job 90199439799.

Raise the bound to 1500 so the bump is not blocked, with the numbers and a
pointer to #3412 recorded above the invocation. This is explicitly a
placeholder -- the mechanism is being debugged in a follow-up, and the
bound should end up set from measured behaviour or the cause fixed.

Note this is the second time this ceiling has been raised. The first was
reverted in 068cd6c because it claimed the metrics were healthy with no
run to back it; the difference now is that the numbers exist and are
written down.

The comment sits above 'uv run tests/check_metrics.py' rather than inline:
a comment between backslash-continued arguments terminates the command, so
placing it inline would silently drop the grad_norm check and then try to
execute the assertion string as a command.

Signed-off-by: Terry Kong <terryk@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants