feat(recipes): add Qwen3.5 and Nemotron 3 Nano GB200 pretraining - #4854
Conversation
|
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. |
ab11284 to
dce160d
Compare
|
LGTM - clean, well-tested text-only Qwen3.5-35B-A3B GB200 pretraining recipe with a compatibility alias, a dedicated unit test, and docs. What I verified:
Minor question (non-blocking):
Note: the _FakeModelCfg/_FakeProvider fakes accept arbitrary attribute assignment, so a future typo in a model config field name would not be caught by these unit tests; a pre-existing repo pattern, not new to this PR. Suggested test cases:
|
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>
b6cb550 to
84dd8ae
Compare
Signed-off-by: Chen Cui <chcui@nvidia.com>
|
Added the convergence-parity fix in 80d8c4b: the Nemotron 3 Nano GB200 pretraining recipe now defers model vocabulary sizing to the runtime tokenizer, restoring the 32K RP2 tokenizer behavior instead of inheriting the 131072-entry HF checkpoint vocabulary. Validation: focused recipe regression test passed in the 26.08 RC2 container; all-file pre-commit passed. |
…t-pretrain-recipe Signed-off-by: Chen Cui <chcui@nvidia.com> # Conflicts: # src/megatron/bridge/recipes/nemotronh/__init__.py
|
/ok to test b723f28 |
Signed-off-by: Chen Cui <chcui@nvidia.com>
Summary
perf_recipesor performance-harness files are addedConfiguration
Qwen3.5-9B uses
Qwen/Qwen3.5-9B-Base, TP1/PP1/CP1/EP1, GBS128/MBS2, sequence length 4,096, native fused cross entropy, BF16 gradient reduction, scoped Transformer Engine graphs over attention/MLP, and disabled loss/gradient NaN checks as validated by the full convergence run.Qwen3.5-35B-A3B uses the corresponding text-only MoE provider with TP1/PP1/CP1/EP8, learned routing, HybridEP, MBS1, canonical flex-dispatcher SMS configuration, FP32 router computations, and scoped TE graphs.
Nemotron 3 Nano uses TP1/PP1/CP1/EP8, GBS512/MBS2, sequence length 4,096, HybridEP, native fused cross entropy, BF16 gradient reduction, and scoped TE graphs over attention, Mamba, router, and MoE preprocessing modules.
Validation
mainorigin/main...HEADreview; the one FP32-router finding was fixed in84dd8aea3, followed by re-review with no remaining actionable findings13.24286->6.583383, zero skipped/NaN iterations (W&Bhvdq6oa3)2.094276, zero skipped/NaN iterations (W&Bxbp3sunp)2.027169, zero skipped/NaN iterations (W&Bavbr31km)12.83251->6.099396, zero skipped/NaN iterations (W&B5w1agqzm)