Repository navigation
[CI] Regenerate loss baselines for FSDP+CP/EP flavors after PyTorch nightly bump - #5048
Conversation
…orch nightly bump Since 2026-10-02, llama3_fsdp+tp+cp, llama3_fsdp+tp+cp+region_ac, gpt_oss_fsdp+tp+ep, and qwen3_moe_fsdp+tp+cp+ep_param_groups have been failing their loss-parity check (--assert-equal) on ROCm, at step 2 instead of step 1. No torchtitan commit explains it: the same SHA (6f716fe) passed CI at 08:57Z and failed at 12:16Z with nothing else changed. Both CI workflows install torch unpinned, and the resolved wheel moved from dev20261001 to dev20261002 in that window. Likely cause upstream: pytorch/pytorch#198668, which changes how FSDP2 accumulates gradients for params that get multiple contributions per backward (CP ring-attention, EP expert FFNs, activation-checkpoint recompute) - exactly the flavors affected here. Regenerates the 3 affected mi350x loss files (llama3, gpt_oss, qwen3) from a current ROCm CI run on main (commit e392936, run 37166905940).
be5eb8c to
e215fc7
Compare
|
@pytorchbot label "ciflow/rocm" "module: rocm" "ciflow/fake-pg" |
|
The ciflow label(s) ciflow/rocm, ciflow/fake-pg will be added, but CI won't be triggered until the workflows are approved (scroll to the bottom of this page). Please ping one of the reviewers if you do not have access to approve and run workflows. |
|
|
|
The following ciflow label(s) have been added but CI has not been triggered yet because the workflows are awaiting approval:
Once a maintainer approves the workflows (scroll to the bottom of the PR page), the corresponding CI jobs will be triggered automatically. Please ping one of the reviewers if you do not have access to approve and run workflows. |
Summary
Since Friday, all these tests have been failing on CUDA and ROCm:
llama3_fsdp+tp+cp,llama3_fsdp+tp+cp+region_ac,gpt_oss_fsdp+tp+ep, andqwen3_moe_fsdp+tp+cp+ep_param_groupsit is likely from upstream: pytorch/pytorch#198668, which changes how FSDP2
accumulates gradients for params that get multiple contributions per
backward.
This PR regenerates the 3 affected loss files on ROCm from a current
CI run on main (commit
e3929368edd2).