-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the handling of non-existent PID to be more robust
Since it'd better to not ignore CalledProcessError on calling ps, we let it exit with a non-zero return code in the corner cases in which nvidia-smi might return non-existent process PID. For details, see #12.
- Loading branch information
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters