[Bug] [CUDA] TVM failes to compile onnx model with cuda 11.8: InternalError: Check failed: (entry->context_stack.top().same_as(*this)) is false: #17854
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 CUDA backend.
Actual behavior
When compiling the model with the CUDA backend, TVM crashes as follows:
Environment
OS: Ubuntu 20.04
TVM: 0.21.dev0(c00f52a)
CUDA: 11.8
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 and also be compiled by tvm with cpu backend. However, tvm failed to compile this model with CUDA backend.
testcase.zip
Triage
The text was updated successfully, but these errors were encountered: