-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SE algorithm also return zero points (#3054)
### Changes 1. Made Scale Estimation return zero points besides scales. 2. Minor fixes to `do_int_quantization` function, made its signature more strict. ### Reason for changes 1. Currently zero points need to be re-computed for the weights for which SE computed scales. 2. Avoid unnecessary computations inside `do_int_quantization`. Avoid wrong usage of the function. ### Tests Added a test to verify correctness of feeding precomputed quantization parameters to `do_int_quantization`. ### Tickets Prerequisite to 139047.
- Loading branch information
1 parent
f5ef50a
commit 5d2be87
Showing
4 changed files
with
63 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
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