[Bug] TVM crashes with default relax pipeline when opt_level=1: InternalError: Check failed: (slot->value_computed) is false #17876
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
Expected behavior
TVM should compile the model correctly with the default relax optimization pipeline.
Actual behavior
When compiling the model with the default relax optimization pipeline when opt_level=1, TVM crashes as follows:
Environment
OS: Ubuntu 20.04
TVM: 0.21.dev0(c00f52a)
Steps to reproduce
This bug can be reproduced by the following code with the model in the attachment. As shown in the code, the model can be executed by onnxruntime. However, tvm failed to the model with the default relax optimization pipeline when opt_level=1. If we set opt_level=0, this bug is gone.
testcase.zip
Triage
The text was updated successfully, but these errors were encountered: