gpt4 book ai didi

linux - 如何将 cuDNN 更新到新版本?

转载 作者:太空狗 更新时间:2023-10-29 11:23:48 55 4
gpt4 key购买 nike

cuDNN 安装手册说

ALL PLATFORMS

Extract the cuDNN archive to a directory of your choice, referred to below as . Then follow the platform-specific instructions as follows.

LINUX

cd export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH

Add to your build and link process by adding -I to your compile line and -L -lcudnn to your link line.

它似乎只是将 pwd 添加到 LD_LIBRARY_PATH,所以我想只需替换 pwd 中的文件即可进行更新。

但这似乎并不那么简单,因为在我完成此操作后,我收到了 Theano 的投诉,说

cuDNN Version is too old. Update to v5, was 3007.

最佳答案

  1. 替换dir/cuda/include/中的cudnn.h
  2. 删除dir/cuda/lib64/中的旧库文件
  3. 添加新的库文件到dir/cuda/lib64/

关于linux - 如何将 cuDNN 更新到新版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38137828/

55 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com