Skip to content

tests: update golden values for inference_optimized_swiglu and moe_resume_gb200 (MCORE-610) - #6231

Open
kajalj22 wants to merge 5 commits into
NVIDIA:mainfrom
kajalj22:fix/update-swiglu-logitsmatch-golden-values
Open

tests: update golden values for inference_optimized_swiglu and moe_resume_gb200 (MCORE-610)#6231
kajalj22 wants to merge 5 commits into
NVIDIA:mainfrom
kajalj22:fix/update-swiglu-logitsmatch-golden-values

Conversation

@kajalj22

@kajalj22 kajalj22 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Refreshes golden values for two failing functional tests to fix MCORE-610.

Root cause

gpt_dynamic_inference_tp4_pp1_ep4_16B_inference_optimized_swiglu_logitsmatch was added as a regression guard in PR #5700 (merged Jul 31). Commits landing the same day and shortly after — notably "Bs invar MoE" (#4871) — caused numerical drift in the MoE inference path, producing logprob[5] = -1.79449 vs. the golden -1.79170 (diff ~0.00279, exceeding abs_tol=0.001 by 179%).

Changes

  • gpt_dynamic_inference_tp4_pp1_ep4_16B_inference_optimized_swiglu_logitsmatch/golden_values_dev_dgx_h100.json — updated logprobs to match current inference output; fixes MCORE-610
  • gpt3_moe_mcore_te_tp4_ep2_etp2_pp2_resume_torch_dist_dist_optimizer/golden_values_dev_dgx_gb200.json — refreshes lm_loss step values that drifted in the same window

Downloaded from GitLab pipeline 60908036 with --only-failing.

…sume_gb200

Fixes MCORE-610: logprob[5] for gpt_dynamic_inference_tp4_pp1_ep4_16B_inference_optimized_swiglu_logitsmatch
exceeded abs_tol=0.001 by ~0.00279 due to numerical drift after PR NVIDIA#5700 (inference optimized qwen moe)
and subsequent commits (bs-invar MoE NVIDIA#4871).

Also refreshes lm_loss golden values for gpt3_moe_mcore_te_tp4_ep2_etp2_pp2_resume_torch_dist_dist_optimizer
on GB200 which drifted in the same window.

Downloaded from GitLab pipeline 60908036 (--only-failing).

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Aug 4, 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.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

This PR has been automatically converted to draft because all PRs must start as drafts.

When you are ready for review, click Ready for Review to begin the review process. This will:

  1. Add the oncall reviewer (optional reviewer)
  2. Add required review teams based on your changes

See the contribution guide for more details.

@svcnvidia-nemo-ci
svcnvidia-nemo-ci marked this pull request as draft August 4, 2026 00:08
@balasaajay
balasaajay marked this pull request as ready for review August 5, 2026 22:05
@svcnvidia-nemo-ci
svcnvidia-nemo-ci requested a review from a team August 5, 2026 22:06
@kajalj22

kajalj22 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 759d782

kajalj22 and others added 3 commits August 5, 2026 18:14
…en values

The download script pulled a string "nan" at iteration-time step 1 (warmup
noise), which fails the check_golden_values.py non-finite validator in CI.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
…en-values' into fix/update-swiglu-logitsmatch-golden-values
@kajalj22

kajalj22 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test b3bf87e

@kajalj22
kajalj22 added this pull request to the merge queue Aug 6, 2026
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started!

You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/31077632130

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 6, 2026
@kajalj22
kajalj22 added this pull request to the merge queue Aug 7, 2026
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started!

You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/31135944404

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started!

You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/31142375875

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started!

You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/31163439809

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started!

You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/31173379036

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started!

You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/31176659552

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants