sb-ai-lab/Eco2AI
eco2AI is a python library which accumulates statistics about power consumption and CO2 emission during running code.
Monitors CPU and GPU power consumption in real-time, converting energy metrics to CO2 emissions using region-specific electricity grids (or global average if location is unavailable). Offers minimal-friction integration through simple context managers or decorators, with persistent session logging that captures device specs, runtime, and environmental parameters. Persists configuration settings across tracker instances and outputs all metrics to a local CSV file for downstream analysis.
270 stars and 1,023 monthly downloads. Used by 1 other package. No commits in the last 6 months. Available on PyPI.
Stars
270
Forks
23
Language
Python
License
Apache-2.0
Category
Last pushed
Mar 10, 2025
Monthly downloads
1,023
Commits (30d)
0
Dependencies
9
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/sb-ai-lab/Eco2AI"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related frameworks
FlexMeasures/flexmeasures
The intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly...
ml-energy/zeus
Measure and optimize the energy consumption of your AI applications!
pyaf/load_forecasting
Forecasting electric power load of Delhi using ARIMA, RNN, LSTM, and GRU models
FateMurphy/CEEMDAN_LSTM
CEEMDAN_LSTM is a Python project for decomposition-integration forecasting models based on EMD...
saizk/Deep-Learning-for-Solar-Panel-Recognition
CNN models for Solar Panel Detection and Segmentation in Aerial Images.