Open
Description
In Line 90:
lines = output.split(os.linesep)
returns ['']
instead of []
when nvidia-smi finds no GPU, which then causes ValueError by the parser.
Suggested update:
lines = list(filter(None, output.split(os.linesep)))
Metadata
Assignees
Labels
No labels