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

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.0.tar.gz (2.7 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.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: power-watcher-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.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.0.tar.gz
Algorithm Hash digest
SHA256 60a5d516d1c12309cb1223bfe8eb32e02297cc7c2c7f8d5f0adbbffdd3374fd8
MD5 fc4a5fb34cc0edc631e8c7b161e4f4ad
BLAKE2b-256 5ba241fe3fc1b716e7656b870eb380cd27607ab24118b5379ae754deb054e0d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: power_watcher-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 961f380b836af247a420c9b71a48f54bc34d51fe320a3d353a0f2e0cd588f790
MD5 c50897e99fb48ee0a683dace5a4d0d01
BLAKE2b-256 16776a23b2272c512304421e5e50a3c0414edbd69f0ee76f280cb83456cae928

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