nvidia-docker icon indicating copy to clipboard operation
nvidia-docker copied to clipboard

Error: unsupported CUDA version: driver 7.0 < image 8.0

Open agupta83 opened this issue 10 years ago • 1 comments

Hi,

I am getting following error when I run nvidia-docker run --rm nvidia/cuda nvidia-smi

nvidia-docker | 2016/09/23 23:21:01 Error: unsupported CUDA version: driver 7.0 < image 8.0

I have cuda 7.0 on my system and I am not comfortable to upgrade it. In past, it has messed up my system. Below is the result from nvidia-smi

+------------------------------------------------------+                       
| NVIDIA-SMI 346.63     Driver Version: 346.63         |                       
|-------------------------------+----------------------+----------------------+
| 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 TIT...  Off  | 0000:05:00.0     Off |                  N/A |
| 22%   35C    P8    16W / 250W |    543MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX TIT...  Off  | 0000:06:00.0     Off |                  N/A |
| 22%   35C    P8    16W / 250W |     24MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX TIT...  Off  | 0000:09:00.0     Off |                  N/A |
| 22%   33C    P8    16W / 250W |     24MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX TIT...  Off  | 0000:0A:00.0     Off |                  N/A |
| 22%   32C    P8    16W / 250W |     25MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1703    G   /usr/bin/X                                     266MiB |
|    0      2902    G   compiz                                         135MiB |
|    0      3082    G   ...Q2,UsePasswordSeparatedSigninFlow<Passwor   113MiB |
+-----------------------------------------------------------------------------+

Any suggestions?

Thank you Ashish

agupta83 avatar Sep 23 '16 18:09 agupta83

You don't need cuda on your system, just the driver. In your case your driver is too old and doesn't support cuda 8.0 so you need to upgrade it. If you don't need cuda 8.0 then use a cuda 7.0 image (which your driver supports):

nvidia-docker run --rm nvidia/cuda:7.0 nvidia-smi

3XX0 avatar Sep 23 '16 19:09 3XX0