In cryosparcw:
[…]
activate_gpu_env() {
if [[ “$CRYOSPARC_USE_GPU” = “true” ]] ; then
if ! is_pytorch_available; then
pathprepend “$CRYOSPARC_CUDA_PATH/bin”
pathprepend “$root_dir/deps/external/cudnn/lib” LD_LIBRARY_PATH
pathprepend “$CRYOSPARC_CUDA_PATH/lib64” LD_LIBRARY_PATH
else
# use cudnn provided via ‘pip install torch’
pathprepend “$CRYOSPARC_ROOT_DIR/deps/anaconda/envs/$CRYOSPARC_CONDA_ENV/lib/python3.7/site-packages/nvidia/cudnn/lib” LD_LIBRARY_PATH
fi
fi
[…]
New version of torch (e.g. 1.13.1) will install packages for python3.8
So shouldn’t it be:
pathprepend “$CRYOSPARC_ROOT_DIR/deps/anaconda/envs/$CRYOSPARC_CONDA_ENV/lib/python3.8/site-packages/nvidia/cudnn/lib” LD_LIBRARY_PATH
Thanks
JC