Skip to main content

Measuring the footprints of deep learning models at training, testing and evaluating to reduce energy consumption and carbon footprints

Project description

greenops

Software to measure the footprints of deep learning models at training, testing and evaluating to reduce energy consumption and carbon footprints.

How to use

import greenops as go

And you can use greenops right now.

To begin a new a measurement simply type

measure = go.Measure()

There are two main approaches to make measurements.

  1. You can use measure.start() and measure.stop() .
  2. You can use measure.update().
measure.start()

# Your code to measure

measure.stop()

or

while condition:

  measure.update()

  # Your code to measure

Both start() , stop() and upgrade() accepts a stage_name parameter. You can manage different stages concurrently.

Go advanced

Instead of Measure you can use advanced.ThreadMeasure or torchmeasure.TorchMeasure as well.

More details

Coming soon.

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

greenops-0.1.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

greenops-0.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file greenops-0.1.0.tar.gz.

File metadata

  • Download URL: greenops-0.1.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

File hashes

Hashes for greenops-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7e36a0580ae55e216ae3c187ed8b3ae528cfd4d5900857e76e5feef8ef18c4a8
MD5 0b4ec1dcad0cdf1e8d263052b088689f
BLAKE2b-256 cd37469dfac41d10ed363b6876a54e5786f9e16be8ae24778da1c05b78aeacfb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: greenops-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

File hashes

Hashes for greenops-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71632902ba2830c71ea49c0700d0b8da2053263fdfb68353000c46beedc23a03
MD5 394253e005dc9c72763d81c2863dabde
BLAKE2b-256 da4b11635b882ac735eade9e3ada0512579d5b98194c37d181392bee15adb20f

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