Repository navigation
chore(gym): bump Gym for Environment Server compatibility - #4517
Merged
Merged
Conversation
Contributor
Author
|
/ok to test ea0123d |
Contributor
Author
|
/ok to test b19fa28 |
zyzhou5
marked this pull request as ready for review
October 5, 2026 22:32
ananthsub
previously approved these changes
Oct 6, 2026
1 similar comment
Contributor
Author
|
/ok to test 0ccc2dd |
zyzhou5
force-pushed
the
gym-environment-server-bump
branch
from
October 8, 2026 16:45
0ccc2dd to
84e54a5
Compare
Contributor
Author
|
/ok to test 84e54a5 |
Contributor
Author
|
Updated the Gym pin to |
Contributor
Author
|
/ok to test ba490f1 |
zyzhou5
force-pushed
the
gym-environment-server-bump
branch
from
October 12, 2026 17:05
ba490f1 to
800a24e
Compare
Contributor
Author
|
/ok to test 800a24e |
terrykong
previously approved these changes
Oct 12, 2026
zyzhou5
added a commit
to zyzhou5/RL
that referenced
this pull request
Oct 12, 2026
Merge current main and retain its Gym pin and dependency lockfile. PR NVIDIA-NeMo#4517 supplies the Gym update, so this PR now contains only the native router-capture optimization and its tests. Signed-off-by: Zeyu Zhou <[email protected]>
zyzhou5
force-pushed
the
gym-environment-server-bump
branch
from
October 13, 2026 20:57
8518897 to
0142758
Compare
Contributor
Author
|
/ok to test 0142758 |
zyzhou5
force-pushed
the
gym-environment-server-bump
branch
from
October 14, 2026 17:36
0142758 to
e7046fd
Compare
Contributor
Author
|
/ok to test e7046fd |
Signed-off-by: Zeyu Zhou <[email protected]>
Signed-off-by: Zeyu Zhou <[email protected]>
Signed-off-by: Zeyu Zhou <[email protected]>
Signed-off-by: Zeyu Zhou <[email protected]>
Signed-off-by: Zeyu Zhou <[email protected]>
Signed-off-by: Zeyu Zhou <[email protected]>
zyzhou5
force-pushed
the
gym-environment-server-bump
branch
from
October 14, 2026 18:16
e7046fd to
a630f24
Compare
Contributor
Author
|
/ok to test a630f24 |
terrykong
approved these changes
Oct 15, 2026
1 of 2 tasks
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?
Bump Gym so rollouts enter through an Environment Server. Legacy wrappers forward requests to the existing agent’s
/run, and Gym adds a wrapper automatically when one is missing. Update the dependency lockfile and Docker prefetch version accordingly. See the Environment Server RFC for details.The Docker build also removes Ray’s bundled
yarlalongsideaiohttp, so the newer HTTP library uses its compatible installed dependency and Ray can start.Validation
Ran the existing four-node (16-GPU) async GRPO recipe on AGA with Nemotron-3-Nano-30B-A3B-BF16 at revision
b19fa285. The mixed dataset uses the math, code generation, Workplace Assistant, MCQA, instruction following, and structured outputs SimpleAgent instances through their legacy-agent Environment Server wrappers. All three training steps completed successfully. W&B.Ran 100-step comparison against recent Nemotron-3.5-Nano RLVR
adv0setup, using the same checkpoint, mixed dataset, and training configuration (RLa2792d52, Gym073fc32b). The AGA run used 86 GB300 nodes: 32 training, 32 generation, 2 Gym, and 20 external judges. W&BReproduced the Flow-GRPO Ray startup failure in the failing CI image on DFW (2 H100 GPUs). Disabling Ray’s bundled
yarlresolved startup withaiohttp 3.14.5unchanged. This was a focused startup check; the rebuilt image still needs full CI validation.