An utility to monitor NVIDIA GPU status and usage
pip install gpustatgpustat
Just less than nvidia-smi?

NOTE: This works with NVIDIA Graphics Devices only, no AMD support as of now. Contributions are welcome!
Self-Promotion: A web interface of gpustat is available (in alpha)! Check out gpustat-web.
Quick Installation
Install from PyPI:
pip install gpustat
If you don't have root (sudo) privilege, please try installing gpustat on user namespace: pip install --user gpustat.
To install the latest version (master branch) via pip:
pip install git+https://github.com/wookayin/gpustat.git@master
NVIDIA Driver Requirements
gpustat uses NVIDIA's official python bindings for NVML library (pynvml). As of now gpustat requires nvidia-ml-py >= 11.450.129, which is compatible with NVIDIA driver versions R450.00 or higher. Please upgrade the NVIDIA driver if gpustat fails to display process information. If your NVIDIA driver is too old, you can use older gpustat versions (pip install gpustat<1.0). See #107 for more details.
Python requirements
- gpustat<1.0: Compatible with python 2.7 and >=3.4
- gpustat 1.0: Python >= 3.4
- gpustat 1.1: Python >= 3.6
Usage
$ gpustat