onnx-mlir
onnx-mlir copied to clipboard
[Bug] ONNX-MLIR crashes on a model with Pad operator
Description
When compiling following model with ONNX-MLIR, it crashes. But it could normally execute by onnxruntime.
The model with error is as follows, check bug3.onnx in o2m_bug3.zip.

Error Log

How to reproduce
Environment
Python3, with onnx, onnxruntime(optional)
-
Download o2m_bug3.zip
-
./onnx-mlir bug3.onnx
or
- in o2m.py, replace the string as your onnx-mlir path
- Run
python o2m.py
.