-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove double type dispatch in quantize_ops (#1965)
Summary: Pull Request resolved: #1965 Remove double type dispatch because we do not support it in quantize ops. This diff introduces `FBGEMM_DISPATCH_FLOAT_AND_HALF` for dispatching float/half and `FBGEMM_DISPATCH_FLOAT_HALF_AND_BFLOAT16` for dispatching float/half/bfloat16. It replaces `AT_DISPATCH_FLOATING_TYPES*` with these custom dispatchers. Reviewed By: q10 Differential Revision: D48628880 fbshipit-source-id: 0d04b831adab3c12de8e671b4cbcc758b8aa186c
- Loading branch information
1 parent
4920770
commit 97ffa8d
Showing
7 changed files
with
40 additions
and
38 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
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
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