Skip to content

docs: Docker install path, Python 3.13.14 refs, enroot GPU toolkit - #2725

Merged
kajalj22 merged 4 commits into
r0.5.1from
fix-v0.5.1-rc-container-issues
Aug 24, 2026
Merged

kajalj22 merged 4 commits into
r0.5.1from
fix-v0.5.1-rc-container-issues

Conversation

@kajalj22

@kajalj22 kajalj22 commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Document the pre-built NeMo Gym Docker image install path (docker run, including the --entrypoint /bin/bash override), per feedback that this was undocumented for v0.5.1
  • Fix stale Python 3.12 references across install/dev-setup docs to the repo's actual requirement, 3.13.14
  • Install nvidia-container-toolkit in the image so enroot's NVIDIA hook (/etc/enroot/hooks.d/98-nvidia.sh) can find nvidia-container-cli and inject GPUs into enroot sandboxes

Context

Addresses issues raised against the v0.5.1 RC container:

  • nvidia-container-cli missing for the enroot GPU hook
  • Installation docs outdated for Docker usage

- Add a "Pre-built NeMo Gym image" section to installation.mdx covering
  docker run usage (including the --entrypoint override for a shell),
  per feedback that the container install path was undocumented
- Fix Python version references (3.12 -> 3.13.14) across installation,
  prerequisites, development-setup, vllm, and nemo-rl-grpo docs to match
  the repo's actual requirement (.python-version, pyproject.toml)

Signed-off-by: Kajal Jain <[email protected]>
enroot's NVIDIA hook (/etc/enroot/hooks.d/98-nvidia.sh) requires
nvidia-container-cli to inject GPUs into enroot sandboxes, but the image
only installed enroot itself. Add nvidia-container-toolkit so GPU
passthrough works for enroot sandboxes launched from inside the container.

Untested: needs a real build + smoke test on a GPU node with enroot
before merge.

Signed-off-by: Kajal Jain <[email protected]>
@kajalj22
kajalj22 requested a review from a team as a code owner August 24, 2026 20:45
@copy-pr-bot

copy-pr-bot Bot commented Aug 24, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@kajalj22

Copy link
Copy Markdown
Contributor Author

/ok to test 4be66cd

@kajalj22

Copy link
Copy Markdown
Contributor Author

/claude review

@claude

claude Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

SHIP WITH CARE

Docs + Dockerfile only — no changes to verifiers, scorers, async paths, or public API surface. Nothing here touches correctness or reliability of the eval/training path.

One issue (inline, RISK): the blanket 3.12→3.13.14 replacement produced python3.13.14 -m pip install ... in the PyPI install tab. CPython's binary is python3.13 (major.minor only), so that command command not founds on the first thing a new user copy-pastes. uv venv --python 3.13.14 is unaffected (uv accepts full specifiers). Fix: use python3.13 in installation.mdx lines 17 and 27.

