pyNVML
Python bindings to the NVIDIA Management Library
Provides a Python interface to GPU management and monitoring functions.
This is a wrapper around the NVML library. For information about the
NVML library, see the NVML developer page
http://developer.nvidia.com/nvidia-management-library-nvml
Download the latest package from:
http://pypi.python.org/pypi/nvidia-ml-py/
The nvml header file contains function documentation that is relevant to
this wrapper. The header file is distributed with.
https://developer.nvidia.com/gpu-deployment-kit
The main difference is this library handles allocating structs and
passing pointers to the functions, before returning the desired value.
Non-success return codes are raised as exceptions as described in the
section below.