Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not supported? #122

Closed
git2013vb opened this issue May 10, 2022 · 11 comments
Closed

Not supported? #122

git2013vb opened this issue May 10, 2022 · 11 comments

Comments

@git2013vb
Copy link

git2013vb commented May 10, 2022

I tried it using

gpustat -cpFP --watch

I use Debian 11.

Here my result :

image

When I run something in gpu it sow me the amount of memory used only:

image

Any hints? I miss something?

Thanks.

@Stonesjtu
Copy link
Collaborator

Stonesjtu commented May 10, 2022 via email

@git2013vb
Copy link
Author

Ah.. So why in windows it work?

@wookayin
Copy link
Owner

Can you show me the output of gpustat --debug? I guess the graphics driver is too old, lacking the process-related APIs.

@git2013vb
Copy link
Author

Can you show me the output of gpustat --debug? I guess the graphics driver is too old, lacking the process-related APIs.

Sure :)

(base) vale@debianace:~$ gpustat --debug
debianace            Tue May 24 09:21:01 2022  390.144
[0] GeForce GT 650M  | 47'C,  ?? % |     0 /  1999 MB | (Not Supported)
(base) vale@debianace:~$ 

@wookayin
Copy link
Owner

Oh sorry, I forgot the debug feature were added in the dev (unreleased) version. It would be appreciated if you can install the dev version (pip install --force-reinstall git+https://github.com/wookayin/gpustat) and try again.

@git2013vb
Copy link
Author

No problem. But I prefer do not use pip for installing it. (I have anaconda installed)
So in alternative I downloaded the source code and I run python ./setup.py bdist. Then I extract the .gz then I run it from the folder where the compiled file was

(base) vale@debianace:~/Downloads/apps/nvidia/gpustat-master/dist/home/vale/anaconda3/bin$ ./gpustat  --debug
debianace            Tue May 24 12:57:21 2022  390.144
[0] GeForce GT 650M  | 49'C,  ?? % |     0 /  1999 MB | (Not Supported)
(base) vale@debianace:~/Downloads/apps/nvidia/gpustat-master/dist/home/vale/anaconda3/bin$ 

I got it right anyway?

@wookayin
Copy link
Owner

wookayin commented May 24, 2022

But I prefer do not use pip for installing it. (I have anaconda installed)

Using pip inside anaconda is perfectly fine and has absolutely no problems. Make sure pip refers to the one in your anaconda bin path.

I'm pretty sure you didn't do the installation correctly. setup.py bdist does not install the package. You'll need to do pip install -e or python setup.py develop.

Or If you have cloned or downloaded the project, you can simply run python -m gpustat --debug.

Please verify your steps are correct by checking gpustat -v (should say 1.0.0.dev2)

@xk-huang

This comment was marked as off-topic.

@wookayin
Copy link
Owner

wookayin commented Jul 4, 2022

Let me close this issue due to lack of activity. I believe this is because your graphics driver is too old, so please try upgrading the nvidia driver if possible. If you still have the problem, please inform us the following and I will reopen the issue:

  • Your installed nvidia-driver version (390.144)
  • The name/model of your nvidia graphics card (e.g. GT 650M)
  • gpustat version (Please try the latest HEAD version and --debug option as requested above)
  • The version of pynvml installed: e.g.,pip freeze | grep nvidia
  • The full output of nvidia-smi

@wookayin wookayin closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2022
@git2013vb
Copy link
Author

Let me close this issue due to lack of activity. I believe this is because your graphics driver is too old, so please try upgrading the nvidia driver if possible. If you still have the problem, please inform us the following and I will reopen the issue:

* Your installed nvidia-driver version (390.144)

* The name/model of your nvidia graphics card (e.g. GT 650M)

* gpustat version  (Please try the latest HEAD version and `--debug` option as requested above)

* The version of `pynvml` installed: e.g.,`pip freeze | grep nvidia`

* The full output of `nvidia-smi`

Sorry for the delay :) I post all info I can for completion:

gpustat 0.6.0
(base) vale@debianace:~$ nvidia-smi
Sat Sep  3 04:00:21 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.151                Driver Version: 390.151                   |
|-------------------------------+----------------------+----------------------+
| 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 GT 650M     Off  | 00000000:01:00.0 N/A |                  N/A |
| N/A   40C    P8    N/A /  N/A |   1166MiB /  1999MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0                    Not Supported                                       |
+-----------------------------------------------------------------------------+
(base) vale@debianace:~$ 

(base) vale@debianace:~$ pip freeze | grep nvidia
nvidia-ml-py3 @ file:///tmp/build/80754af9/nvidia-ml_1621428042568/work

My current driver is 390.151

I cannot update the latest NVIDIA driver because my card is not supported by them anymore, Nevertheless I can use it flawless (I tested I can run pvkrun, optirun and primusrun at same time with no problems)

I guess I don't have yet the latest gpustat version installed. it's mandatory or my info here are enough? (Its not a urgent matter to me so you can answer when you have time )

Thanks

@wookayin
Copy link
Owner

gpustat 1.0.0+ supports driver version 450.00 or higher. gpustat 0.6.0 would work with R390.151, but there might be some bugs.

You can try gpustat --debug to get more information about errors with the v1.0.0 version, but my understanding is that the graphics card (GT 650M) is too old so it does not support listing running processes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants