I tried to run tensorflow-gpu on Ubuntu 18.04 LTS with a Geforce 650 GPU. The installation process went just fine and it is possible to use tensorflow in my virtual environment. However I am not able to monitor the GPU usage with nvidia-smi command except for the overall temperature and memory usage. However it would be nice to see each process running on the GPU.
The output from the nvidia-smi command without running a tensorflow process is as follows:
Thu Sep 27 12:43:54 2018
±----------------------------------------------------------------------------+
| NVIDIA-SMI 410.48 Driver Version: 410.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 650 Off | 00000000:02:00.0 N/A | N/A |
| 21% 41C P0 N/A / N/A | 816MiB / 979MiB | N/A Default |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
±----------------------------------------------------------------------------+
Is there any other way to monitor the GPU usage?