The model does not have an ir_version set properly. #5424
Unanswered
ns-ofekshochat
asked this question in
Q&A
Replies: 2 comments 6 replies
-
Did you try to use the paramter |
Beta Was this translation helpful? Give feedback.
4 replies
-
Please also share the versions of the packages you are using: onnx, torch, onnxruntime etc. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have exported a pytorch model (the gpt2 one from the transformers package) with
torch.onnx.export
. I've loaded the model and the checker complained thatThe model does not have an ir_version set properly.
I first tried
opset_version
parameter, and later set it directly withmodel.ir_version = onnx.IR_VERSION
but to no avail.has anyone encountered this before?
Beta Was this translation helpful? Give feedback.
All reactions