We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model) onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from positional_encoding_poly.onnx failed:/onnxruntime_src/onnxruntime/core/graph/model.cc:179 onnxruntime::Model::Model(onnx::ModelProto&&, const onnxruntime::PathString&, const onnxruntime::IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 10, max supported IR version: 9
onnx 1.16.0 onnx-graphsurgeon 0.3.21 onnx-simplifier 0.4.36 onnxruntime 1.17.1
No response
Linux
ubuntu20.04
Released Package
1.16.0
Python
X64
Default CPU
The text was updated successfully, but these errors were encountered:
https://discuss.pytorch.org/t/runtimeerror-unexpected-tensor-scalar-type/124031 it works.
Sorry, something went wrong.
downgrade the version of onnx to v1.15.0
@lix19937 Doing this does not really solve it. Rather making sure these packages are installed:
pip install onnx==1.16.0 pip install onnx-graphsurgeon==0.5.2 pip install onnxruntime==1.17.3 pip install onnxruntime-gpu==1.17.1 pip install onnxscript==0.1.0.dev20240520
This solves it.
No branches or pull requests
Describe the issue
sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from positional_encoding_poly.onnx failed:/onnxruntime_src/onnxruntime/core/graph/model.cc:179 onnxruntime::Model::Model(onnx::ModelProto&&, const onnxruntime::PathString&, const onnxruntime::IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 10, max supported IR version: 9
To reproduce
onnx 1.16.0
onnx-graphsurgeon 0.3.21
onnx-simplifier 0.4.36
onnxruntime 1.17.1
Urgency
No response
Platform
Linux
OS Version
ubuntu20.04
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.16.0
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: