WSL报错libcudnn_cnn_infer.so.8
WSL中安装好了CUDA和cudnn,nvidia-smi也没有问题
运行时仍然报这个错误 Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory Please make sure libcudnn_cnn_infer.so.8 is in your library path! Aborted
参照方法
Conda Pytorch (Pytorch channel) in WSL2 Ubuntu can't find libcudnn shared objects · Issue #85773 · pytorch/pytorch · GitHub