Comments (6)
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.
Same issue here.
Ubuntu 16.04
nvidia 361.42
from gpustat.
@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.
> 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.
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.
@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)
- Some low-level errors (like `pynvml.nvml.NVMLError_LibRmVersionMismatch`) result in nothing printed (std or diagnostic) HOT 1
- UserWarning: Failed to setupterm(kind='xterm'): setupterm: could not find terminfo database HOT 1
- Support anaconda's legacy pynvml package HOT 7
- How to obtain RPM value for the fans ? HOT 2
- Plugin Architecture
- module 'pynvml' has no attribute '_nvmlGetFunctionPointer' HOT 17
- Truncate the "command" when use "-f" HOT 1
- ModuleNotFoundError: No module named '_curses' HOT 2
- ModuleNotFoundError: No module named '_curses' HOT 2
- Process not displayed HOT 3
- make appimage format or binary file οΌit can run everywhere HOT 1
- make appimage format HOT 1
- Error on querying NVIDIA devices | OverflowError: Python int too large to convert to C long HOT 9
- gpustat reports only the first program on nv driver 535 HOT 4
- Include GDDR6(X) VRAM temperatures HOT 2
- Show CUDA Driver Version in the output HOT 2
- Enhance gpustat to Display Latest CUDA Version Compatible with Current NVIDIA Driver HOT 4
- Even more compact (single-line) output for statusline use HOT 2
- Misreported used memory with the driver 535.129.03 HOT 3
- /usr/bin/gpustat:6: DeprecationWarning: pkg_resources is deprecated as an API. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpustat.