Software to measure the footprints of deep learning models at training, testing and evaluating to reduce energy consumption and carbon footprints.
import greenops as goAnd you can use greenops right now.
To begin a new a measuremenet simply type
measure = go.Measure()There are two main approaches to make measurements.
- You can use
measure.start()andmeasure.stop(). - You can use
measure.update().
measure.start()
# Your code to measure
measure.stop()or
while condition:
measure.update()
# Your code to measureBoth start() , stop() and upgrade() accepts a stage_name parameter. You can manage different stages concurrently.
Instead of Measure you can use advanced.ThreadMeasure or torchmeasure.TorchMeasure as well.
Coming soon.