-
Notifications
You must be signed in to change notification settings - Fork 228
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
Graph output of export_ppq_graph is not quantized #49
Comments
哦豁,你需要注意到不同的后端要求的量化模型格式也不一样,你现在导出的这种带json的格式应该是open ppl需要的,这种格式所有量化参数都保存在json文件中,ppl可以直接执行。 请知悉: 如果你想最快速的看到结果,选择onnxruntime作为导出格式即可,你就可以在导出的onnx中看到量化结果。 所有导出平台被列举在ppq.api.文件中: |
谢谢!请问导出平台是指TargetPlatform吗?提及的情况大概是这几行? |
啊对,这里面除了ONNX, NATIVE, EXTENSION都是后端实际需要的格式。 选择NATIVE会导出ppq的二进制原生格式; |
好的,非常感谢! |
Hello, great work!
I try to quantize some ONNX models with ppq. The ONNX model output from
export_ppq_graph
is not quantized at all, but I found some key parameters for quantization such as scales and zero points for different layers saved in JSON. Is this bug or feature of PPQ? How can I get the quantized ONNX model?The text was updated successfully, but these errors were encountered: