Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for DTensor in DecentralizedAverager #629

Open
samsja opened this issue Oct 17, 2024 · 0 comments
Open

Support for DTensor in DecentralizedAverager #629

samsja opened this issue Oct 17, 2024 · 0 comments

Comments

@samsja
Copy link
Contributor

samsja commented Oct 17, 2024

in order to support the Hybrid FSDP use case where we use hivemind to do decentralized training between nodes running fsdp we need to be able to send pytorch DTensor. (At least would work with FSDP2, FSDP1 is slightly more complicated).

I see two way of supporting it :

  • Either we have one hivemind worker per node, which would call DTensor.full_weight() and then send it

or

  • Each local rank would have its hivemind worker and send and receive the DTensor.to_local()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant