-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Environmental impact of ChRIS and ChRIS plugins #13
Comments
Hello @jennydaman I am an outreachy applicant. I want to work on this issue. |
@FaithKovi I'm excited to hear your ideas, please be in touch! |
Sure @jennydaman |
Tracking Carbon Emissions Using CodeCarbonCodeCarbon is a tool that measures your carbon footprint. It comes as a lightweight pip package that can seamlessly integrate with Chris because of its python codebase Factors that have an impact on the rate of transmission of carbon.Grid energy mix: The combination of different energy sources that generates electricity from the grid the hardware infrastructure is connected to causes variation in average emissions in a single region. To limit environmental impact, choose cloud server regions with low emissions. How does CodeCarbon work?The amount of power used by underlying infrastructure from cloud providers and on-premise data centers is recorded. It refers to the carbon intensity of the grid energy mix the hardware is connected to estimate the amount of C02 emissions produced. This tool has a dashboard showing the difference in the current emissions and when cloud infrastructure is hosted in different regions. How to reduce Chris's Carbon FootprintChoosing efficient model training practices(developers can fine-tune pre-trained models rather than doing it from scratch) There are 3 different ways to use codecarbon:
Installation of codecarbon - https://github.com/mlco2/codecarbon ERROR ENCOUNTERED: When installing the scripts, they might be installed in a location that is not in path. Ensure to look out for this warning and add that location to path. Code carbon supports both offline and online modes. To answer your question on where in the architecture this can be implemented, based on my research on how codecarbon is implemented/used it is implemented where GPU-intensive training codes sit. TRY OUT: I tried creating a codecarbon plugin using the Chris plugin template( https://github.com/FNNDSC/python-chrisapp-template ). I got stuck on how to check if the plugin actually works or if it there are steps I missed. Questions
Referenceshttps://medium.com/bcggamma/ai-computing-emits-co%E2%82%82-we-started-measuring-how-much-807dec8c35e3 |
This issue is not really related to miniChRIS, but is put here for consolidation with other issues with the "observability" label.
It would be cool if we could somehow measure the environmental impact of ChRIS and ChRIS plugins. I got this idea while talking to members of OHBM SEA-SIG at OHBM BrainHack 2022.
Big data and cloud computing has a negative environmental impact. The easiest aspect of this to quantify would be the estimated "carbon emissions" caused by the energy used by computers.
https://codecarbon.io/ is a method to measure to estimate carbon emissions caused by Python programs. It might be useful.
Where in the architecture can we implement this? Ideally, we would do it at the level of the container runtime (runc, crun, apptainer) and then have this data be sent to CUBE. ChRIS_ui could display the information and guilt-trip the user, like how Google Flights does:
A much easier but unscalable proof-of-concept would be to create a ChRIS plugin that uses codecarbon.
The text was updated successfully, but these errors were encountered: