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

Handle nvidia-smi non-zero exit status #55

Open
kler opened this issue Apr 13, 2024 · 0 comments
Open

Handle nvidia-smi non-zero exit status #55

kler opened this issue Apr 13, 2024 · 0 comments

Comments

@kler
Copy link

kler commented Apr 13, 2024

A common error is that nvidia-smi outputs an error instead of the expected data.

Example:

# nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 535.161
# echo $?
18

This needs to be handled in the code.
(Pull request coming up)

kler pushed a commit to kler/gputil that referenced this issue Apr 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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