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

errors using qViT.onnx to do inference #148

Open
yuhuixu1993 opened this issue Jun 21, 2023 · 1 comment
Open

errors using qViT.onnx to do inference #148

yuhuixu1993 opened this issue Jun 21, 2023 · 1 comment

Comments

@yuhuixu1993
Copy link

yuhuixu1993 commented Jun 21, 2023

With no modification,I using your ptq code to export deit onnx models. But error occurs when using onnxruntime to inference the onnx model.

onnxruntime.capi.onnxruntime_pybind11_state.InvalidGraph: [ONNXRuntimeError] : 10 : INVALID_GRAPH : This is an invalid model. Error in Node:QuantizeLinear_2 : No Op registered for QuantizeLinear with domain_version of 13

@yuhuixu1993
Copy link
Author

I solve this problem by upgrading CUDA and onnxruntime, however, the quantized model is much slower than fp16

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

1 participant