Nvidia-docker: No processes display when I using nvidia-smi.

Created on 8 Jun 2018  路  1Comment  路  Source: NVIDIA/nvidia-docker

Hi guys. I run a program in docker,then I execute nvidia-smi,but no processes. output as below.

root@dycd1528442594000-7wn7k:~# ./nvidia-smi 
Fri Jun  8 07:42:08 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.48                 Driver Version: 390.59                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla M40 24GB      On   | 00000000:02:00.0 Off |                    0 |
| N/A   37C    P0   113W / 250W |    814MiB / 22945MiB |     78%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla M40 24GB      On   | 00000000:82:00.0 Off |                    0 |
| N/A   38C    P0   103W / 250W |    558MiB / 22945MiB |     78%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

But it's normal when no processes runing.

root@dycd1528442594000-7wn7k:~# ./nvidia-smi 
Fri Jun  8 07:40:44 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.48                 Driver Version: 390.59                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla M40 24GB      On   | 00000000:02:00.0 Off |                    0 |
| N/A   32C    P8    18W / 250W |      0MiB / 22945MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla M40 24GB      On   | 00000000:82:00.0 Off |                    0 |
| N/A   31C    P8    18W / 250W |      0MiB / 22945MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

How can I handle this issue?
Thank you in advance.

Most helpful comment

See https://github.com/NVIDIA/nvidia-docker/wiki/Frequently-Asked-Questions#why-is-nvidia-smi-inside-the-container-not-listing-the-running-processes

>All comments

See https://github.com/NVIDIA/nvidia-docker/wiki/Frequently-Asked-Questions#why-is-nvidia-smi-inside-the-container-not-listing-the-running-processes

Was this page helpful?
0 / 5 - 0 ratings