homepage icon indicating copy to clipboard operation
homepage copied to clipboard

[Feature Request] GPU Memory/Utilization

Open MillsyBot opened this issue 2 years ago • 3 comments

Would like to have a widget that would display the local resource utilization for GPU similar to nvidia-smi command:

# nvidia-smi
Wed Sep  7 18:03:58 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01    Driver Version: 515.65.01    CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro P2000        Off  | 00000000:01:00.0 Off |                  N/A |
| 44%   30C    P8     5W /  75W |      2MiB /  5120MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

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

MillsyBot avatar Sep 07 '22 18:09 MillsyBot

This would be an awesome addition, but I worry about the extra baggage it'd attach to the image for users not interested or without GPUs. I'll have to do some investigation to see how large the nvidia-smi package would be, and if it can be added to an Alpine linux image.

benphelps avatar Sep 09 '22 01:09 benphelps

this addition would be great. i think you can make a another image with nvidia smi and keep the original without it. that way each user can select which image to use. but in the end it is up to you @benphelps and which option is easier for you to maintain this great docker application.

thank you for your hard work

BuHaneenHHHH avatar Sep 10 '22 01:09 BuHaneenHHHH

I would like the Intel gpu top aswell

thisisawesome1994 avatar Sep 30 '22 05:09 thisisawesome1994