Generating Energy-efficient code with LLMs
15 Nov · Tom Cappendijk, Pepijn de Reus, Ana Oprescu · arXiv:2411.10599
The increasing electricity demands of personal computers, communication networks, and data centers contribute to higher atmospheric greenhouse gas emissions, which in turn lead to global warming and climate change. Therefore the energy consumption of code must be minimized. Code can be generated by large language models. We look at the influence of prompt modification on the energy consumption of the code generated.…