Skip to content

feat: add nano-v3.5 dapo recipe using automodel backend - #3383

Merged
terrykong merged 16 commits into
NVIDIA-NeMo:mainfrom
yuekaizhang:yuekaiz/nanov35-nightly
Aug 12, 2026
Merged

terrykong merged 16 commits into
NVIDIA-NeMo:mainfrom
yuekaizhang:yuekaiz/nanov35-nightly

Conversation

@yuekaizhang

@yuekaizhang yuekaizhang commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add dapo-nanov3.5-30BA3B-4n8g-automodel.yaml — DAPO-512 recipe for
    NemotronH v3.5 30B-A3B on the DTensor v2 automodel backend (4n8g,
    EP=8, FusedAdam, colocated vLLM TP=4)
  • Add corresponding nightly driver dapo-nanov3.5-30BA3B-4n8g-automodel.sh
    (20 steps, asserts validation/accuracy["20"] > 0.4)
  • Register in tests/test_suites/nightly.txt under # Nano-v3.5
  • Raise nightly GPU hour ceiling 3420 → 3484 (+64 h for 4n8g × 120 min)
image

Add a nightly convergence test for the NemotronH v3.5 30B-A3B model on
the DTensor v2 automodel backend. Runs 20 GRPO/DAPO steps on 4n8g and
asserts validation/accuracy > 0.4 at step 20. Raise GPU hour ceiling
from 3420 → 3484 (+64 h) to account for the new test.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang
yuekaizhang requested review from a team as code owners July 28, 2026 10:04
@copy-pr-bot

copy-pr-bot Bot commented Jul 28, 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.

yuekaizhang and others added 2 commits July 29, 2026 06:04
Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
token_mult_prob_error: 1.1 -> 1.04, gen_kl_error: 0.02 -> 0.001

Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@anwithk anwithk mentioned this pull request Aug 4, 2026
yuekaizhang and others added 2 commits August 6, 2026 20:27
Resolved conflict in tests/unit/test_recipes_and_test_suites.py: took
upstream's nightly GPU-hours budget (3800, renamed test), which subsumes
this branch's earlier 3420->3484 bump for the nanov3.5 nightly test.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
Replace the private local midtraining checkpoint path with
nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 so the nightly
recipe is runnable outside the dev cluster.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang

Copy link
Copy Markdown
Contributor Author

Update:

final checkpoint: green curve

image

yuekaizhang and others added 2 commits August 10, 2026 12:19
Upstream's 3800 budget covers its own suite (3795); the nanov3.5
DAPO-512 4n8g nightly adds 64 GPU-hours, putting the DRYRUN total
at 3859.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang yuekaizhang added the CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) label Aug 10, 2026
@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test bc35216

@yuekaizhang yuekaizhang added CI:L0 Run doctests and unit tests and removed CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) labels Aug 10, 2026
tools/config_cli.py minimize --in-place; verified semantically identical
after expansion via config_cli.py compare.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test 7bf9589

@sharonyu-115 sharonyu-115 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.

yuekaizhang and others added 2 commits August 10, 2026 19:38
Restructure the guide into two linked sections (RLVR on GB200 via NeMo
Gym; DAPO math RL on the DTensor/automodel backend), and document the
4n8g automodel recipe: config summary, MTP handling, ray.sub launch with
singleton chaining, and training curves.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test 297ac95

@yuekaizhang
yuekaizhang requested a review from a team as a code owner August 11, 2026 02:42
@github-actions github-actions Bot added the Documentation Improvements or additions to documentation label Aug 11, 2026
Mirror the guides/models/qwen layout: move the five Nemotron guides
into a family hub with an index page, register the family in
guides/models/index.md and the docs toctree, and update inbound
relative links (README, recipe comments, asset/cluster paths).

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang
yuekaizhang requested a review from a team as a code owner August 11, 2026 04:44
@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test e2e95da

Show the plain uv run command like other guides; drop Slurm sbatch,
wall-clock, and forced-save details in favor of the cluster guide link.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test b81d927

huggingface.co returns 401 for the not-yet-public
NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 repo, failing the docs
linkcheck job.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test c37c6dd

@sharonyu-115

Copy link
Copy Markdown
Contributor

Hi @jgerh @snowmanwwg Could you help review the document changes made by this PR? It moves the existing nemotron related docs from docs/guides to the model hub dir docs/guides/models/nemotron so they are structured and organized in a better way. Thanks.

@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test 340e714

@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test 44ebe5d

Comment thread docs/broken_links_false_positives.json Resolved
- Record the backend that actually ran: experts=gmm + dispatcher=deepep
  (deprecated enable_deepep silently rewrote experts=torch_mm to these).
- Drop inert hf_config_overrides.router_aux_loss_coef (key absent from
  the published config.json; custom impl hardcodes aux_loss_coeff=0.0).
- Bump nightly NUM_MINUTES to 240 to match sibling 4n8g automodel tests
  (measured ~7 min/step at DAPO-512; 20 steps does not fit 120 min), and
  raise the GPU-hours budget to 3928 accordingly (DRYRUN total: 3923).
- Remove the linkcheck whitelist entry for the Lightning HF repo, which
  is now public (HTTP 200).

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@yuekaizhang

Copy link
Copy Markdown
Contributor Author

/ok to test 0897f55

@terrykong
terrykong merged commit bd8607d into NVIDIA-NeMo:main Aug 12, 2026
64 of 65 checks passed
@yuekaizhang
yuekaizhang deleted the yuekaiz/nanov35-nightly branch August 21, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:L0 Run doctests and unit tests Documentation Improvements or additions to documentation QA:Verified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants