Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support native torch embedded quantization encodings #2305

Conversation

quic-huzh
Copy link
Contributor

No description provided.

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>
…el_to_onnx

Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
Signed-off-by: Huan Zhao <quic_huzh@quicinc.com>
@quic-huzh quic-huzh self-assigned this Jun 30, 2023
@quic-huzh quic-huzh linked an issue Jun 30, 2023 that may be closed by this pull request
@quic-akhobare
Copy link
Contributor

Please squash your commits when merging..

@quic-huzh quic-huzh merged commit 6e94bcd into quic:develop Jun 30, 2023
2 checks passed
@quic-huzh quic-huzh deleted the support_native_torch_embedded_quantization_encodings branch June 30, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support native torch embedded quantization encodings
2 participants