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

Patch nvinfo to support varying output from nvidia-smi #482

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

qrmt
Copy link

@qrmt qrmt commented Jul 13, 2020

nvinfo-script failed on some machines due to the unexpected format of nvidia-smi command output.
This is fixed in this commit by:
-including more lines from the nvidia-smi command output
-including only lines that contain 'MiB' to make the script overall more reliable and not relying on hardcoded indexes.

-Including more lines from the nvidia-smi command output

-Including only lines that contain 'MiB' to make it more reliable
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

Successfully merging this pull request may close these issues.

2 participants