You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug can be reproduced by the following code with the model in the attachment. For the model, it can be correctly checked by onnx.checker.check_model. However, if we replace ORT_ENABLE_EXTENDED with ORT_ENABLE_BASIC, every thing is ok.
The text was updated successfully, but these errors were encountered:
yuslepukhin
changed the title
onnxruntime crashes due to ORT_ENABLE_EXTENDED optimization: Can't remove node Transpose as it still has output edges.
onnxruntime errors out due to ORT_ENABLE_EXTENDED optimization: Can't remove node Transpose as it still has output edges.
Mar 24, 2025
Expected behavior
onnxruntime can run the model when using the optimization ORT_ENABLE_EXTENDED.
Actual behavior
When using the optimization ORT_ENABLE_EXTENDED, onnxruntime crashes.
To reproduce
Environment
OS: Ubuntu 20.04
onnxruntime: 1.22.0.dev20250320003
Steps to reproduce
This bug can be reproduced by the following code with the model in the attachment. For the model, it can be correctly checked by onnx.checker.check_model. However, if we replace ORT_ENABLE_EXTENDED with ORT_ENABLE_BASIC, every thing is ok.
model.zip
Urgency
No response
Platform
Linux
OS Version
Ubuntu 20.04
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.22.0.dev20250320003
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: