Repository navigation
Conversation
|
Warning: Unknown label
Please add the new label to .github/pytorch-probot.yml |
PR #4808 updated the corresponding A10G baselines after changing fused feed-forward projections to a stacked layout, but left the MI350X baselines unchanged. These loss values were reproduced bit-for-bit by 19 post-merge ROCm CI runs across three PyTorch nightlies. Grad-norm values remain for a follow-up ROCm run because the prior comparator stopped after the first mismatching metric. ghstack-source-id: bc7585d Pull Request resolved: #4848
|
@pianpwk I was going to raise a PR for this as well from the AMD side to fix the CI, but I saw you had raised this one. Is there any blockers to get it merged? Thanks for the help! |
PR #4808 updated the corresponding A10G baselines after changing fused feed-forward projections to a stacked layout, but left the MI350X baselines unchanged. These loss values were reproduced bit-for-bit by 19 post-merge ROCm CI runs across three PyTorch nightlies. Grad-norm values remain for a follow-up ROCm run because the prior comparator stopped after the first mismatching metric. ghstack-source-id: b6c9938 Pull Request resolved: #4848
@rishisinhanj to be honest the fix here is speculative and based on CI, not from reproing locally, so if you have an up-to-date reference loss that's certain, please do put up a PR! |
|
Sounds good @pianpwk! Thanks for the timely response - i've put up a new PR for this |
…om current main (#4926) ## Summary Follow-up to #4848. Every ROCm `--assert-equal` loss-parity test against `tests/assets/losses/real_pg/mi350x/*.txt` is currently red. #4808 ("Use stacked layout for fused feed-forward projections") refreshed the CUDA/a10g reference losses in the same PR, but never touched the ROCm/mi350x baselines. #4848 only updated `loss`, not `grad_norm` and some other tests have drifted as well. This PR regenerates all the affected loss files (both `loss` and `grad_norm`) from a single current-`main` CI run ([run 36459264445 (https://github.com/pytorch/torchtitan/actions/runs/36459264445), commit `60e4ac6254`). Co-authored-by: Claude Sonnet 5 <[email protected]>
Follow-up to pytorch#4848/pytorch#4926. pytorch#4894 flipped loss-function torch.compile from off to on by default (LocalCompileConfig.regions default ["gated_rmsnorm", "loss"] in torchtitan/distributed/local_compile.py), changing the fp32 summation order in cross_entropy_loss/mse_loss. It regenerated all 13 a10g CUDA loss baselines but did not touch tests/assets/losses/real_pg/mi350x/*, leaving every ROCm --assert-equal loss-parity test red since 2026-10-01T04:09 (e44a045). Regenerates the 8 affected files (loss + grad_norm, all 10 steps) from the tensorboard output of the same CI run that surfaced the failure (actions run 36917144064, sha 6078523), the same method used by pytorch#4926.
Stack from ghstack (oldest at bottom):
PR #4808 updated the corresponding A10G baselines after changing fused feed-forward projections to a stacked layout, but left the MI350X baselines unchanged. These loss values were reproduced bit-for-bit by 19 post-merge ROCm CI runs across three PyTorch nightlies. Grad-norm values remain for a follow-up ROCm run because the prior comparator stopped after the first mismatching metric.