forked from quic/aimet
-
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.
Support for native Pytorch embedded quantization encodings (quic#1156)
Signed-off-by: Huan Zhao <quic_huzh@quicinc.com> Support FP16 native torch quantizer using cast Signed-off-by: Huan Zhao <quic_huzh@quicinc.com> Fixed some comment Signed-off-by: Huan Zhao <quic_huzh@quicinc.com> Move functions related to quantizer to quantsim_utils Signed-off-by: Huan Zhao <quic_huzh@quicinc.com> Removed uncertain check caused by different version of onnx Signed-off-by: Huan Zhao <quic_huzh@quicinc.com> Change API to call embedded encodings from single function to sim.export Signed-off-by: Huan Zhao <quic_huzh@quicinc.com> Renamed use_embedded_encodings and raise error when use strict symmetric. Signed-off-by: Huan Zhao <quic_huzh@quicinc.com> Resolved conflicts and added testing cases to ensure the output of native torch quantization nodes is correct Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
- Loading branch information
Showing
5 changed files
with
483 additions
and
8 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.