Comments (3)
thank you very much,
what i did is simply use the github version and it worked.
however, for completeness' sake - i actually figured out that adding nvidia-smi to path was the problem however i guess i don't know enough because i tried going to "user variables" and "system variables" and to both of them i added:
variable: nvidia-smi
value: C:\Program Files\NVIDIA Corporation\NVSMI (path to the nvidia-smi.exe)
however that didn't work with the pip version.
should i have done something else in my environment variables window?
from gputil.
Are you using the version on pip or are you using the latest version here on github? The version here in github is a few features ahead of pip.
The issue is caused by nvidia-smi not being in your environment variable "path". This should be corrected in the current version here on Github, but not on pip.
To solve the problem, you can either download the code here or add the folder with nvidia-smi to your environment variable "path".
The issue have been previously discussed. You can have a look at the original issue and the pull request solving it.
Hopefully, I will get time to push the newest version to pip before Christmas :-)
from gputil.
@davidkarl The pip version have been quite a bit behind the github version in terms of features. I have simply been too slow to push the new features/fixes to pip.
However, I have tagged and released a new version (v1.4.0) and uploaded it to pip.
W.r.t. your issue with the environment variables, you should add C:\Program Files\NVIDIA Corporation\NVSMI
to the variable called PATH
. But that should no longer be required with the latest version on pip (and github).
I will be closing this issue for now. If the problem still remains, feel free to comment on this issue, and I will reopen it.
from gputil.
Related Issues (20)
- GPUtil CPU Usage HOT 5
- nvidia-smi comes with NVIDIA drivers, and not CUDA HOT 1
- Mixing up GPU names on slowest first GPU bus ID HOT 4
- Wrong kw parameter name used in README.md HOT 1
- Crashing if nvidia-smi fails HOT 3
- GPUtil.showUtilization does not work for individual attrList HOT 3
- ImportError: No module named GPUtil HOT 4
- getFirstAvailable(maxMemory=0.9) inconsistent with showUtilization() HOT 1
- Get GPUs that are not used by any other user
- GPU memoryUsage per Process
- Is it possible to get the CUDA version? HOT 1
- Add Kubernetes support through device plugins
- Unable to find GPU on Windows HOT 11
- Request: Add all query information from nvidia-smi
- ValueError when nvidia-smi finds no GPU
- Over 60 times slower than nvidia-smi to asses resource usage
- GPUtil doesn't find GPU HOT 1
- showUtilization causes GPU stuttering
- ValueError: invalid literal for int() with base 10: 'No devices were found' HOT 1
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 gputil.