Closed sammilei closed 8 months ago
I use TensorRT 8.6 and CUDA 11.8 in my environment and works fine. Make sure you download the correct version of TensorRT. You likely downloaded for CUDA 12.x, whereas you need to download for CUDA 11.x.
See my answer in the other issue: https://github.com/cyrusbehr/tensorrt-cpp-api/issues/45
Thanks a lot for the quick reply! Didn't realize you had answered my question in a different thread. I thought the post failed. I indeed reinstalled cuda a few times. Maybe I should reinstall my ubuntu 20.04 from scratch
Thanks for the code! It was able to run with cuda tool kit 12.1, driver 11.8 and
TensorRT-8.6.1.6
for 12.1. I would need the trt inference on cuda toolkit 11.8. What I have tried:TensorRT-8.6.1.6
for 11.8. cmake and make passed but when I ran the program, I gotI tried softlink the xxxx.so.11 to 12 but the program detected it and complained.
TensorRT-8.4.1.5
but there were functions in the current code that don't exist in this TensorRT version.Any suggestions are appreciated!