forked from facebookincubator/AITemplate
-
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.
Have softmax use warp reduction in dim=-2 case (facebookincubator#887)
Summary: Pull Request resolved: facebookincubator#887 We extend the warp reduction code to handle a 2D block, which the dim=-2 case uses. Reviewed By: aakhundov Differential Revision: D47862056 fbshipit-source-id: e1bbf1e8830bd7346c2bf33721bebf72e18f751d
- Loading branch information
1 parent
38aebd9
commit b5e2959
Showing
3 changed files
with
85 additions
and
68 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
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