-
Notifications
You must be signed in to change notification settings - Fork 27.4k
[FSDP] summon_full_params(writeback=True, rank0_only=True) #93938
Copy link
Copy link
Closed
Labels
module: fsdponcall: distributedAdd this issue/PR to distributed oncall triage queueAdd this issue/PR to distributed oncall triage queuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
writeback=True and rank0_only=True currently raises an error. We should be able to implement this setting by having rank 0 broadcast the unsharded FlatParameter to all ranks before writing back.
cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
module: fsdponcall: distributedAdd this issue/PR to distributed oncall triage queueAdd this issue/PR to distributed oncall triage queuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module