Skip to content

fix: Container guidance is inconsistent across v0.3.0 docs - #1827

Merged
ffrujeri merged 4 commits into
mainfrom
ffrujeri/container-guidance
Jul 1, 2026
Merged

ffrujeri merged 4 commits into
mainfrom
ffrujeri/container-guidance

Conversation

@ffrujeri

Copy link
Copy Markdown
Contributor

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]>
@copy-pr-bot

copy-pr-bot Bot commented Jun 30, 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.

@anwithk
anwithk requested a review from cwing-nvidia July 1, 2026 16:27
sephmard
sephmard previously approved these changes Jul 1, 2026

@sephmard sephmard left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, but have a few comments.

docker buildx build \
-f docker/Dockerfile \
--target release \
-t nemo-rl-ultra:arm64 \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure @anwithk, do you have a recommendation?

Signed-off-by: Felipe Vieira Frujeri <[email protected]>
@ffrujeri
ffrujeri merged commit 50cae44 into main Jul 1, 2026
10 checks passed
ffrujeri added a commit that referenced this pull request Jul 1, 2026
## 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]>
kajalj22 pushed a commit that referenced this pull request Jul 1, 2026
…)` 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]>
@anwithk anwithk linked an issue Jul 27, 2026 that may be closed by this pull request
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.

4 participants