Code Monkey home page Code Monkey logo

Comments (6)

wookayin avatar wookayin commented on May 18, 2024 2

It looks that nvidia-smi cannot retrieve some usage information of older GPU cards such as GT 610 and GTX 780. I fixed the issue in 902f9cd.

Please try with the latest master version, or you can install it directly via pip+git:

pip install git+https://github.com/wookayin/gpustat.git@master

from gpustat.

R0flcopt3r avatar R0flcopt3r commented on May 18, 2024

Same issue here.

Ubuntu 16.04
nvidia 361.42

from gpustat.

wookayin avatar wookayin commented on May 18, 2024

@weiweikong @R0flcopt3r Hi, thanks for the report.
It looks that nvidia-smi returns [Not Supported] for process ID in some cases.
Could you please report the result of the following commands when the problem occurs?

$ nvidia-smi --query-gpu=index,uuid,name,temperature.gpu,utilization.gpu,memory.used,memory.total --format=csv,noheader,nounits
$ nvidia-smi --query-compute-apps=gpu_uuid,pid,used_memory --format=csv,noheader,nounits

from gpustat.

R0flcopt3r avatar R0flcopt3r commented on May 18, 2024

> nvidia-smi --query-compute-apps=gpu_uuid,pid,used_memory --format=csv,noheader,nounits GPU-97055bae-db68-136e-6729-49ac3c3fec08, [Not Supported], [Not Supported]

> nvidia-smi --query-gpu=index,uuid,name,temperature.gpu,utilization.gpu,memory.used,memory.total --format=csv,noheader,nounits
0, GPU-97055bae-db68-136e-6729-49ac3c3fec08, GeForce GTX 780, 55, [Not Supported], 339, 3068

from gpustat.

weiweikong avatar weiweikong commented on May 18, 2024

@wookayin

07:47:19 $ nvidia-smi --query-gpu=index,uuid,name,temperature.gpu,utilization.gpu,memory.used,memory.total --format=csv,noheader,nounits
0, GPU-f177935b-3adb-ea65-559a-1f25b780296e, Tesla K40c, 44, 0, 23, 11519
1, GPU-806fd873-9f2a-1ded-e880-1977ce85632d, GeForce GT 610, 41, [Not Supported], 446, 1016
2, GPU-5428f7cf-1463-8546-7cb3-58ad7332aaca, Tesla K40c, 47, 0, 23, 11519
07:48:26 $ nvidia-smi --query-compute-apps=gpu_uuid,pid,used_memory --format=csv,noheader,nounits
GPU-806fd873-9f2a-1ded-e880-1977ce85632d, [Not Supported], [Not Supported]

some [Not Supported] appears. It seems that the nvidia-smi dose not return the value which gpustat needed.

from gpustat.

weiweikong avatar weiweikong commented on May 18, 2024

@wookayin
It works fine. :)

~  Mon Nov  7 17:21:40 2016
[0] Tesla K40c       | 44'C,   0 % |    23 / 11519 MB |
[1] GeForce GT 610   | 41'C,  ?? % |   397 /  1016 MB | --/--(?M)
[2] Tesla K40c       | 46'C,   0 % |    23 / 11519 MB |

from gpustat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.