Skip to content

Add CLI command to display Gym version and system information #145

Description

@cwing-nvidia

Description:
Users and support need easy access to NeMo Gym version information, dependencies, and system details for troubleshooting and compatibility verification.

Background:
Currently there's no standard way to check:

  • NeMo Gym version
  • Python version and virtual environment
  • Key dependency versions
  • System information for troubleshooting

Proposed Implementation:
Add ng_version / nemo_gym_version CLI command that shows:

  • NeMo Gym version and build info
  • Python version and virtual environment path
  • Key dependency versions (FastAPI, OpenAI, etc.)
  • Optional: System information with --verbose

Acceptance Criteria:

  • ng_version shows basic version information
  • ng_version --verbose includes detailed system info
  • Shows NeMo Gym version (from package metadata)
  • Shows Python version and virtual environment
  • Lists key dependency versions
  • Includes installation path information
  • Machine-readable format option: ng_version --json
  • Add both ng_version and nemo_gym_version aliases
  • Include in CLI help documentation

Example Output:

$ ng_version
NeMo Gym v0.1.0
Python 3.12.1 (/Users/user/Documents/Gym/.venv/bin/python)
Installation: /Users/user/Documents/Gym

$ ng_version --verbose
NeMo Gym v0.1.0
Build: 2024-10-13 (commit: abc123)
Python: 3.12.1 (/Users/user/Documents/Gym/.venv/bin/python)
Installation: /Users/user/Documents/Gym
Key Dependencies:
fastapi: 0.104.1
openai: 1.12.0
hydra-core: 1.3.2
pydantic: 2.5.0
System:
OS: macOS 14.6.0 (Darwin)
Architecture: arm64
CPUs: 8
Memory: 16GB

$ ng_version --json
{"nemo_gym": "0.1.0", "python": "3.12.1", "fastapi": "0.104.1", ...}

Activity

  1. added this to the v0.1.0 milestone on Oct 13, 2025
  2. added
    core-infra
    on Oct 13, 2025
  3. removed this from the v0.1.0 milestone on Oct 23, 2025
  4. added
    usability
    on Oct 23, 2025
  5. linked a pull request that will close this issueDisplay system and version info #347on Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

core-infrausability

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions