Skip to content

[FSDP] summon_full_params(writeback=True, rank0_only=True) #93938

@awgu

Description

@awgu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: fsdponcall: distributedAdd this issue/PR to distributed oncall triage queuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions