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

Does AIMET QuantSlim calculate quantization encodings the same way as SNPE does? #570

Closed
xing-shuai opened this issue Apr 21, 2021 · 1 comment

Comments

@xing-shuai
Copy link

I found that AIMET QuantSim finally exports an float model and a json file with quantization encodings. However, there is no way to feed the json file into dlc-quantize tool of snpe. So, how can I use snpe to quantize model with the json file derived from AIMET?

The short answer is that you don't need to feed the json file to SNPE (SnapDragon Neural Processing SDK).. SNPE will calculate equivalent encodings as AIMET via its dlc-quantize tool.

For some future use cases, there may be a need to import AIMET encodings into SNPE (and there is an option to do that with the latest tool), but for now you don't need it.

Hope that answers your question.

Originally posted by @quic-akhobare in #168 (comment)

@quic-mangal
Copy link
Contributor

Closing this issue due to inactivity. Please re-open it/ create a new issue if you need further help.

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

No branches or pull requests

2 participants