onnx-mlir icon indicating copy to clipboard operation
onnx-mlir copied to clipboard

[Bug] ONNX-MLIR crashes on a model with Pad operator

Open luyaor opened this issue 2 years ago • 0 comments

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.

image

Error Log

image

How to reproduce

Environment

Python3, with onnx, onnxruntime(optional)

  1. Download o2m_bug3.zip

  2. ./onnx-mlir bug3.onnx

or

  • in o2m.py, replace the string as your onnx-mlir path
  • Run python o2m.py.

luyaor avatar Aug 15 '22 04:08 luyaor