Skip to content

fix(recipe): restore DeepSeek V4 Flash GB200/GB300 perf layout verified on the model card - #6463

Closed
pruprakash wants to merge 1 commit into
mainfrom
pruprakash/fix_recipe_dsv4_flash_card_ep64
Closed

pruprakash wants to merge 1 commit into
mainfrom
pruprakash/fix_recipe_dsv4_flash_card_ep64

Conversation

@pruprakash

Copy link
Copy Markdown
Contributor

What does this PR do ?

Restores the DeepSeek V4 Flash GB200/GB300 128-GPU MXFP8 perf recipes to the layout on the verified model card. Per Chen's comment, card evidence takes precedence; this restores the card-verified layout.

Summary

The card's pretrain_performance.GB200/.GB300 commands verified TP1/PP1/CP1/EP64/ETP1, GBS/MBS 2048/1, 64 HybridEP ranks per NVLink domain. #5845 later moved both recipes to EP32 (GB300 also MBS 2) with 32 HybridEP ranks, so the verified commands now build a different layout on main.

Changelog

  • perf_recipes/deepseek/gb200/deepseek_v4.py: EP 64, HybridEP ranks 64.
  • perf_recipes/deepseek/gb300/deepseek_v4.py: drop EP32/MBS2 overrides (inherits EP64/MBS1), HybridEP ranks 64.
  • perf_recipes/deepseek/vrnvl72/deepseek_v4.py: pin its own EP32/MBS2 so VRNVL72 keeps its current layout.
  • tests/unit_tests/recipes/test_deepseek_v4_flash_perf_recipes.py: GB200/GB300 back to the card layout; VRNVL72 asserts its pin.

Verification

  • Red-green on GB200 (nemo:nightly 2026-10-14): origin/main recipes fail the GB200/GB300 tests (assert 32 == 64); the branch passes all 5 tests.
  • Config build: GB200/GB300 resolve EP64, GBS/MBS 2048/1, HybridEP 64; VRNVL72 unchanged (EP32, MBS 2).
  • 128-GPU perf runs not re-run; this restores the verified values.

Nemotron 3 Super GB300 NVFP4 (same NVBug) is out of scope: its recipe moved to the NCCL EP dispatcher, so EP64 alone would not match the card.

Reviewer: @cuichenx

  • NVBug: 6875251.

…ed on the model card

The GB200 and GB300 128-GPU MXFP8 recipes moved to EP32 (GB300 also MBS 2)
with 32 HybridEP ranks per NVLink domain, while the verified model card
records EP64, MBS 1 and 64 HybridEP ranks. Restore the card-verified layout.
VRNVL72, which inherits the GB300 recipe, keeps its own EP32 / MBS 2 layout.

Signed-off-by: Pruthviraj Prakash <pruprakash@nvidia.com>
@pruprakash pruprakash self-assigned this Oct 14, 2026
@pruprakash pruprakash added bug Something isn't working area:recipe Training recipes and launch configs needs-review PR is ready for code review and waiting on a reviewer qa_rcca_done labels Oct 14, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 14, 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.

@pruprakash

Copy link
Copy Markdown
Contributor Author

/review

@pruprakash
pruprakash requested a review from cuichenx October 14, 2026 20:43
@pruprakash

Copy link
Copy Markdown
Contributor Author

/ok to test b331dd4

@github-actions

Copy link
Copy Markdown
Contributor

Automatic Claude reviews have been retired. To request a pull-request review, post a comment containing:

/review

Add model=claude to use a Claude reviewer (the default is model=codex). mode=light|strict selects the review depth; for example, /review model=claude mode=strict. Comment /review help for all options.

@svcnvidia-nemo-ci svcnvidia-nemo-ci 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.

No verified findings. The GB200 recipe and GB300 recipe restore the card-recorded EP64/MBS1 layout. VRNVL72 preserves EP32/MBS2, 32 HybridEP ranks, and its clamp workaround. The B200/B300 descendants retain their explicit overrides.

Static review only; tests and 128-GPU performance runs were not executed.

Suggested test cases

Existing cases in the recipe regression tests:

  • test_deepseek_v4_flash_128gpu_gb200_fp8mx_config
  • test_deepseek_v4_flash_128gpu_gb300_fp8mx_config
  • test_deepseek_v4_flash_128gpu_vrnvl72_fp8mx_disables_clamp_for_cutedsl
  • test_deepseek_v4_flash_128gpu_b300_fp8mx_config
  • test_deepseek_v4_flash_128gpu_b200_fp8mx_config

Note: formal approval is not available for this request, so this review is posted as a comment only.

Review generated by codex

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

Sorry i probably misunderstood the ask earlier. We should not change perf recipes. the verification card needs to be updated instead to reflect the new changes

@cuichenx

cuichenx commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

This branch was successfully deployed

1 active deployment
test — b331dd44 Deployed Oct 14, 2026 by copy-pr-bot[bot] via cicd-wait-in-queue #22867
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:recipe Training recipes and launch configs bug Something isn't working needs-review PR is ready for code review and waiting on a reviewer qa_rcca_done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants