-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for asymmetric act quant for int8 dynamic quant (#1131)
* Add support for asymmetric activation quantization for int8 dynamic quant Summary: This is needed for executorch: https://github.com/pytorch/executorch/blob/01d878310a1e22791bc6be65566382cd5632ff10/examples/models/llama/source_transformation/quantize.py#L416 Test Plan: python test/dtypes/test_affine_quantized.py Reviewers: Subscribers: Tasks: Tags: * remove qmin/qmax * remove eps * fix if branch
- Loading branch information
1 parent
85ec209
commit 12e4acf
Showing
3 changed files
with
17 additions
and
6 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