Everything else checks out:

  • Python bump is consistent with pyproject.toml (requires-python = ">=3.13.14").
  • Dockerfile: gnupg added to support the gpg --dearmor of the NVIDIA keyring; keyring + repo list are cleaned up in the same RUN layer, and apt-get clean/rm -rf /var/lib/apt/lists/* still run afterward. Reasonable.

No blockers.

The mechanical 3.12->3.13.14 replacement produced python3.13.14 as an
interpreter binary name in the PyPI install commands, which doesn't
exist on any system (CPython installs binaries as pythonMAJOR.MINOR).
uv venv --python 3.13.14 is unaffected since uv accepts full version
specifiers.

Per PR review feedback.

Signed-off-by: Kajal Jain <[email protected]>
installation.mdx still showed v0.4.0 in the pip-pin example and the
gym --version sample output.

Signed-off-by: Kajal Jain <[email protected]>
@kajalj22

Copy link
Copy Markdown
Contributor Author

/claude review

@kajalj22

Copy link
Copy Markdown
Contributor Author

/ok to test 9d1782a

@claude

claude Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

SHIP — LGTM, no reliability concerns.

Docs + build-infra only. Verified against the trusted base:

  • Python 3.12 → 3.13.14 bumps match requires-python = ">=3.13.14" and .python-version.
  • Version 0.4.0 → 0.5.1 matches nemo_gym/package_info.py (MAJOR.MINOR.PATCH = 0.5.1).
  • Dockerfile adds gnupg + nvidia-container-toolkit via the standard keyring→repo→install→cleanup flow, scoped so the temp repo list and keyring are removed before apt-get clean. Rationale (enroot's 98-nvidia.sh GPU hook needing nvidia-container-cli) is sound.

No verifier/scorer/async/public-API surface touched. Nothing to block on.

@kajalj22
kajalj22 merged commit 6074bec into r0.5.1 Aug 24, 2026
33 checks passed
@kajalj22
kajalj22 deleted the fix-v0.5.1-rc-container-issues branch August 24, 2026 21:56
kajalj22 added a commit that referenced this pull request Sep 2, 2026
…2725)

- Document the pre-built NeMo Gym Docker image install path (`docker
run`, including the `--entrypoint /bin/bash` override), per feedback
that this was undocumented for v0.5.1
- Fix stale `Python 3.12` references across install/dev-setup docs to
the repo's actual requirement, `3.13.14`
- Install `nvidia-container-toolkit` in the image so enroot's NVIDIA
hook (`/etc/enroot/hooks.d/98-nvidia.sh`) can find
`nvidia-container-cli` and inject GPUs into enroot sandboxes

Addresses issues raised against the v0.5.1 RC container:
- `nvidia-container-cli` missing for the enroot GPU hook
- Installation docs outdated for Docker usage

---------

Signed-off-by: Kajal Jain <[email protected]>
kajalj22 added a commit that referenced this pull request Sep 2, 2026
…2725)

- Document the pre-built NeMo Gym Docker image install path (`docker
run`, including the `--entrypoint /bin/bash` override), per feedback
that this was undocumented for v0.5.1
- Fix stale `Python 3.12` references across install/dev-setup docs to
the repo's actual requirement, `3.13.14`
- Install `nvidia-container-toolkit` in the image so enroot's NVIDIA
hook (`/etc/enroot/hooks.d/98-nvidia.sh`) can find
`nvidia-container-cli` and inject GPUs into enroot sandboxes

Addresses issues raised against the v0.5.1 RC container:
- `nvidia-container-cli` missing for the enroot GPU hook
- Installation docs outdated for Docker usage

---------

Signed-off-by: Kajal Jain <[email protected]>
kajalj22 added a commit that referenced this pull request Sep 4, 2026
#2725) into main (#2984)

## Summary
- Cherry-pick of #2725 from `r0.5.1` into `main`. **Stack position 3 of
5** — #2547 and #2629 (positions 1-2) merged as #2986 and #2985. This is
now next in line, rebased directly onto `main`.
- Updates installation docs: Python 3.12 → 3.13.14 references, adds the
pre-built NeMo Gym NGC container instructions (replacing the outdated
NeMo RL v0.4.0 container guidance), and adds the
`nvidia-container-toolkit` install step + docs for the enroot GPU hook.

Signed-off-by: Kajal Jain <[email protected]>
kajalj22 added a commit that referenced this pull request Sep 4, 2026
…2987)

## Summary
- Cherry-pick of #2731 from `r0.5.1` into `main`. **Stack position 4 of
5** — #2547, #2629, #2725 (positions 1-3) merged as #2986, #2985, #2984.
This is now next in line, rebased directly onto `main`.
- Adds the frozen `fern/versions/v0.5.1/` docs snapshot (and
`fern/versions/v0.5.1.yml`) for the v0.5.1 GA release, mirroring how
prior GA versions (v0.5.0, v0.4.0, ...) got their own version snapshot
in the docs site.
- Also inserts the v0.5.1 accordion into `release-notes.mdx`, between
the newer v0.6.0 entry (already on `main`) and v0.5.0.
- Note on PR title: intentionally omits `(#2731)` — the release-branch
auto-cherrypick automation (`cherry-pick-release-commit.yml`) naively
grabs the *first* `(#NNNN)` in the squash-merge commit subject to
resolve "which PR is this". Embedding the original PR number in the
title broke that lookup for #2984/#2985/#2986 (see #3091/#3092 for the
manual r0.6.0 backfills). Keeping this title number-free lets the
automation resolve the real PR (#2987) and auto-create the r0.6.0
cherry-pick.

Remaining stack (merge in this order): #2987 → #2983

## Test plan
- [ ] Confirm fern docs build picks up the new v0.5.1 version and the
version switcher shows it
- [ ] `tests/unit_tests/test_fern_docs_links.py` passes

Signed-off-by: Kajal Jain <[email protected]>
jkyi-nvidia pushed a commit that referenced this pull request Sep 11, 2026
#2725) into main (#2984)

## Summary
- Cherry-pick of #2725 from `r0.5.1` into `main`. **Stack position 3 of
5** — #2547 and #2629 (positions 1-2) merged as #2986 and #2985. This is
now next in line, rebased directly onto `main`.
- Updates installation docs: Python 3.12 → 3.13.14 references, adds the
pre-built NeMo Gym NGC container instructions (replacing the outdated
NeMo RL v0.4.0 container guidance), and adds the
`nvidia-container-toolkit` install step + docs for the enroot GPU hook.

Signed-off-by: Kajal Jain <[email protected]>
Signed-off-by: Junkeun Yi <[email protected]>
jkyi-nvidia pushed a commit that referenced this pull request Sep 11, 2026
…2987)

## Summary
- Cherry-pick of #2731 from `r0.5.1` into `main`. **Stack position 4 of
5** — #2547, #2629, #2725 (positions 1-3) merged as #2986, #2985, #2984.
This is now next in line, rebased directly onto `main`.
- Adds the frozen `fern/versions/v0.5.1/` docs snapshot (and
`fern/versions/v0.5.1.yml`) for the v0.5.1 GA release, mirroring how
prior GA versions (v0.5.0, v0.4.0, ...) got their own version snapshot
in the docs site.
- Also inserts the v0.5.1 accordion into `release-notes.mdx`, between
the newer v0.6.0 entry (already on `main`) and v0.5.0.
- Note on PR title: intentionally omits `(#2731)` — the release-branch
auto-cherrypick automation (`cherry-pick-release-commit.yml`) naively
grabs the *first* `(#NNNN)` in the squash-merge commit subject to
resolve "which PR is this". Embedding the original PR number in the
title broke that lookup for #2984/#2985/#2986 (see #3091/#3092 for the
manual r0.6.0 backfills). Keeping this title number-free lets the
automation resolve the real PR (#2987) and auto-create the r0.6.0
cherry-pick.

Remaining stack (merge in this order): #2987 → #2983

## Test plan
- [ ] Confirm fern docs build picks up the new v0.5.1 version and the
version switcher shows it
- [ ] `tests/unit_tests/test_fern_docs_links.py` passes

Signed-off-by: Kajal Jain <[email protected]>
Signed-off-by: Junkeun Yi <[email protected]>

This branch was previously deployed

1 inactive deployment
public — 9d1782a7 Deployed Aug 24, 2026 by copy-pr-bot[bot] via release / finalize / notify #1712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant