tensorflow-gpu=1.4.1 - cudatoolkit=8.0 - cudnn=6.0 - conda 常用命令

tensorflow-gpu=1.4.1 - cudatoolkit=8.0 - cudnn=6.0 - conda 常用命令

0. 清華大學開源軟件鏡像站

https://mirrors.tuna.tsinghua.edu.cn/

1. Index of /anaconda/pkgs/free/linux-64/

https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/

  • cudatoolkit-8.0-3.tar.bz2
conda install cudatoolkit=8.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/
  • cudnn-6.0.21-cuda8.0_0.tar.bz2
conda install cudnn=6.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/

2. Index of /anaconda/pkgs/main/linux-64/

https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/

tensorflow-gpu=1.4.1

conda install tensorflow-gpu=1.4.1 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/

3. tensorflow-gpu=1.4.1 - cudatoolkit=8.0 - cudnn=6.0

conda install tensorflow-gpu=1.4.1 cudatoolkit=8.0 cudnn=6.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/

4. conda 可在虛擬環境中安裝 cudatoolkit 和 cudnn

4.1 conda search * - 搜索需要的安裝包

Conda displays a list of all packages with that name on the Anaconda repository.

conda search cudnn
conda search cudatoolkit

4.2 conda list

conda list - 列出當前虛擬環境的所有包。
conda env list - 列出 conda 管理的所有虛擬環境。
conda info --envs - 列出 conda 管理的所有虛擬環境。

4.3 conda 常用命令

https://conda.io/projects/conda/en/latest/commands.html
在這裏插入圖片描述

4.4 conda 虛擬環境 envs 文件夾下的 libinclude 文件夾查看 .so.h

miniconda*/envs/python*/lib/
anaconda*/envs/python*/lib/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章