Error exporting MPNet model to ONNX and load in ONNXRuntime despite supported #18848
Unanswered
zhangyilun
asked this question in
Other Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to export https://huggingface.co/sentence-transformers/all-mpnet-base-v2 to onnx and run inference on CPU. From https://huggingface.co/docs/optimum/exporters/onnx/overview, MPNet should be supported.
I remember I was able to make it work earlier but suddenly it stopped working and I want to get some help.
Environment:
I tried on Mac M chip, ubuntu (within docker container).
The relevant code is:
Optimum cli also doesn't work:
Error:
Beta Was this translation helpful? Give feedback.
All reactions