Repository navigation
test(evaluator): Add Gym agent evaluation e2e coverage #1315
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
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
79eeb79
Test e2e gym job
JashG 06616ef
fix(tests): update gym_row assertions for its move to metadata
JashG 69ad75c
Do not embed test-only details in CPU task image
JashG 3a67e3f
Fixes
JashG e967382
Use dedicated CI-only Gym CPU image for e2e tests
JashG 3d4225d
Add marker for gym e2e tests
JashG ff57c4d
Revert unrelated AGENTS.md change
JashG d41c003
Rebase
JashG 8b99783
Fix lint step
JashG bb0bf6a
Minor cleanup
JashG b09ed45
fix: Move gym_row back to inputs field in TaskInputs schema
JashG 5e6336c
Update field name to hydra_params
JashG 7d26389
Ensure MetadataItem value is JSONValue
JashG 9b32272
Reword misleading comment
JashG 2d2dded
Regenerate OpenAPI
JashG bf0e0bf
feat(evaulator): Add dedicated Gym task image for agent evaluation
JashG 3c6a420
Cleanup old e2e-only image aliases
JashG 44240ad
feat(evaluator): Publish dedicated Gym task image
JashG eaa30a3
Remove obsolete CI-only wiring, align image tags, ensure e2e job pre-…
JashG cb3c292
Remove redundant ci step
JashG 371c198
Update RELEASING.md
JashG 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> | ||
| <!-- SPDX-License-Identifier: Apache-2.0 --> | ||
|
|
||
| --- | ||
| description: Job runner for Gym agent evaluations, part of NeMo Platform | ||
| --- | ||
| ## NeMo Platform Gym Tasks Container | ||
|
|
||
| This container provides the Gym and Ray runtime for agent evaluation jobs. It is | ||
| separate from the shared CPU tasks container so those dependencies remain | ||
| isolated to Gym workloads. | ||
|
|
||
| ### Resources | ||
|
|
||
| [Documentation](https://docs.nvidia.com/nemo-platform) | ||
|
|
||
| ### License | ||
|
|
||
| This container is licensed under the [Apache License 2.0](https://github.com/NVIDIA-NeMo/nemo-platform/blob/main/LICENSE). |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # syntax=docker/dockerfile:1 | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # Gym-enabled task image for NeMo Evaluator agent-evaluation jobs. | ||
| # | ||
| # Gym and Ray are isolated from the shared CPU task image. Test and model configuration is supplied | ||
| # per job through GymRunnerTarget.hydra_params. | ||
|
|
||
| ARG NMP_CPU_TASKS_BASE=nmp-cpu-tasks | ||
| FROM ${NMP_CPU_TASKS_BASE} AS runtime | ||
|
|
||
| COPY docker/locks/nmp-gym-tasks /opt/nmp-gym-tasks-lock | ||
|
|
||
| RUN uv venv --python /usr/local/bin/python3.13 /opt/gym-venv \ | ||
| && UV_PROJECT_ENVIRONMENT=/opt/gym-venv uv sync \ | ||
| --project /opt/nmp-gym-tasks-lock \ | ||
| --locked \ | ||
| --no-dev \ | ||
| --no-install-project \ | ||
| && ln -s /opt/gym-venv/bin/gym /usr/local/bin/gym | ||
|
|
||
| FROM runtime AS smoke-test | ||
| RUN gym --help >/dev/null \ | ||
| && /opt/gym-venv/bin/python -c \ | ||
| 'import importlib.metadata as m; import nemo_gym, ray, tiktoken; print({"nemo-gym": m.version("nemo-gym"), "ray": m.version("ray"), "tiktoken": m.version("tiktoken")})' | ||
|
|
||
| FROM runtime | ||
|
JashG marked this conversation as resolved.
Resolved
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| [project] | ||
| name = "nmp-gym-tasks" | ||
| version = "0.0.0" | ||
| requires-python = ">=3.13.14,<3.14" | ||
| dependencies = [ | ||
| "nemo-gym==0.5.0", | ||
| "tiktoken==0.13.0", | ||
| ] | ||
|
|
||
| [tool.uv] | ||
| required-version = ">=0.9.14,<0.10.0" | ||
| environments = [ | ||
| "sys_platform == 'linux' and platform_machine == 'x86_64'", | ||
| "sys_platform == 'linux' and platform_machine == 'aarch64'", | ||
| ] |
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.