Skip to content

Move Ray out of nemo-gym's core dependencies #4316

Closed

Description

@linear-code

This is the last core step: a plain pip install nemo-gym no longer includes Ray.

  • Packaging: move ray[default]>=2.58.0 and its jinja2 pin from [project.dependencies] into the ray extra (already in all), then re-lock uv.lock.
  • CI: add --extra ray to the unit-test and full-test-suite syncs. Keep the wheel smoke test without Ray, so the no-Ray path stays covered.
  • Tests: tests/unit_tests/test_ray_serve_gateway.py skips when Ray isn't installed.
  • Docker: add --extra ray to the image builds, and keep the ray_dist.jar removal for the CVE.
  • Docs: update the install pages and the FAQ.

Blocked by the PRs for "Run Gym without Ray installed", "Request the ray extra from servers that use Ray" and "Default ray_enabled to False".

Activity

  1. added
    repo-toolingCI/CD, build, tooling improvements
    area:coreShared APIs, servers, telemetry, health, and registries
    on Oct 9, 2026
  2. added 3 commits that reference this issue on Oct 12, 2026
    9d5360e
    4b25988
    7c54b11
  3. added a commit that references this issue on Oct 14, 2026
    40d7484
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Rayarea:coreShared APIs, servers, telemetry, health, and registriesrepo-toolingCI/CD, build, tooling improvements

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions