sb-ai-lab / eco2ai Goto Github PK
View Code? Open in Web Editor NEWeco2AI is a python library which accumulates statistics about power consumption and CO2 emission during running code.
License: Apache License 2.0
eco2AI is a python library which accumulates statistics about power consumption and CO2 emission during running code.
License: Apache License 2.0
Hey there!
First of all, thank you for the great effort to make AI emissions more transparent, and for drawing more attention to this important topic! I have been using your tool to track the emissions for (small) language models and have a couple of questions regarding the usage of your tool.
Setup:
I have a cluster system with 4 GPUs (Tesla V100) available. I run my models with the CUDA_VISIBLE_DEVICES=gpu_id prefix in the command line to only use 1 specific GPU for my training.
Problem:
In the output csv, it says that 4 GPUs have been tracked, although I enforce only 1 GPU to be used
Questions:
Thank you very much in advance for your help
Thank you for the helpful package!
A problem I've been having is when I update my environment to use a newer version of pandas, it doesn't allow for higher pandas versions.
Is there any plans to update the package to be compatible with pandas > 2.0?
Hi, i got this error when running the tool (version 0.3.5):
when running top command, it shows me the values with commas:
Desktop
To fix it, i changed line 533 of eco2ai/tools/tools_cpu.py:
from: sum_cpu += float(words[8])
to: sum_cpu += float(words[8].replace(",","."))
Can you add this to the repo? thanks!
Lucía
Hi, we are enjoying using your lib, but we have some problem, that isn't critical.
We have this lib on our linux servers and when user without root trying use this lib, he always has this problem.
The problem is solved by changing the write permissions in the /eco2ai/data/config.txt file to 777
But it would be nice if you changed this in your code, it might be better to create this file in the user's home directory every time.
It's minor problem, but after solving this problem, your lib would be better)
With respect, Mikhail R.
Hello,
I have a couple of questions:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.