Comments (5)
No issues for me on Ubuntu 20.04.1. Other than the same issue that python3.6 is not installed anymore and has moved on to python3.8. gpu-plot plots my 3 cards normally and the other utilities all work. Nvidia cards though.
from gpu-utils.
Hmmmm.
I'm having a different problem from my remote machine, on which I previously have run gpu-plot over ssh -X. On that system, which has Ubuntu 18.04 and Python 3.6, it does not even launch the plotter window:
(rickslab-gpu-utils-env) craig@linux-GA-MA790X-UD4:~/gpu-utils-master$ ./gpu-chk
Using python 3.6.9
Python version OK.
Using Linux Kernel 5.4.0-42-generic
OS kernel OK.
Using Linux distribution: Ubuntu 18.04.5 LTS
Distro has been Validated.
AMD: amdgpu version: 20.10-1048554
AMD driver OK.
python3 venv is installed
python3-venv OK.
rickslab-gpu-utils-env available
rickslab-gpu-utils-env OK.
In rickslab-gpu-utils-env
rickslab-gpu-utils-env is activated.
(rickslab-gpu-utils-env) craig@linux-GA-MA790X-UD4:~/gpu-utils-master$ ./gpu-plot
Traceback (most recent call last):
File "./gpu-plot", line 75, in <module>
import pandas as pd
File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 58, in <module>
from pandas.io.api import *
File "/usr/lib/python3/dist-packages/pandas/io/api.py", line 19, in <module>
from pandas.io.packers import read_msgpack, to_msgpack
File "/usr/lib/python3/dist-packages/pandas/io/packers.py", line 68, in <module>
from pandas.util._move import (
ValueError: module functions cannot set METH_CLASS or METH_STATIC
from gpu-utils.
I just created a new virtual env on my 18.04 system and installed requirements with no issues. Are you able to run the version from PyPI with pip install?
With 20.04, python3.6 doesn't come as the default. Perhaps a change to the UserGuide would make this more clear.
from gpu-utils.
Can you post your output from pip freeze
while in the activated venv? Here is my output:
(gpu-utils-env) rick@Eos:~/pydev/gpu-utils$ pip freeze
cycler==0.10.0
kiwisolver==1.2.0
matplotlib==3.2.2
numpy==1.19.0
pandas==1.0.5
pkg-resources==0.0.0
pyparsing==2.4.7
python-dateutil==2.8.1
pytz==2020.1
ruamel.yaml==0.16.10
ruamel.yaml.clib==0.2.0
six==1.15.0
vext==0.7.3
vext.gi==0.7.0
from gpu-utils.
Problem solved. Following your suggestion, gpu-plot from a PyPi installation now works on both 18.04 and 20.04, with or without venv. I'm not sure where I went wrong with previous git downloads.
Probably not needed now, but as requested:
(rickslab-gpu-utils-env) craig@craig-Linux2:~/gpu-utils-master$ pip freeze
certifi==2020.6.20
cycler==0.10.0
kiwisolver==1.2.0
matplotlib==3.3.1
numpy==1.19.1
pandas==1.1.1
Pillow==7.2.0
pyparsing==2.4.7
python-dateutil==2.8.1
pytz==2020.1
ruamel.yaml==0.16.12
ruamel.yaml.clib==0.2.2
six==1.15.0
vext==0.7.4
vext.gi==0.7.4
I will work up a pull request for a couple edits to the User Guide.
-edit-
Well, one edit. I see you already covered the Python version issue for venv.
from gpu-utils.
Related Issues (20)
- Wrong GTT% for RX 570 cards
- gpu-pac changes for cards under load HOT 1
- Feature Request: Support values from sysfs gpu_metrics
- index out of bound error HOT 4
- Can not read parameter and list index out of range HOT 5
- Tool doesn't see GPUs when PCI address has multiple domains HOT 9
- Add GDDR6X memory temps to the sensor readouts for Nvidia cards
- unsupported operand type(s) for *: 'float' and 'NoneType' in GPUmodule.py HOT 29
- Ubuntu 22.04 Debian Package - Invalid Icon Path HOT 1
- Warning: apt-key is deprecated in Ubuntu 22.04 HOT 1
- env.py: conversion of hexadecimal to int fails HOT 2
- Wrong vendor for on-board GPU HOT 1
- AMD Ryzen 5 5700G with Cezanne not working HOT 5
- gpu-mon requires gtk modules even when --gui is not used HOT 10
- ValueError: invalid literal for int() with base 10 at GPUmodules.py line 1236 in read_gpu_pstates HOT 10
- RX7900 (gfx11) Cards Fan Control is Not Functional HOT 10
- When using gpu-pac I receive an error HOT 2
- Support for MacOS-X ? HOT 2
- ValueError: invalid literal for int() with base 10: HOT 12
- VRAM and GTT memory usage reported as None HOT 5
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 gpu-utils.