Repository navigation
Remove unnecessary all-gather qwen3 - #1870
Conversation
tianyu-l
left a comment
There was a problem hiding this comment.
Could you show bitwise identity before / after the change?
I re-tested without seed =0 , I don't think that's the reason. The 2 runs are both FSDP=2 TP=2, starting from the same seed checkpoint. The seed checkpoint was initialized on CPU with following command, and the high loss is reproducible with the seed checkpoint created in following command: However, if we don't start from the seed checkpoint and initialized on GPU and distributed settings, the loss looks normal |
|
Have we verified qwen3 checkpoint? Can this be a checkpoint issue? |
tianyu-l
left a comment
There was a problem hiding this comment.
How about other seed than 0?
I think it's fine to merge this PR for now, but could you create an issue to track this abnormal behavior?
I think it's more like a initialize issue, I will investigate more later and create an issue first |
As pytorch#1867 , thanks @yanboliang for pointing out! Before the change: <img width="1547" height="714" alt="Screenshot 2025-10-13 at 10 08 07 PM" src="https://github.com/user-attachments/assets/d818e4b0-ec30-4d13-a85b-16b4b7aab42b" /> After the change: <img width="1547" height="714" alt="Screenshot 2025-10-13 at 10 08 30 PM" src="https://github.com/user-attachments/assets/7d2fe949-0a16-4900-9607-d3d85e467261" />
As pytorch#1867 , thanks @yanboliang for pointing out! Before the change: <img width="1547" height="714" alt="Screenshot 2025-10-13 at 10 08 07 PM" src="https://github.com/user-attachments/assets/d818e4b0-ec30-4d13-a85b-16b4b7aab42b" /> After the change: <img width="1547" height="714" alt="Screenshot 2025-10-13 at 10 08 30 PM" src="https://github.com/user-attachments/assets/7d2fe949-0a16-4900-9607-d3d85e467261" />
As pytorch#1867 , thanks @yanboliang for pointing out! Before the change: <img width="1547" height="714" alt="Screenshot 2025-10-13 at 10 08 07 PM" src="https://github.com/user-attachments/assets/d818e4b0-ec30-4d13-a85b-16b4b7aab42b" /> After the change: <img width="1547" height="714" alt="Screenshot 2025-10-13 at 10 08 30 PM" src="https://github.com/user-attachments/assets/7d2fe949-0a16-4900-9607-d3d85e467261" />


As #1867 , thanks @yanboliang for pointing out!
Before the change:

After the change:
