Python utilities for the NVIDIA Management Library
Deprecated. Its authors have deprecated it and no longer maintain it.
Consider insteadnvidia-ml-pyPythie’s Index: 8416.6M downloads/moCompare →
pip install pynvml[!WARNING]
This project has been deprecated.
The
pynvmlmodule is NOT developed or maintained in this project!This project provides unofficial NVML Python utilities (i.e. the
pynvml_utilsmodule). Thepynvml_utilsmodule is intended for demonstration purposes only. There is no guarantee for long-term maintenence or support.The
pynvml_utilsmodule depends on the official NVML bindings published by NVIDIA under a differentnvidia-ml-pyproject (see: https://pypi.org/project/nvidia-ml-py/).
Python utilities for the NVIDIA Management Library
This project provides unofficial Python utilities for the NVIDIA Management Library (NVML).
For information about the NVML library, see the NVML developer page http://developer.nvidia.com/nvidia-management-library-nvml
Requires
nvidia-ml-py.
Installation
pip install .
Usage
Bindings for the high-level nvidia-smi API are available
in pynvml_utils.nvidia_smi:
[!WARNING] The
nvidia_smimodule is intended for demonstration purposes only. There is no guarantee for long-term maintenence or support.
from pynvml_utils import nvidia_smi
nvsmi = nvidia_smi.getInstance()
nvsmi.DeviceQuery('memory.free, memory.total')
from pynvml_utils import nvidia_smi
nvsmi = nvidia_smi.getInstance()
print(nvsmi.DeviceQuery('--help-query-gpu'), end='\n')
Release Notes
- Version 13.0.1
- Both pynvml and pynvml_utils are now deprecated.
- Pin to nvidia-ml-py>=12.0.0
Old Releases
- Version 2.285.0
- Added new functions for NVML 2.285. See NVML documentation for more information.
- Ported to support Python 3.0 and Python 2.0 syntax.
- Added nvidia_smi.py tool as a sample app.
- Version 3.295.0
- Added new functions for NVML 3.295. See NVML documentation for more information.
- Updated nvidia_smi.py tool