Skip to main content

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

Project description

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

PyPI

https://pypi.org/project/power-watcher/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

power-watcher-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

power_watcher-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file power-watcher-0.1.1.tar.gz.

File metadata

  • Download URL: power-watcher-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for power-watcher-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2e878f8aef64aaf8d07b9c5effe060b896b00d218946df5056355943163786af
MD5 493d9c6edaf2e335011b283de3d2fa69
BLAKE2b-256 62543896b9d322eda34603b8778c0bbe42aa8a33001a4cabbbab485e049bbbd0

See more details on using hashes here.

File details

Details for the file power_watcher-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: power_watcher-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for power_watcher-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41d42494f928cd4c350434d4e661115ea31d309ee19faaa9d575fa6a18563468
MD5 06d247e98f710347bcbd587d29b53abd
BLAKE2b-256 e93fefa37bb0a17acfecf21b6d265bf3473b5e4649ab93063624ecc02934a83a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page