Skip to content

chore(gym): declare legacy environment servers in RL configs - #4745

Merged
terrykong merged 2 commits into
NVIDIA-NeMo:mainfrom
zyzhou5:gym-explicit-legacy-environments
Oct 16, 2026
Merged

terrykong merged 2 commits into
NVIDIA-NeMo:mainfrom
zyzhou5:gym-explicit-legacy-environments

Conversation

@zyzhou5

@zyzhou5 zyzhou5 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Explicitly configure legacy_agent Environment Servers in RL's Gym configurations, making the existing orchestration choice explicit on the RL side. Shared RL defaults cover common environment blends; recipe overrides retain only the wrappers for their configured environments.

This covers training, distillation, prefetch, and standalone configurations. The resolved agent bindings and training settings remain unchanged.

Issues

No linked issue; this is the configuration migration following the Environment Server integration.

Usage

Existing recipe commands and dataset agent references continue to work unchanged.

Validation

  • All 66 Gym configurations (67 effective compositions, 477 agent-wrapper bindings) resolve with automatic wrapper creation disabled. Every binding has an explicit RL declaration.
  • Resolved configurations match the pre-change baseline, excluding inactive null entries used to remove inherited wrappers.
  • Existing SWE Dynamo, Gym shard, and prefetch configuration tests: 70 passed.
  • Scoped pre-commit, including recipe minimization, and git diff --check: passed.

Model rollouts: N/A for this declaration-only change; configuration equivalence was checked offline.

@copy-pr-bot

copy-pr-bot Bot commented Oct 15, 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.

@zyzhou5 zyzhou5 added the CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) label Oct 15, 2026
@zyzhou5
zyzhou5 marked this pull request as ready for review October 15, 2026 17:09
@zyzhou5

zyzhou5 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test a069e59

@copy-pr-bot

copy-pr-bot Bot commented Oct 15, 2026

Copy link
Copy Markdown

/ok to test a069e59

@zyzhou5, there was an error processing your request: E2

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/

@zyzhou5 zyzhou5 changed the title chore(gym): declare legacy environment servers for SWE recipes chore(gym): declare legacy environment servers in RL configs Oct 15, 2026
@zyzhou5

zyzhou5 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 487b148

@zyzhou5
zyzhou5 requested a review from ananthsub October 15, 2026 22:52
@terrykong
terrykong merged commit 35a5177 into NVIDIA-NeMo:main Oct 16, 2026
96 checks passed
alexandery-nvidia added a commit that referenced this pull request Oct 16, 2026
…failures-and-redispatch

main gained #4745, #4542 and #4596 since the previous merge, which put this head
eleven commits behind it; the merge keeps the head within main's up-to-date rule
for CI. No conflicts.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: alexandery <[email protected]>
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.

3 participants