Repository navigation
[tests] Refresh MI350X PP goldens for the chunked-loss head reduction order - #5943
Merged
Merged
Conversation
… order #5563 changed the PP head gradient reduction from RS(g0) + RS(g1) + ... to RS(g0 + g1 + ...) and regenerated only the A10G goldens. The MI350X copies of llama3_pp, gpt_oss_pp and deepseek_v3_cp_pp have failed the ROCm models job on every main push since. Values are copied from the job's "Baseline metrics in import file format" output, identical across runs at 485c065, 6e5974a and every main push in between.
tianyu-l
requested review from
acisseJZhong,
fegin,
felipemello1,
shuhuayu and
wwwjn
as code owners
November 8, 2026 00:58
acisseJZhong
approved these changes
Nov 8, 2026
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.
Summary (human-written)
Why
#5563 changed the pipeline head's gradient reduction from
RS(g0) + RS(g1) + ...to
RS(g0 + g1 + ...)and regenerated the three A10G pipeline goldens. Itsdescription noted that the MI350X copies of the same three files still needed a
ROCm run. They were never refreshed, so
Integration Tests (ROCm)has failed onevery push to main since 485c065 (2026-11-04):
(latest failing models job, at 6e5974a)
What changed
Mechanical, test assets only:
tests/assets/losses/real_pg/mi350x/{llama3_pp,gpt_oss_pp,deepseek_v3_cp_pp}.txtget their step rows from that job's "Baseline metrics in import file format"
output. The file headers are unchanged.
Numerics
The new values match the pattern #5563 described for A10G. The early steps stay
bitwise equal, and the first changed step is 3–5, with drift around 1e-6 relative:
llama3_pp.txtgpt_oss_pp.txtdeepseek_v3_cp_pp.txtThe MI350X runner is reproducible. Every main push from 485c065 through
6e5974a (about 30 runs, several PyTorch nightlies) printed bitwise-identical
baseline values for all three configs.
One value to look at: in
gpt_oss_pp.txt, step 9 grad_norm goes from 1.466 to 2.028.It is deterministic across those runs. The step 9 loss is essentially unchanged
(3.957991 vs 3.958083), and step 10 grad_norm goes back to 1.444. That points to
a one-step MoE spike on this tiny debug model, not a systematic gradient-scale
change: a doubled head gradient would raise every step.
Testing
None run locally (no MI350X). The ROCm models job on this PR should pass with
the refreshed files (
ciflow/rocm).