forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support torch.distributed.irecv(src=None, ...) (pytorch#47137)
Summary: Calling torch.distributed.irecv(src=None) fails with "The global rank None is not part of the group". This change calls recv_anysource if src is None. Tested locally with MPI backend. Pull Request resolved: pytorch#47137 Reviewed By: heitorschueroff Differential Revision: D25292656 fbshipit-source-id: beb018ba0b676924aeaabeb4a4d6acf96e4a1926
- Loading branch information
1 parent
e1f9542
commit 4eb4db7
Showing
2 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters