onnx-tensorrt icon indicating copy to clipboard operation
onnx-tensorrt copied to clipboard

Could not find module 'libcudart.so' (or one of its dependencies). Try using the full path with constructor syntax.

Open maxmelichov opened this issue 1 year ago • 7 comments

Description

I'm getting Could not find module 'libcudart.so' (or one of its dependencies). Try using the full path with constructor syntax. when trying to run python setup.py install

TensorRT Version: 8.6.1 GPU Type: GTX 1060/ GTX 1660 Ti Nvidia Driver Version: 546.33 CUDA Version: 11.8 CUDNN Version: 8.6.0.163 Operating System + Version: win10 Python Version (if applicable): 3.10.2 TensorFlow + TF2ONNX Version (if applicable): tensorflow == 2.13.0rc1 PyTorch Version (if applicable): torch 2.1.2+cu118

maxmelichov avatar Dec 31 '23 13:12 maxmelichov

在 Windows 10 上,没有 libcudart.so 这个文件,你可以用cudart64_XX.dll 文件,其中 XX 是 CUDA 版本号

idaoi avatar Mar 19 '24 07:03 idaoi

在 Windows 10 上,没有 libcudart.so 这个文件,你可以用cudart64_XX.dll 文件,其中 XX 是 CUDA 版本号 On Windows 10, the libcudart.so file is not available. You can use the cudart64_XX.dll file, where XX is the CUDA version number

idaoi avatar Mar 19 '24 07:03 idaoi