Skip to content

BMPixel/gpuwidget

Repository files navigation

gpuwidget

Python 3.7+ License PyPI version

gpuwidget is a compact, simple GPU monitor living in your jupyter notebook.

Quickstart

In your jupyter notebook, run following code in a cell to install gpuwidget and run it.

%pip install gpuwidget
import gpuwidget
gpuwidget.live()

Monitor

Then you are all set. The cell will finish in a few seconds, but the monitor updates itself in the background. gpuwidget works in jupyter notebook (including VSCode and PyCharm) and Google Colab.

Features

  • gpuwidget manages a thread to update itself. You can click Stop Tracking button to stop it or leave it there.
  • When not in jupyter notebook, it prints ascii gpu stats from gpustat.
  • Simple and just works.
  • Only support NVIDIA Graphics Devices, no AMD support as of now.

Changelog

CHANGELOG.md

License

LICENSE