onnxruntime errors out due to ORT_ENABLE_BASIC optimization: Unexpected data type for Clip 'min' input of 11 #24158
Labels
stale
issues that have not been addressed in a while; categorized by a bot
Expected behavior
onnxruntime should run the model when using the optimization ORT_ENABLE_BASIC.
Actual behavior
When using the optimization ORT_ENABLE_BASIC, 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_BASIC with ORT_DISABLE_ALL, 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: