apache / tvm

Open deep learning compiler stack for cpu, gpu and specialized accelerators
https://tvm.apache.org/
Apache License 2.0
11.67k stars 3.45k forks source link

[Bug] run tests/python/relax/test_codegen_tensorrt.py coredump #16925

Open sky-fun opened 5 months ago

sky-fun commented 5 months ago

Environment

ubuntu 18.04 llvm 13.0.1 cuda 11.7 TensorRT-8.4.1.5 python3.8.2

Steps to reproduce

1.build tvm with USE_CUDA ON、 USE_RELAY_DEBUG ON、 USE_TENSORRT_CODEGEN ON USE_TENSORRT_RUNTIME set to tensorrt path

2.cd into tvm/tests/python/relax TVM_LOG_DEBUG=DEFAULT=2 python3 test_codegen_tensorrt.py

it shows Segmentation fault (core dumped)

tvm-error

cemamxiaoxixi commented 3 months ago

@sky-fun I found the same bug, have you solved?