nvccとnvidia-smiのCUDAバージョンが違う[CUDA]
![Thumbnail of post image 053](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/danielle-macinnes-IuLgi9PWETU-unsplash.jpg?resize=150%2C150&ssl=1)
下記に記事を見つけたので、後でまとめる。
stackoverflow.com
CUDA-cuDNN, Tensorflow-cuDNNの対応表
![Thumbnail of post image 073](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/xps-DYAf-8UTFN8-unsplash.jpg?resize=150%2C150&ssl=1)
Tensorflow – cuDNN
CUDA – cuDNN
CUDA10.0ではなく10.1がインストールされてしまう[CUDA]
![Thumbnail of post image 124](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/brooke-lark-nTZOILVZuOg-unsplash.jpg?resize=150%2C150&ssl=1)
TensorflowがCUDA10.0にしか対応していないので,最新の10.1では無い方をインストールした時の話.
のベージからOSなどを選択した状態で出現する公式の手順にしてがってインストールしたところ,CUDA10.0 ...
NvidiaのドライバやCUDAがインストールされていない場合にGPUの存在を確認するコマンド
![Thumbnail of post image 031](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/lex-sirikiat-nV19ucDBbs8-unsplash.jpg?resize=150%2C150&ssl=1)
lspci | grep -i nvidia
lspci: command not found がでた場合は,
apt install pciutilsCUDAとcuDNNとUbuntuのバージョンを指定してコンテナを立てる[nvidia-docker2]
![Thumbnail of post image 098](https://i0.wp.com/vasteelab.com/wp-content/uploads/2020/07/brooke-lark-nTZOILVZuOg-unsplash.jpg?resize=150%2C150&ssl=1)
docker run -it --runtime=nvidia nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04–runtime=nvidia を忘れるとnvidia-smiが使えないので忘れない ...