CodeCarbon: Estimating the carbon footprint of code

Executing powerful algorithms on servers located all around the world can contribute to global warming. — gorodenkoff/

The CodeCarbon project is offering an open-source tool to help developers estimate the CO2 emissions of their algorithms, in the aim of reducing the carbon footprint of computer code. The program takes into account the complexity of computing required to execute the code and the geographical location of the servers used.

CodeCarbon, which estimates the CO2 footprint of executing computer code, was jointly developed by Mila, a world leader in AI research founded by the Canadian researcher and AI expert, Yoshua Bengio, winner of the prestigious Turing Award in 2018.

The tool is aimed primarily at professionals and developers. As well as estimating the carbon footprint of algorithms, CodeCarbon offers advice on how to reduce the carbon emissions of that code. In fact, the carbon footprint depends on the efficiency of the code to be executed and the location of the infrastructure used to do that.

Training a powerful machine-learning algorithm can, for example, mean running multiple computing machines for days or weeks, which contributes, on a certain scale, to global warming. That's why it is important to look for "clean" and renewable energy sources, even if that means moving infrastructure.

The CodeCarbon project's long-term mission is to show developers how to reduce emissions by optimising their code. Companies and organisations can also be advised on less energy intensive solutions if necessary.

More about CodeCarbon:

– AFP Relaxnews

Article type: metered
User Type: anonymous web
User Status:
Campaign ID: 18
Cxense type: free
User access status: 3

Carbon footprint


Did you find this article insightful?


Next In Tech News

WhatsApp tests password protection for cloud-based chat backups
Fake news makes Czechs vaccine-wary despite Covid crisis
Alphabet’s Waymo says its tech would avoid fatal human crashes
Scammers using fake KFC Women’s Day survey to steal personal data
Microsoft server hack has victims hustling to stop intruders
Zoom founder Eric Yuan transfers RM24.72bil worth of shares
Facebook tests feature in India to share Instagram reels on its news feed
San Francisco home to Dropbox sold for RM4.44bil
Instagram to integrate Reels into Facebook social network
Twitter sues Texas AG, claiming retaliation for Trump ban

Stories You'll Enjoy