Replies: 1 comment 1 reply
-
@nogifeet Could you provide more information about the Platform, OS Version, ONNX Runtime Installation, ONNX Runtime Version or Commit ID, Architecture .. etc? I run the script with onnxruntime 1.16.1 on Linux and it is successful. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to quantize the pix2struct-docvqa-base model using the quantize_static() provided by onnxruntime.
I am able to run quantize_static() without any errors, but the code runs in an infinite loop and eventually kills the kernel.
Here is what I have tried..
To Export the model from HF to Onnx:
Running Static Quantization:
Up until this point, everything runs perfectly fine, but the next command just fails without any error indication as to why...
I have tried to play with the different options available in quantize_static(), but none of them seem to help.
Beta Was this translation helpful? Give feedback.
All reactions