Repository navigation
Conversation
Exercise the packaged CLI and isolated Gym components through deterministic CPU tool use. Add a configurable GPU smoke lane for external vLLM runners. Signed-off-by: Ananth Subramaniam <[email protected]>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
|
/claude review |
|
No GPU e2e workflow is actually connected to a pre-merge CI job. Is this expected? It already has the CPU gate in cpu-e2e.yml and the runner-agnostic GPU script in run_external_vllm_gpu_e2e.sh. The remaining missing piece is a pre-merge GPU workflow that simply supplies the environment and invokes that script. |
qiaochuz-nv
reviewed
Aug 17, 2026
|
|
||
| cd "$E2E_DIR/workspace" | ||
| "$VENV_DIR/bin/gym" env start \ | ||
| --config "$ROOT_DIR/resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml" \ |
Contributor
There was a problem hiding this comment.
do we will increase the coverage for all resource_servers in CI, or you expect QA side can have more coverage? The same questions are for below --agent as well
5 tasks
4 of 5 tasks
chtruong814
added a commit
that referenced
this pull request
Aug 24, 2026
## What does this PR do? Adds a matrix-backed hosted-provider E2E job to `cicd-main.yml`, starting with Fireworks and `accounts/fireworks/models/gpt-oss-20b`. The provider-neutral runner executes directly on `ubuntu-latest` without the private CI container. It builds and installs the Gym wheel in an isolated environment, then mirrors draft PR #2575's two-request tool loop using the existing `example_single_tool_call` fixture: 1. The hosted model calls `get_weather`. 2. Gym executes the tool and the hosted model produces the final answer. The verifier checks the function call and matching tool output structurally without requiring deterministic model prose. It also requires a completed response, positive input/output token usage, and non-empty assistant output. The agent is bounded to two steps and each model response to 1024 output tokens. The job remains part of the overall `Nemo_CICD_Test` gate. Adding another hosted provider requires another matrix row with its provider config, model, and API-key secret name. The provider secret is resolved only into the provider test step environment and consumed through OmegaConf environment interpolation. It is not passed as a CLI argument or written into a config file. Linear: https://linear.app/nvidia/issue/AUT-769/e2e-testing-with-an-inference-api-provider-fireworks ## Testing - `pre-commit run --all-files` - `python -m pytest tests/unit_tests/test_ci_environment.py -q` — 36 passed - `detect-secrets scan --exclude-files 'pyproject\.toml|\.github/workflows/config/\.secrets\.baseline' --disable-plugin KeywordDetector` - YAML/JSON parsing, shell syntax, and `git diff --check` The live hosted-provider request was not run locally because the credential was not accessed; the new CI job performs that validation with the repository secret. ## Checklist - [ ] I have read the [contributing guidelines](https://docs.nvidia.com/nemo/gym/latest/contribute/development-setup). - [x] The change is focused; unrelated "drive-by" edits are tracked as separate issues/PRs. - [x] Tests added or updated and pass locally, or N/A for docs-only / non-code changes (so CI unit/server checks pass when applicable). - [x] Pre-commit checks pass locally (`pre-commit run --all-files`) (so CI lint/format/copyright pass). - [x] All commits have DCO sign-off (`git commit -s`) (so the DCO check passes). --------- Signed-off-by: Charlie Truong <[email protected]>
balasaajay
added a commit
that referenced
this pull request
Aug 24, 2026
<!-- Thanks for contributing to NeMo Gym! Please fill out the sections below. --> ## What does this PR do? Adds an end-to-end GPU test using the infrastructure introduced in #2630 and the test foundation from #2575. The test exercises: Qwen on GPU → vLLM → Gym model server → simple agent → string_match verifier - Serves `Qwen/Qwen2.5-0.5B-Instruct` at a pinned Hugging Face revision. - Runs locally inside the CI container without inference-provider API keys. - Uses one GPU and temperature `0`. - Verifies a real rollout receives reward `1.0`, uses the expected model, and contains valid token usage and output. - Prefetches isolated Gym server environments during the container build. - Persists the Hugging Face cache between runs. - Uploads rollout, Gym, vLLM, model-readiness, and GPU diagnostic artifacts even when the test fails. - Adds bounded readiness checks, evaluation timeouts, and graceful process cleanup. ## Checklist - [ ] I have read the [contributing guidelines](https://docs.nvidia.com/nemo/gym/latest/contribute/development-setup). - [ ] The change is focused; unrelated "drive-by" edits are tracked as separate issues/PRs. - [ ] Tests added or updated and pass locally, or N/A for docs-only / non-code changes (so CI unit/server checks pass when applicable). - [ ] Pre-commit checks pass locally (`pre-commit run --all-files`) (so CI lint/format/copyright pass). - [ ] All commits have DCO sign-off (`git commit -s`) (so the DCO check passes). --------- Signed-off-by: Ananth Subramaniam <[email protected]> Signed-off-by: Ajay Balasa <[email protected]> Signed-off-by: Ajay <[email protected]> Co-authored-by: Ananth Subramaniam <[email protected]>
Contributor
Author
This branch has not been 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.
Summary
gym env start.vllm_model,simple_agent, resources server, verifier, and rollout collector.