-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all_to_one cuda support non-2d inputs (#2575)
Summary: Support non-2d tensors in all_to_one. Sometimes torchrec outputs are empty tensors. This can be solved on python module side guarding empty tensors, but we d better not to have shape dependent logic for PT2 tracing. Differential Revision: D57180617
- Loading branch information
1 parent
c216005
commit 2e5438a
Showing
2 changed files
with
55 additions
and
39 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