Comments (12)
PyPI has been updated with v3.8.3 which addresses this issue. Please check it out and let me know of any issues.
I can confirm that this appears to have fixed issues on my host. Thank you!
from gpu-utils.
This should be fixed in the version under development now. Can you clone the repository and test it out?
from gpu-utils.
This should be fixed in the version under development now. Can you clone the repository and test it out?
Trying now but having issues installing vext. May be because Im running python3.11.2? (my python skills are negligible)
from gpu-utils.
vext may not be needed. I have discovered that GtK seems to only work with the Native python version.
I have added a pip package. This will not require setting up a venv:
pip test package
Make sure all of gpu-utils packages are uninstalled.
from gpu-utils.
Error:
Fatal error from pip prevented installation. Full pip output in file:
/home/<domain>/<user>/.local/pipx/logs/cmd_2023-10-10_06.49.47_pip_errors.log
Some possibly relevant errors from pip install:
ERROR: Could not find a version that satisfies the requirement rickslab-gpu-utils-3-8-3-py3-none-any-whl (from versions: none)
ERROR: No matching distribution found for rickslab-gpu-utils-3-8-3-py3-none-any-whl
Error installing rickslab-gpu-utils-3-8-3-py3-none-any-whl.
Again, fully accept I may be python'ing wrong haha :/
from gpu-utils.
I have just installed it on one of my systems with no issues. It is running Ubuntu 22.04.3 LTS.
Make sure all other rickslab-gpu-utils packages are removed. Once the whl package is downloaded, in stall with the following command:
pip install rickslab_gpu_utils-3.8.3-py3-none-any.whl
Maybe you have an old version of pip which can be upgraded with the following command:
python3 -m pip install --upgrade pip
If you are on an old distro, you may need to run pip3 instead of pip.
from gpu-utils.
Sorry for the delay, Internet went out for 24 hours (seriously).
Unfortunately, I may not be the man to assist with this as I clearly can't pip correctly.
I did ensure all other gpu_utils are uninstalled and I did upgrade pip. Further, I 'su user.root -c "sudo -S rm -v /usr/lib/python3.11/EXTERNALLY-MANAGED"'
so that I could install outside of the envelope. I still got:
$ pip install /home/domain.local/user/rickslab_gpu_utils-3.8.3-py3-none-any.whl
Defaulting to user installation because normal site-packages is not writeable
Processing ./rickslab_gpu_utils-3.8.3-py3-none-any.whl
ERROR: Wheel 'rickslab-gpu-utils' located at /home/domain.local/user/rickslab_gpu_utils-3.8.3-py3-none-any.whl is invalid.
from gpu-utils.
I had the same issue invalid literal for int() with base 10
as mentioned in the opening post, running Debian 12, using version 3.8.0 from the Debian repository.
0xfffd7fff
enabled write access and most functions, but no access to gpu-pac.
0xfff7ffff
as returned by my system did not enable write access, also no access to gpu-pac.
I cloned the repository and created the venv, though installing the requirements pip3 install --no-cache-dir -r requirements-venv.txt
I managed to recreate the errors for vext. The software then runs fine, but gpu-pac
and some other commands require vext.
What fixed it for me was installing the replacement as written in the error message inside the venv pip3 install --no-cache-dir --use-pep517 vext
. Installation of vext-gi goes fine afterwards. Also had to install numpy system-wide afterwards. gpu-pac
now works with featuremask 0xfff7ffff
.
Running python3.11 here. I have not touched the test package.
from gpu-utils.
Thanks for confirming that the current version on GitHub solves the original problem. I plan to finish testing and release a package to PyPI this weekend. I hope @seapoup and @SysAdminSmith can check it out when available. I will update here when it is released. Afterward, I will update the repository install instructions with your findings. I would like to verify if the --use-pep517
causes any other issues.
from gpu-utils.
PyPI has been updated with v3.8.3 which addresses this issue. Please check it out and let me know of any issues.
from gpu-utils.
PyPI has been updated with v3.8.3 which addresses this issue. Please check it out and let me know of any issues.
I can confirm that this appears to have fixed issues on my host. Thank you!
I can confirm that it the PyPi package works here as well.
It works out of the box by breaking system packages: python3 -m pip install rickslab-gpu-utils --break-system-packages
If pipx is used, it complains about missing gi
. python3 -m pipx install rickslab-gpu-utils
, after which gi
is not installed, despite it (and cairo
) being installed system wide python3-gi is already the newest version (3.42.2-3+b1)
. I have not managed to make it work in pipx with my very limited Python knowledge.
from gpu-utils.
Issue fixed in v3.8.4 released to PyPI and debian package at rickslab.com.
from gpu-utils.
Related Issues (20)
- 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
- VRAM and GTT memory usage reported as None HOT 5
- Q: had it been tested w/ latest Debian bpo Kernel? HOT 14
- PermissionError: [Errno 1] Operation not permitted HOT 9
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.