gpumeter

Power Meter for NVIDIA GPUs


Install
pip install gpumeter==1.0.3

Documentation

GPU Meter

Power Consumption Meter for NVIDIA GPUs.

Installation

pip3 install gpumeter

Usage

# Import the Meter
from gpumeter import Meter

# Initialize with Interval (Seconds)
m = Meter(20) # Get power status per 20 secons.

# Stop after you have run a time-consuming task.
m.stop()

# It will output:
> Total Consumed: 8047.28 Wh
> Your Badge is Ready! See https://img.shields.io/badge/Power%20Consumption-8047.28%20Wh-green