I tried to load a pre-train model saved in *.pth by using torch.load().
It always return RuntimeError: Error in dlopen or dlsym: libcaffe2_nvrtc.so: cannot open shared object file: No such file or directory
I tried to export path as in https://github.com/pytorch/pytorch/issues/31554, still the same error.
Even I changed directory to the folder which has the file libcaffe2_nvrtc.so, it still report same error.
./ libcaffe2_detectron_ops_gpu.so* libshm.so*
…/ libcaffe2_module_test_dynamic.so* libtorch.so*
libc10.so* libcaffe2_nvrtc.so* libtorch_python.so*
I used torch version 1.3.1 installed in a linux conda environment.