-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
part2: Move embedding quantization kernels to fbgemm for better shari…
…ng between C2/PT (#425) Summary: Pull Request resolved: #425 8bit with float scale and bias. Test and benchmark added. ``` With scale and bias as float bit_rate, rows, cols, elems_per_usec, GB/Sec 8, 100, 16, 556.20, 2.22 8, 100, 64, 1022.51, 4.09 8, 100, 128, 1121.43, 4.49 8, 100, 256, 1292.61, 5.17 8, 100, 512, 1526.69, 6.11 8, 100, 1024, 1407.09, 5.63 8, 100, 2048, 1620.34, 6.48 8, 120, 16, 562.60, 2.25 8, 120, 64, 1058.52, 4.23 8, 120, 128, 1082.74, 4.33 8, 120, 256, 1382.87, 5.53 8, 120, 512, 1513.15, 6.05 8, 120, 1024, 1441.19, 5.76 8, 120, 2048, 1634.99, 6.54 8, 1000, 16, 598.05, 2.39 8, 1000, 64, 1151.16, 4.60 8, 1000, 128, 1071.58, 4.29 8, 1000, 256, 1278.66, 5.11 8, 1000, 512, 1441.13, 5.76 8, 1000, 1024, 1605.48, 6.42 8, 1000, 2048, 1764.24, 7.06 ``` Reviewed By: supriyar Differential Revision: D23455486 fbshipit-source-id: e0dea307c42d614747302544a7179fa40194dad6
- Loading branch information
1 parent
1289a1f
commit 7e401c0
Showing
6 changed files
with
264 additions
and
10 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