Syllo / nvtop

GPU & Accelerator process monitoring for AMD, Apple, Huawei, Intel, NVIDIA and Qualcomm
Other
7.95k stars 291 forks source link

not support wsl2 :No GPU to monitor. #124

Closed tanguofu closed 2 years ago

tanguofu commented 2 years ago
richard@guofutan-NB6:~/workspace/ai-framework/nvtop/build$ nvtop
No GPU to monitor.
richard@guofutan-NB6:~/workspace/ai-framework/nvtop/build$ nvidia-smi
Fri Oct  8 22:00:06 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.57.02    Driver Version: 510.06       CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| 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  NVIDIA GeForce ...  On   | 00000000:01:00.0 Off |                  N/A |
| N/A   48C    P8     3W /  N/A |    161MiB /  8192MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
richard@guofutan-NB6:~/workspace/ai-framework/nvtop/build$
XuehaiPan commented 2 years ago

Listed in WSL User Guide: Features Not Yet Supported

NVML (nvidia-smi) does not support all the queries yet. GPU utilization, active compute process are some queries that are not yet supported. Modifiable state features (ECC, Compute mode, Persistence mode) will not be supported.

nvtop is built on top of NVML.

Syllo commented 2 years ago

WSL related issue. Please open an issue with their bug tracker if you still encounter such problem.

sudonto commented 1 year ago

any update in 2023?

optimbro commented 8 months ago

any update in 2024?

Nero10578 commented 3 months ago

Training in Windows is actually super nice since there's a VRAM system RAM fallback which lets you overshoot your VRAM a little. Having NVtop to see if the pcie bus is saturated would be nice.

Ainaemaet commented 1 week ago

Had it working a few months ago, not working now - not sure why