Repository navigation
Description
Summary
Add --dry-run / -n flag to major CLI commands that shows what would happen without actually executing the operations. This improves user confidence and helps with debugging configuration issues.
Motivation
- Confidence building: Users can verify complex commands before execution
- Configuration debugging: See resolved configs and planned operations
- Cost savings: Avoid accidental expensive operations (large rollout collections)
- Learning: New users can explore commands safely
- Script validation: Verify automation scripts work as expected
Proposed Commands to Support
Higher Priority:
ng_run --dry-run - Show which servers would start and their resolved configurations
ng_collect_rollouts --dry-run - Show rollout plan (input count, output path, estimated time/cost)
ng_init_resources_server --dry-run - Show what files/directories would be created
Lower Priority:
ng_test --dry-run - Show which tests would run for specific server
ng_test_all --dry-run - Show all tests that would run
Example Usage
# Show what servers would start
ng_run --dry-run "+config_paths=[path1,path2]"
# Output:
# Would start 3 servers:
# - simple_weather_server (port 8001)
# - openai_model_server (port 8002)
# - simple_agent_server (port 8003)
# Resolved config: /tmp/nemo_gym_merged_config.yaml
Implementation Considerations
- Add --dry-run flag to argument parsers
- Create preview/summary functions for each command
- Consider config resolution without server startup
- Mock expensive operations (API calls, model loading)
- Use consistent output format across commands
Acceptance Criteria
[ ] All dry-run outputs are consistent and informative
[ ] Help text documents dry-run behavior for supported commands
[ ] No side effects during dry-run operations
Activity
[-]Add dry run support to NeMo Gym CLI commands[/-][+]Add dry run support to CLI commands[/+]Add back Super 3.5 evals args to CLI rather than config (#2503)
[Super 3.5 evals] Remove unnecessary curls (#2504)
fix(ci): add expected answer to wheel test fixture (#2516)
Bxyu/swe dev 20260814 (#2561)
feat(benchmarks): add HLE vision (multimodal) variant (#2529)
[Super 3.5 evals] Update Aug 17 2026 (#2579)
Add image tools agent and PivotRL verifier (#2624)
fix(docs): environment concepts page (#2708)
39 remaining items
feat(generative_reward_model): add GenRM training resources server (N…
feat: jobbench environment (#3070)
feat: workspacebench env (#3089)
fix: remove swe resource benchmarks (#3703)
Hwolff/deepagents agent server (NVIDIA-NeMo#2929)
test(benchmarks): verify manifest catalog coverage (#3709)
test(benchmarks): verify manifest catalog coverage (#3709)
test(benchmarks): verify manifest catalog coverage (#3709)
SWE: add committed patch capture (NVIDIA-NeMo#3731)
feat(checkpoint): per-backend generation-cut URL (#3798)
feat(rollout-collection): add --interleave-repeats (NVIDIA-NeMo#3822)
SWE: add committed patch capture (#3731)
fix(cli): Treat 502/503/504 from a model endpoint as still starting (N…
feat(single_step_tool_use_with_argument_comparison): add single-call … (
fix 404 surgeai/GDP.pdf (NVIDIA-NeMo#4697)