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.

Files for greenops, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size greenops-0.1.0.tar.gz (18.4 kB) File type Source Python version None Upload date Hashes View
Filename, size greenops-0.1.0-py3-none-any.whl (23.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page