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

nvidia block: don't crash when gpu is disabled #846

Merged
merged 1 commit into from
Oct 10, 2020

Conversation

ammgws
Copy link
Collaborator

@ammgws ammgws commented Oct 7, 2020

Resolves #826 (hopefully)

Also de-duplicated code / reduced the number of times nvidia-smi itself is called.
@ammgws
Copy link
Collaborator Author

ammgws commented Oct 10, 2020

Can confirm it works as intended after testing with a mock nvidia-smi script.

@ammgws ammgws merged commit a519c9b into greshake:master Oct 10, 2020
@ammgws ammgws deleted the nvidiastatus branch October 10, 2020 07:37
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.

nvidia_gpu block: hybrid graphics compability
1 participant