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.
Add early exit in sparse_async_cumsum op (pytorch#2213)
Summary: Pull Request resolved: pytorch#2213 This diff adds an early exit in sparse_async_cumsum ops. When the size(s) of input tensor are zeor(s) ops return zero tensor. This is reworked version of previous diff D51999938 which failed some tests - https://www.internalfb.com/intern/test/281475091287900/ and has been reverted ( D52099677 ) Reviewed By: jasonjk-park Differential Revision: D52155358 fbshipit-source-id: 31e9e921b0c71946af6114043e66d962ee63666d
- Loading branch information
1 parent
cf86516
commit 5300974
Showing
2 changed files
with
21 additions
and
7 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