美文网首页
Could not load dynamic library '

Could not load dynamic library '

作者: 孙庚辛 | 来源:发表于2022-03-28 18:26 被阅读0次

    cudnn 的官方安装指导:
    https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html

    如果使用 Ubuntu, 可以采用以下命令:

    wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
    sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
    sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub
    sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
    sudo apt-get update
    sudo apt-get install libcudnn8=${cudnn_version}-1+${cuda_version}
    sudo apt-get install libcudnn8-dev=${cudnn_version}-1+${cuda_version}
    

    where cudnn_version is for example 8.2.4.* and ${cuda_version} is for example cuda11.0

    相关文章

      网友评论

          本文标题:Could not load dynamic library '

          本文链接:https://www.haomeiwen.com/subject/iqyifrtx.html