conda虚拟环境中安装cuda,cudnn
- tip:CUDA和CUDNN的版本需要对应
-
- 安装CUDA
- conda install cudatoolkit=8.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/
-
- 安装cudnn
- conda install cudnn=7.0.5 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/
推荐阅读