Skip to content

perf(recipes): use FP32 routers for GB Qwen3-30B - #5187

Merged
terrykong merged 2 commits into
mainfrom
codex/qwen30b-gb-router-fp32
Nov 17, 2026
Merged

terrykong merged 2 commits into
mainfrom
codex/qwen30b-gb-router-fp32

Conversation

@youngeunkwon0405

@youngeunkwon0405 youngeunkwon0405 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Set policy.megatron_cfg.moe_router_dtype: fp32 for the Grace-Blackwell Qwen3-30B-A3B *n4g recipes.

Peak FP64 throughput per GPU is only 1.3 TFLOPS on GB300, versus 40 TFLOPS on GB200 (approximately 31× lower). Leaving the MoE router in FP64 can therefore become an unexpected bottleneck; explicitly selecting FP32 prevents GB300 users from encountering this slowdown.

Three recipe overrides cover the remaining FP64 variants; async and QA variants inherit the change from their parent recipes.

Validation

  • Loaded all 11 matching recipes with the repository config loader: all resolve to FP32.
  • Compared resolved configs: only the router dtype changes, affecting six recipes.
  • CI recipe-minimization check passed locally.
  • git diff --check passed.
  • GPU training was not run.

@youngeunkwon0405 youngeunkwon0405 added the CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) label Nov 12, 2026
@copy-pr-bot

copy-pr-bot Bot commented Nov 12, 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.

@youngeunkwon0405

Copy link
Copy Markdown
Contributor Author

/ok to test 9b6ace5

@youngeunkwon0405

Copy link
Copy Markdown
Contributor Author

/ok to test 0744a04

@youngeunkwon0405 youngeunkwon0405 added CI:docs Run doctest and removed CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) labels Nov 12, 2026
@youngeunkwon0405

Copy link
Copy Markdown
Contributor Author

/ok to test 0744a04

@parthmannan parthmannan 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.

LGTM. Thanks

@youngeunkwon0405

Copy link
Copy Markdown
Contributor Author

Hi @terrykong, can I ask for your approval on this? This is a very simple recipe only changes.

@terrykong
terrykong merged commit 7a91ec9 into main Nov 17, 2026
101 checks passed
@terrykong
terrykong deleted the codex/qwen30b-gb-router-fp32 branch November 17, 2026 17:46
jthomson04 added a commit to jthomson04/RL that referenced this pull request Nov 17, 2026
…ym rollout) into jthomson04/dynamo-1.7

Brings in NVIDIA-NeMo#4979's merge of main 89329fc (NVIDIA-NeMo#5030, NVIDIA-NeMo#5120, NVIDIA-NeMo#5007, NVIDIA-NeMo#5187, NVIDIA-NeMo#5265). Git merged the five files both sides changed without a conflict: the Dynamo guide, nemo_gym.py and three test files. pyproject.toml, uv.lock and the submodule pins are unchanged.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: jthomson04 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:docs Run doctest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants