Device ``gpu_info`` corner case failure
Found that some machines under certain conditions will have a "No running processes found" phrase within the processes segment of the terminal report. The if-statement here could use an elif
that checks the line.strip("| ")
starts with that phrase. A more forward-looking setup would involve defining a global property list or set that defines all phrases that we would like to skip in this step in case we discover more exceptional lines/phrases in the future.
Going forward, it may be better to, instead of manually parsing the human-formatted console output, use a utility library that provides a programatic interface to this introspection or to use the nvidia-smi --format=csv,noheader -query-...
CSV output if we can determine an appropriate query format.