[Bug] Graph optimization model compilation error involving Pad
operator
#16898
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
I am trying to compile an ONNX (graph below) model using TVM.
Of course, this is a complicated graph, but we can simplify it as below.
These two graphs are equal. When I try to compile them using TVM. The original ONNX model fails but the simplified ONNX model passes. It is very strange!
This seems to involve the
Pad
operator shape-checking problem.In theory, I think TVM should have strong compatibility with the native ONNX model. However, the truth is not satisfactory.
It seems that only simplified, simple models are acceptable to TVM
Expected behavior
ONNX compilation passes
Actual behavior
Environment
Operating System: Ubuntu 18
TVM:0.15
Torch: 2.1.1
ONNX: 1.15.0
Steps to reproduce
ONNX file is here: onnx.zip
Here is the script
Triage
The text was updated successfully, but these errors were encountered: