Pytorch-Correlation-extension icon indicating copy to clipboard operation
Pytorch-Correlation-extension copied to clipboard

ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory.

Open houhouhouhou11 opened this issue 4 years ago • 1 comments
trafficstars

Hello: thanks for your sharing. I can use torch-cuda_101.1 normally. But when I import the spatial_correlation_sampler, ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory. Ps: I updated the cuda from 9.2 to 10.1. Thank you very much!

houhouhouhou11 avatar Apr 22 '21 13:04 houhouhouhou11

Hi, the way I see it, you just need to rebuild from scratch so that it will link against cuda 10 instead of cuda9. Remove and reinstall from pip or do python setup.py clean and python setup.py install if you built from source.

Clément

ClementPinard avatar Sep 07 '21 11:09 ClementPinard