-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
4 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .nvml import * | ||
|
||
__version__ = '8.0.0' | ||
__version__ = '8.0.1' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,20 +28,11 @@ | |
|
||
""" | ||
nvidia_smi | ||
[email protected] | ||
Sample code that attempts to reproduce the output of nvidia-smi -q -x | ||
For many cases the output should match. | ||
Each query parameter is documented within nvdia-smi --help-query-gpu | ||
Can be used as a library or a command line script | ||
To Run: | ||
$ python nvidia_smi.py | ||
$ python nvidia_smi.py "--help" | ||
$ python nvidia_smi.py "--help_query_gpu" | ||
$ python nvidia_smi.py "pci.bus_id,memory.total,memory.free" | ||
From Code: | ||
DeviceQuery() | ||
DeviceQuery("--help") | ||
|
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