Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 399 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 399 Bytes

PowerWatcher

Python3 context manager to log power consumption of an ML-pipeline running on a Nvidia-GPU.

Installation

pip install power-consumption

Usage

from power_watcher import PowerWatcher


with PowerWatcher() as pw:
    ...
    your pipeline
    ...

total_consumption = pw.total  # total power consumption

Repo

https://github.com/WGussev/PowerWatcher