$ nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.111 Driver Version: 384.111 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 480 Off | 00000000:03:00.0 N/A | N/A |
| 63% 86C P0 N/A / N/A | 275MiB / 1469MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 106... Off | 00000000:04:00.0 Off | N/A |
| 27% 30C P8 7W / 120W | 1MiB / 3013MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
GTX480とGTX1060の二枚を認識しています。何もしていないのに480 は熱いですね。
driver Version は384.111。これだと、CUDA8.0までしか対応していません。
https://github.com/NVIDIA/nvidia-docker/wiki/CUDA#requirements
Requirements
The machine running the CUDA container only requires the NVIDIA driver, the CUDA toolkit doesn't have to be installed.
NVIDIA drivers are backward-compatible with CUDA toolkits versions
CUDA toolkit version Driver version GPU architecture
6.5 >= 340.29 >= 2.0 (Fermi)
7.0 >= 346.46 >= 2.0 (Fermi)
7.5 >= 352.39 >= 2.0 (Fermi)
8.0 == 361.93 or >= 375.51 == 6.0 (P100)
8.0 >= 367.48 >= 2.0 (Fermi)
9.0 >= 384.81 >= 3.0 (Kepler)
9.1 >= 387.26 >= 3.0 (Kepler)
ドライバーを更新しましょう。
古いVer.を削除
$ sudo apt-get --purge remove nvidia-*
リポジトリ登録
$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt-get update
最新Ver.確認
https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Current official release: `nvidia-390` (390.48)
Current long-lived branch release: `nvidia-390` (390.48)
Old long-lived branch release: `nvidia-384` (384.130)
最新版インストール
$ sudo apt-get install nvidia-390
$ sudo reboot
$ nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.48 Driver Version: 390.48 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 480 Off | 00000000:03:00.0 N/A | N/A |
| 50% 75C P12 N/A / N/A | 199MiB / 1469MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 106... Off | 00000000:04:00.0 Off | N/A |
| 27% 31C P8 7W / 120W | 2MiB / 3019MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
これでOK。
次は Docker のインストールです。
続く。
0 件のコメント:
コメントを投稿