CFSworks / nvml_fix

A workaround for an annoying bug in nVidia's NVML library. Allows nvidia-smi to work once more!
98 stars 19 forks source link

How about 418.43 fix ? ;) #19

Closed smooker closed 5 years ago

smooker commented 5 years ago
smooker@sh21 /mnt/vg3.2/tmp/tmp/nvml_fix $ nvidia-smi 
Sat Mar 16 22:57:30 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104      Driver Version: 410.104      CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| 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 780     Off  | 00000000:01:00.0  On |                  N/A |
| 39%   33C    P8    16W / 250W |    253MiB /  3021MiB |     11%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0     12455      G   /usr/bin/X                                   143MiB |
|    0     12728      G   ...ACAAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAA    41MiB |
+-----------------------------------------------------------------------------+
tofurky commented 5 years ago

please see if latest master works for you. i added 415.x and 418.x.

smooker commented 5 years ago

cuda_version += 0.1; Fantastic ! :) 10x

smooker@sh21 ~ $ nvidia-smi 
Sun Mar 17 12:46:36 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.43       Driver Version: 418.43       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| 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 780     Off  | 00000000:01:00.0  On |                  N/A |
| 39%   37C    P0    64W / 250W |    201MiB /  3021MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0     31628      G   /usr/bin/X                                   106MiB |
|    0     31813      G   ...AACAAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAA    26MiB |
+-----------------------------------------------------------------------------+