feat(recipe): add Nemotron 3 Ultra verification recipes - #5568
Draft
cuichenx wants to merge 58 commits into
Draft
Conversation
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
…tra-verification-card
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
Signed-off-by: Chen Cui <chcui@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds the initial Nemotron 3 Ultra 550B-A55B verification card and convergence-safe BF16 library pretraining recipes for 256 H100 and 256 GB200 GPUs.
The H100 recipe adopts the memory-feasible TP4/PP1/EP64 Megatron-FSDP execution policy. The GB200 recipe adopts the TP4/PP4/EP64 HybridEP and targeted activation-offload policy. Both preserve natural expert routing, numerical checks, and the library recipe optimizer/scheduler contract.
compare.py, the inference launchers, andsrc/megatron/bridge/perf_recipes/are unchanged frommain. The performance recipes are used only as execution-policy references; this PR places the correctness-oriented configurations insrc/megatron/bridge/recipes/.The verification card intentionally records partial progress. GPU checkpoint round-trip conversion and the exact 256-H100 BF16 real-data functional pretraining run are verified. The exact 256-GB200 real-data run remains in progress; CPU conversion, manual-forward, inference, SFT/export, PEFT, checkpoint resume, and separately scoped FSDP/performance leaves remain explicit rather than being overclaimed.
Changelog
H100 pretraining verification
The public 256-H100 BF16 library recipe completed exactly 10 real RedPajama2 optimizer steps at TP4/PP1/CP1/EP64/ETP1, GBS/MBS 512/1, and sequence length 8192. The persisted post-setup configuration retained natural routing, standard all-to-all dispatch, Megatron-FSDP, all-108-layer recompute, FP32 gradient communication, numerical checks, and the library optimizer/constant-LR contract.
11.23305/9.966628388228.080 ms,14.670 TFLOP/s/GPU41.934 / 45.188 GiBThis is bounded functional support evidence, not a tuned-performance or full-convergence claim.
GitHub Actions CI
Local validation in
nvcr.io/nvidia/nemo:26.06:382 passedacross final-head library-recipe factories, Ultra recipe tests, and model-card validator tests.41 passedacross focused card and Ultra recipe tests.uv run pre-commit run --all-filespassed in the container.git diff --checkpassed.The required host
uv runattempts stop before tests/hooks becausenvidia-resiliency-ext==0.6.0has no wheel compatible with the host older manylinux/glibc platform. The same commands pass in the card pinned public container.Before your PR is "Ready for review"
Pre checks:
This remains a draft while the exact GB200 BF16 real-data pretraining run is monitored and its evidence is incorporated.