Skip to content

autoai-incubator/powermeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 seconds.

# Stop after the time-consuming task finished.
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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages