Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gputil Failed to initialize NVML: Unknown Error #420

Open
pawan9 opened this issue Jan 28, 2022 · 1 comment
Open

Gputil Failed to initialize NVML: Unknown Error #420

pawan9 opened this issue Jan 28, 2022 · 1 comment

Comments

@pawan9
Copy link

pawan9 commented Jan 28, 2022

I have a program which returns system stats using psutil and gputil it works fine when used directly by throws error in gputil module when this program is used through websocked

Fri, 28 Jan 2022 11:12:56 +0530 | ERROR  | stderr     | url:'http://127.0.0.1:8191/' id:'1643348570609608500' remote:'127.0.0.1' command:'Z:\systemmonitor\system-monitor.exe' origin:'file://' pid:'15752' |   File "GPUtil\GPUtil.py", line 102, in getGPUs
Fri, 28 Jan 2022 11:12:56 +0530 | ERROR  | stderr     | url:'http://127.0.0.1:8191/' id:'1643348570609608500' remote:'127.0.0.1' command:'Z:\systemmonitor\system-monitor.exe' origin:'file://' pid:'15752' | ValueError: invalid literal for int() with base 10: 'Failed to initialize NVML: Unknown Error'

Here is the exe. Send system_details to its STDIN after running it.

@ghost
Copy link

ghost commented Mar 3, 2023

Facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant