Do you know...
Do you know...
~ 0.001-0.01 kWh / query[1]
10W lamp turned on for one hour !
[1] https://limited.systems/articles/google-search-vs-chatgpt-emissions/
Do you also know...
[shrug.jpg]
Coignion Tristan, Quinton Clément, Rouvoy Romain
GT GL-IA 2025 - Rennes
Find the paper online :
AI is everywhere
AI is everywhere
Sends and receives
generation requests
Inference Server in a datacenter somewhere
Makes code
suggestions
Code assistant
Sends and receives
generation requests
Inference Server in a datacenter somewhere
Makes code
suggestions
Code assistant
This is where we want to measure !
Phase 1 : Build a dataset of development traces
Phase 2 : Use this dataset to simulate the usage of GitHub Copilot and measure the consumption of the inferences
generation requests
Normal GitHub Copilot's inference server
Makes code
suggestions
Code assistant
GitHub's
telemetry server
telemetry data
20 participants
developing for one hour
generation requests
Normal GitHub Copilot's inference server
Makes code
suggestions
Code assistant
GitHub's
telemetry server
telemetry data
20 participants
developing for one hour
generation requests
Normal GitHub Copilot's inference server
Makes code
suggestions
Code assistant
telemetry data
20 participants
developing for one hour
GitHub's
telemetry server
Our telemetry server
generation requests
Normal GitHub Copilot's inference server
Makes code
suggestions
Code assistant
telemetry data
20 participants
developing for one hour
GitHub's
telemetry server
Our telemetry server
Our inference server (hosted on G5K)
Our telemetry server
Code assistant simulator
Simulates GitHub Copilot generation requests
`perf` + `nvidia-smi`
telemetry
data
records energy consumption
generation
requests
* emulation of a manual triggering by the user.
4,896 possible configurations.
829 simulations with 314 unique configurations
Before the results...
Less generation requests == Less energy consumed
The least you use GitHub Copilot, the lower you energy consumption is.
Depending on users, between 2 and 20 requests per minute.
Average of 9 requests per minute
Students accepted more often the suggestions from GitHub Copilot than the professional developers
Final state of suggestions made by GitHub Copilot.
Final state of suggestions made by GitHub Copilot.
* and sometimes because they were simply bad
Automatic suggestions can lead to a great waste of computing power.
Saturation point
Energy usage of the whole server and by developer, and latency of the requests depending on the number of concurrent developers
Impact on the energy consumption of switching from one configuration to another
(e.g. adding a GPU, or using another LLM)
Impact on the energy consumption of switching from one configuration to another
(e.g. adding a GPU, or using another LLM)
Impact on the energy consumption of switching from one configuration to another
(e.g. adding a GPU, or using another LLM)
Impact on the energy consumption of switching from one configuration to another
(e.g. adding a GPU, or using another LLM)
Impact on the energy consumption of switching from one configuration to another
(e.g. adding a GPU, or using another LLM)
Impact on the latency of the requests of switching from one configuration to another
Average consumption of one developer :
Average consumption of one developer :
Users of GitHub Copilot = 28.7 millions developers[1] x 41%[2]
[1] https://www.statista.com/statistics/627312/worldwide-developer-population/
[2] 2024 Stack Overflow Developer Survey
= 11.77 million users
Users of GitHub Copilot = 28.7 millions developers[1] x 41%[2]
[1] https://www.statista.com/statistics/627312/worldwide-developer-population/
[2] 2024 Stack Overflow Developer Survey
= 11.77 million users
Users of GitHub Copilot = 28.7 millions developers[1] x 41%[2]
[1] https://www.statista.com/statistics/627312/worldwide-developer-population/
[2] 2024 Stack Overflow Developer Survey
= 11.77 million users
25% x
[1] https://www.edf.fr/groupe-edf/comprendre/production/nucleaire/nucleaire-en-chiffres
25% x
[1] https://www.edf.fr/groupe-edf/comprendre/production/nucleaire/nucleaire-en-chiffres
Code assistant providers
Code assistant providers
Users
Code assistant providers
Users
Researchers