forked from pytorch/FBGEMM
-
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.
Return if no data to allreduce (pytorch#3586)
Summary: Pull Request resolved: pytorch#3586 X-link: facebookresearch/FBGEMM#669 When the input tensor is empty, just return. Otherwise the num_thread will be 0 and fail to launch cuda kernels. Reviewed By: feikou, jianyuh Differential Revision: D68318641 fbshipit-source-id: ff1c0c401fc4884cef9ee71fdcccaa6d68e1bf80
- Loading branch information
1 parent
b858408
commit 6a684cb
Showing
2 changed files
with
5 additions
and
1 deletion.
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