Repository navigation
fix: Container guidance is inconsistent across v0.3.0 docs - #1827
Conversation
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
sephmard
left a comment
There was a problem hiding this comment.
Approving, but have a few comments.
| docker buildx build \ | ||
| -f docker/Dockerfile \ | ||
| --target release \ | ||
| -t nemo-rl-ultra:arm64 \ |
There was a problem hiding this comment.
The :arm64 is just a label on the image name, not a platform flag, right? If so it doesn't actually build for arm64. But a user on an x86 machine following this command would end up with an amd64 image called nemo-rl-ultra:arm64.
That's confusing and likely wrong for most Gym users who run on x86 clusters. This looks like it was copied from an arm64-specific section of the NeMo RL guide without adaptation.
There was a problem hiding this comment.
I think we maybe have anemo-rl-ultra:latest right @anwithk? should we use that?
|
|
||
| Container choice depends on your NeMo Gym version and model recipe. See [RL Framework Compatibility](/reference/rl-framework-compatibility) for the full mapping. | ||
|
|
||
| For NeMo Gym **v0.3.0** with the Nemotron 3 Ultra recipe, build the container from the NeMo RL `ultra-v3` branch (there is no pre-built NGC tag for this pairing): |
There was a problem hiding this comment.
Do we need to clarify this with the pending release for v0.4.0? Or do we want the tutorial to use v0.3.0? I think its fine bc we're consistent with v0.3.0 and we have the forward looking policy in the compatibility table.
There was a problem hiding this comment.
Not sure @anwithk, do you have a recommendation?
Signed-off-by: Felipe Vieira Frujeri <[email protected]>
## What the bug is about Across the v0.3.0 docs, a user is told **three different things** about which NeMo RL container pairs with NeMo Gym v0.3.0. There is no single source of truth, so the guidance contradicts itself. | Doc page | Container it tells you to use | Which Gym version that tag actually maps to | |---|---|---| | `get-started/installation.mdx` (line 27) | `nvcr.io/nvidia/nemo-rl:v0.5.0.nemotron_3_super` | **v0.2.0** (per the compat table) | | `training-tutorials/nemo-rl-grpo/setup.mdx` (line 61) | `nvcr.io/nvidia/nemo-rl:v0.4.0.nemotron_3_nano` | **v0.1.1** (per the compat table) | | `reference/rl-framework-compatibility.mdx` (line 18) | Build from the `ultra-v3` **Dockerfile** (Nemotron 3 Ultra) | **v0.3.0** ← the authoritative answer | So the compatibility table (the source of truth) says v0.3.0 needs the **Ultra Dockerfile build**, but: - the **install page** points at the older **Super** NGC tag, and - the **GRPO setup tutorial** points at the even-older **Nano** NGC tag. Two extra wrinkles: - The install page prose says *"use the latest NGC container"* but then pins a specific older tag — and the v0.3.0 container per the table isn't even an NGC tag, it's a Dockerfile you build. So the prose, the command, and the table all disagree. - **`fern/versions/latest/` has the identical problem** — `latest/get-started/installation.mdx` and `latest/reference/rl-framework-compatibility.mdx` mirror v0.3.0 exactly. The issue is titled "v0.3.0" but the fix should land in `latest/` too (and `latest/` is likely what publishes). ## What needs to be done 1. **Pick one source of truth** — the `rl-framework-compatibility.mdx` table is the natural one. 2. **Reconcile the install page** (`installation.mdx`): either point it at the v0.3.0 Ultra Dockerfile, or make the "Container" tab generic and link out to the compatibility table instead of hard-coding a stale `v0.5.0.nemotron_3_super` tag. Fix the "use the latest NGC container" prose so it matches what the command actually does. 3. **Reconcile the GRPO setup tutorial** (`setup.mdx` line 61): the hard-coded `v0.4.0.nemotron_3_nano` should either match the table or explicitly note "this tutorial trains Nano, so it uses the Nano container" — the tutorial trains Nemotron Nano 9B, so the Nano tag may actually be *correct for that tutorial*, but it's presented without that context, which is what makes it read as inconsistent. 4. **Apply the same edits in `fern/versions/latest/`**, not just `v0.3.0/`. ## Resolution (applied) - **Install page**: Container tab now links to the compatibility table and documents the `ultra-v3` Dockerfile build for v0.3.0 / Ultra (replacing the stale Super NGC pull). - **Compatibility table**: Clarifies that container choice follows the **model recipe**, not only the Gym version; documents v0.3.0 Dockerfile one-off and v0.4.0+ NGC-per-release policy. - **GRPO setup**: Added a Note that the Nano NGC tag is intentional for Nemotron Nano 9B v2 training (v0.1.1 / Nano row), with Ultra Dockerfile as the v0.3.0 default for other recipes. ## Guidance: should Nano / Super snippets be updated to the latest container? **No — not to “whatever is newest on NGC.”** Tags are recipe-specific. Updating every snippet to the v0.3.0 Ultra Dockerfile or a hypothetical “latest” tag would break Nano and Super workflows. **Yes — when the compatibility matrix row for that recipe changes.** Snippets should stay in sync with the matrix, not ahead of it. | Doc / snippet | Update to “latest”? | Rule | |---|---|---| | `installation.mdx` Container tab | Use **current Gym version** row (today: v0.3.0 Ultra Dockerfile) | Generic entry point—not recipe-specific | | `nemo-rl-grpo/setup.mdx` + `multi-node-training.mdx` | **Keep Nano tag** (`v0.4.0.nemotron_3_nano`) | Tutorial trains Nano 9B v2 → v0.1.1 / Nano row | | `model-recipes/nemotron-3-nano.mdx` | **Keep Nano tag** until matrix adds a newer Nano row | Recipe page for Nemotron 3 Nano 30B | | `model-recipes/nemotron-3-super.mdx` | Points to NeMo RL `super-v3` guide (no hard-coded pull) | Super row is `v0.5.0.nemotron_3_super` when snippets are added | | Historical matrix rows (v0.1.1, v0.2.0) | **Do not delete** | Users on older Gym versions still need them | **Maintenance pattern:** Update the matrix first → then grep for hard-coded `nemo-rl:` tags and align each file to its recipe row. Prefer a one-line comment: `# container from RL Framework Compatibility (Nano row)`. **When Gym v0.4.0 ships:** Add a new matrix row with the published NGC tag → update install tab default → recipe-specific pages only change if the new container supersedes their recipe row. ## File references - `fern/versions/v0.3.0/pages/get-started/installation.mdx` - `fern/versions/v0.3.0/pages/training-tutorials/nemo-rl-grpo/setup.mdx` - `fern/versions/v0.3.0/pages/reference/rl-framework-compatibility.mdx` - `fern/versions/latest/pages/get-started/installation.mdx` - `fern/versions/latest/pages/reference/rl-framework-compatibility.mdx` --------- Signed-off-by: Felipe Vieira Frujeri <[email protected]>
…)` into `r0.4.0` (#1891) beep boop [🤖]: Hi @ffrujeri 👋, we've cherry picked #1827 into for you! 🚀 Please review and approve this cherry pick by your convenience! Signed-off-by: Felipe Vieira Frujeri <[email protected]>
What the bug is about
Across the v0.3.0 docs, a user is told three different things about which NeMo RL
container pairs with NeMo Gym v0.3.0. There is no single source of truth, so the guidance
contradicts itself.
get-started/installation.mdx(line 27)nvcr.io/nvidia/nemo-rl:v0.5.0.nemotron_3_supertraining-tutorials/nemo-rl-grpo/setup.mdx(line 61)nvcr.io/nvidia/nemo-rl:v0.4.0.nemotron_3_nanoreference/rl-framework-compatibility.mdx(line 18)ultra-v3Dockerfile (Nemotron 3 Ultra)So the compatibility table (the source of truth) says v0.3.0 needs the Ultra Dockerfile
build, but:
Two extra wrinkles:
tag — and the v0.3.0 container per the table isn't even an NGC tag, it's a Dockerfile you
build. So the prose, the command, and the table all disagree.
fern/versions/latest/has the identical problem —latest/get-started/installation.mdxand
latest/reference/rl-framework-compatibility.mdxmirror v0.3.0 exactly. The issue istitled "v0.3.0" but the fix should land in
latest/too (andlatest/is likely whatpublishes).
What needs to be done
rl-framework-compatibility.mdxtable is the natural one.installation.mdx): either point it at the v0.3.0 UltraDockerfile, or make the "Container" tab generic and link out to the compatibility table
instead of hard-coding a stale
v0.5.0.nemotron_3_supertag. Fix the "use the latest NGCcontainer" prose so it matches what the command actually does.
setup.mdxline 61): the hard-codedv0.4.0.nemotron_3_nanoshould either match the table or explicitly note "this tutorialtrains Nano, so it uses the Nano container" — the tutorial trains Nemotron Nano 9B, so the
Nano tag may actually be correct for that tutorial, but it's presented without that
context, which is what makes it read as inconsistent.
fern/versions/latest/, not justv0.3.0/.Resolution (applied)
ultra-v3Dockerfile build for v0.3.0 / Ultra (replacing the stale Super NGC pull).only the Gym version; documents v0.3.0 Dockerfile one-off and v0.4.0+ NGC-per-release policy.
training (v0.1.1 / Nano row), with Ultra Dockerfile as the v0.3.0 default for other recipes.
Guidance: should Nano / Super snippets be updated to the latest container?
No — not to “whatever is newest on NGC.” Tags are recipe-specific. Updating every snippet
to the v0.3.0 Ultra Dockerfile or a hypothetical “latest” tag would break Nano and Super workflows.
Yes — when the compatibility matrix row for that recipe changes. Snippets should stay in sync
with the matrix, not ahead of it.
installation.mdxContainer tabnemo-rl-grpo/setup.mdx+multi-node-training.mdxv0.4.0.nemotron_3_nano)model-recipes/nemotron-3-nano.mdxmodel-recipes/nemotron-3-super.mdxsuper-v3guide (no hard-coded pull)v0.5.0.nemotron_3_superwhen snippets are addedMaintenance pattern: Update the matrix first → then grep for hard-coded
nemo-rl:tags andalign each file to its recipe row. Prefer a one-line comment:
# container from RL Framework Compatibility (Nano row).When Gym v0.4.0 ships: Add a new matrix row with the published NGC tag → update install tab
default → recipe-specific pages only change if the new container supersedes their recipe row.
File references
fern/versions/v0.3.0/pages/get-started/installation.mdxfern/versions/v0.3.0/pages/training-tutorials/nemo-rl-grpo/setup.mdxfern/versions/v0.3.0/pages/reference/rl-framework-compatibility.mdxfern/versions/latest/pages/get-started/installation.mdxfern/versions/latest/pages/reference/rl-framework-compatibility.mdx