Nvidia-smi paperspace gradient

I’m running lesson-1 on Paperspace gradient. I thought it would be fun to open a terminal and run “nvidia-smi” to see what kind of GPU is running my resnet. I got down to the resnet50 part and remember that Jeremy mentioned we might run out of memory there. When I run nvidia-smi it shows this:

+-----------------------------------------------------------------------------+
| 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  Quadro P4000        Off  | 00000000:00:05.0 Off |                  N/A |
| 54%   47C    P8     6W / 105W |   3775MiB /  8119MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

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

I was surprised that no GPU process showed up. Anyone know how we can see realtime usage for Gradient notebooks?

I love how easy it is to get going with Gradient. I was doing v2 and it took me a lot longer to get Paperspace to work on the lesson 1 there.

Cheers,
Adam

Ok, maybe it doesn’t matter that no processes are shown. It does show that the GPU is 3 of th 8 gig of memory. Sorry if this was a stupid question. But it is kind of interesting to see the memory usage go up. After the resnet50 fit_one_cycle(8) it looked like this. Note the memory is up to 7.8 gig…

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+
Thu Jan 31 23:42:38 2019
+-----------------------------------------------------------------------------+
| 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  Quadro P4000        Off  | 00000000:00:05.0 Off |                  N/A |
| 50%   41C    P8     5W / 105W |   7847MiB /  8119MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

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