Skip to content

return work from manager allreduce #247

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tushar00jain
Copy link
Contributor

@tushar00jain tushar00jain commented Jul 26, 2025

Summary:
use http transport instead of pg transport -- pg transport fails to resolve address when running locally
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 26, 2025
@tushar00jain tushar00jain changed the title wait for futures while syncing fragments return work from manager allreduce Jul 26, 2025
@tushar00jain tushar00jain force-pushed the pr247 branch 3 times, most recently from 48daf18 to e6715b0 Compare July 26, 2025 02:48
@tushar00jain tushar00jain force-pushed the pr247 branch 3 times, most recently from 0360f3f to 843854d Compare July 26, 2025 17:48
Summary:
deep copy the state dict for sending checkpoint because if the replica moves to the next step, the state dict can change before the checkpoint is sent
Summary:
- call future.wait in callbacks to make sure the continuation executes after the future has completed
- set the stream correctly to execute callback scheduled by bucketized allreduce
Summary:
returns the work object so we can be more flexible with the usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants