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 quantize and dequantize functions between rowwise-quantized int8 …
…+ fp32 scale/bias and fp32 embeddings. (pytorch#623) Summary: Pull Request resolved: pytorch#623 Template-ize FloatToFused8BitRowwiseQuantizedSBFloat and Fused8BitRowwiseQuantizedSBFloatToFloat, for opt and ref versions. Similar to D28620537 (pytorch@9cb33bc) and D28875981 (pytorch@77a4792). Reviewed By: dskhudia Differential Revision: D28918591 fbshipit-source-id: c70a1552d3d01648e848c710d16885ad5b1b5e47
- Loading branch information
1 parent
0520ad5
commit 3182125
Showing
5 changed files
with
295 additions
and
77 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
Oops, something went wrong.