forked from pytorch/torchrec
-
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.
remove wait in all_to_all_single custom op
Summary: # context * remove the `torch.ops._c10d_functional.wait_tensor` call in all_to_all_single. * use `autograd.function` implementation to create a `AllToAllSingle` function * There is a wait_tensor after the all_to_all_single call: pytorch/pytorch#143533 Differential Revision: D64666999
- Loading branch information
1 parent
b1bd136
commit 872080e
Showing
1 changed file
with
47 additions
and
44 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