SlideShare a Scribd company logo
1 of 10
Download to read offline
qaware.de
CO2 Footprint of ChatGPT
Andreas Weber
andreas.weber@qaware.de
2
QAware
3
QAware
CO2 Footprint of ChatGPT
■ GPT-3 [1]
– 175 billion (10^9) parameters
– Training:
• 10 000 * V100 GPU (TDP 300W)
• 14.8 days training
• 1287 MWh
• 550t CO2e (0,429 kg CO2e/kWh)
– Inference [2] (Data for BLOOM, 176 B params)
• 16 * A100 GPU (TDP 400W)
• 18 days, 230,768 requests
• 914 kWh total, 3,96Wh/Request
• 1,56g CO2e / Request (0,394 kg CO2e/kWh)
• Note: Idle times!
4
QAware
[1] https://doi.org/10.48550/arXiv.2104.10350
[2] https://doi.org/10.48550/arXiv.2211.02001
[3] https://medium.com/@chrispointon/the-carbon-footprint-of-chatgpt-e1bc14e4cc2a
– Inference (Estimations from [3])
• 1 * A100 GPU (407W)
• 1 Request = 10,5s (0,35s / word * 30 words)
• 0,38g CO2e/ Request (0,322 kg CO2e/kWh)
• 13 million users per day with 5 requests each
• 24,8t CO2e / day
• Note: Is a single A100 GPU (80GB RAM)
capable of 175 billion parameters?
❭ 4 bit quantization -> 81,5 GB
CO2 Footprint of ChatGPT
5
QAware
[4] https://archive.ph/2RQ8X
■ GPT-4 [4]
– 1.8 trillion (10^12) parameters
– Training
• 25 000 * A100 GPUs (TDP 400W)
• 100 initial days training (after tests) (cost: ~$63 million)
• 24 000 MWh
• 7 728t CO2e (0,322 kg CO2e/kWh)
– Inference
• 8-16 * A100 GPU
• ~10s-15s / request -> 8,89 Wh/ request
• 2,86g CO2e / Request (0,322 kg CO2e/kWh)
CO2 Footprint of a Google Search
■ Google Search incl. indexing effort
– 0.3 Wh / Search [5.1]
– 0.2g CO2e / Search [3] (-> 0,67 kg CO2e/kWh) [5.1]
– 0.1g CO2e / Search (0,322 kg CO2e/kWh)
6
QAware
[5.1] https://googleblog.blogspot.com/2009/01/powering-google-search.htm
[5.2] https://greenspector.com/en/search-engines/
■ Comparison of different search engines & use cases [5.2]
– methodology: measure energy consumption + network
input/output → estimate emissions via OneByte Model
– use cases: app vs. browser, weather, definition, local
search / interactive map
Footprint Comparison
7
QAware
[6] https://co2.myclimate.org/
[7] https://de.statista.com/statistik/daten/studie/167877/umfrage/co-emissionen-nach-laendern-je-einwohner/
[8] https://de.statista.com/statistik/daten/studie/399048/umfrage/entwicklung-der-co2-emissionen-von-neuwagen-deutschland/
Training
■ GPT-3: ~ 100 Flights MUC <-> Sydney
■ GPT-4: ~1000 Germans living 1 year
Usage
■ GPT-3: ~ 4 Google Searches
■ GPT-4: ~ 29 Google Searches
What’s missing in the analysis
■ Non-GPU emissions like networking, RAM and SSDs
■ Power Usage Effectiveness (PUE) of datacenter
■ The embodied carbon of a datacenter
■ Emissions from network transfer
■ Emissions from end-user equipment
8
QAware
We need more transparency!
Green Software Development Manifesto: https://www.greenmanifesto.de/en/
9
QAware
Helpful Transparency Tools
■ Infrastructure at Cloud-Provider-Level
– Emission Dashboards from AWS, Azure, Google
■ Cluster-Level Energy consumption
– Kepler: https://github.com/sustainable-computing-io/kepler
■ Estimate Emissions for ML Usecases
– ML CO2 Impact: https://mlco2.github.io/impact/
• based on GPU hardware, usage hours, infrastructure provider, location
■ Estimate CO2 Emissions for Network Transfer, Device Usage, Embodied Carbon
– CO2.js: https://developers.thegreenwebfoundation.org/co2js/overview/
■ Emission Factors
– Climatiq data explorer & api: https://www.climatiq.io/data
• emission factors for various sectors
– Carbon aware sdk: https://github.com/Green-Software-Foundation/carbon-aware-sdk
• grid intensity data & forecasts
10
QAware

More Related Content

What's hot

Biogas-energy of the future
Biogas-energy of the futureBiogas-energy of the future
Biogas-energy of the futureAbhinav Ojha
 
Biofuels – a safer substitute
Biofuels – a safer substituteBiofuels – a safer substitute
Biofuels – a safer substitutePiyush Pattanaik
 
Biodiesel made from used cooking oil
Biodiesel made from used cooking oilBiodiesel made from used cooking oil
Biodiesel made from used cooking oilMAX GALARZA HERNANDEZ
 
bioethanol production and need of future
bioethanol production and need of futurebioethanol production and need of future
bioethanol production and need of futureAkshay Dagade
 
Key Thermo-Physical Properties of Light Crude Oils
Key Thermo-Physical Properties of Light Crude OilsKey Thermo-Physical Properties of Light Crude Oils
Key Thermo-Physical Properties of Light Crude OilsVijay Sarathy
 

What's hot (10)

Packed bed flooding
Packed bed floodingPacked bed flooding
Packed bed flooding
 
Canadian diesel fuel
Canadian diesel fuelCanadian diesel fuel
Canadian diesel fuel
 
Bio gas
Bio gasBio gas
Bio gas
 
Biogas-energy of the future
Biogas-energy of the futureBiogas-energy of the future
Biogas-energy of the future
 
Biofuels – a safer substitute
Biofuels – a safer substituteBiofuels – a safer substitute
Biofuels – a safer substitute
 
CARBON AUDIT
CARBON AUDITCARBON AUDIT
CARBON AUDIT
 
Carbon Tax
Carbon TaxCarbon Tax
Carbon Tax
 
Biodiesel made from used cooking oil
Biodiesel made from used cooking oilBiodiesel made from used cooking oil
Biodiesel made from used cooking oil
 
bioethanol production and need of future
bioethanol production and need of futurebioethanol production and need of future
bioethanol production and need of future
 
Key Thermo-Physical Properties of Light Crude Oils
Key Thermo-Physical Properties of Light Crude OilsKey Thermo-Physical Properties of Light Crude Oils
Key Thermo-Physical Properties of Light Crude Oils
 

Similar to CO2 Footprint of ChatGPT

IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter Medium
IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter MediumIRJET- Diesel Particulate Filter by using Copper Oxide as a Filter Medium
IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter MediumIRJET Journal
 
Environmental Sustainability - Green IT
Environmental Sustainability - Green ITEnvironmental Sustainability - Green IT
Environmental Sustainability - Green ITHKAIM
 
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...SaltStack
 
Cutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Cutting Costs for Energy Producers by 1 Cent per Kilowatt HourCutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Cutting Costs for Energy Producers by 1 Cent per Kilowatt HourSentient Science
 
LNG Facility GHG Mitigation Options - Government of Nova Scotia
LNG Facility GHG Mitigation Options - Government of Nova ScotiaLNG Facility GHG Mitigation Options - Government of Nova Scotia
LNG Facility GHG Mitigation Options - Government of Nova ScotiaMarcellus Drilling News
 
SUNSHINE short overview of the project and its objectives
SUNSHINE short overview of the project and its objectives SUNSHINE short overview of the project and its objectives
SUNSHINE short overview of the project and its objectives Raffaele de Amicis
 
Development of a concept for the modular design and sizing of a pv ice making...
Development of a concept for the modular design and sizing of a pv ice making...Development of a concept for the modular design and sizing of a pv ice making...
Development of a concept for the modular design and sizing of a pv ice making...Ricardo Faerron Guzmán
 
Peak shaving of an EV Aggregator Using Quadratic Programming
Peak shaving of an EV Aggregator Using Quadratic ProgrammingPeak shaving of an EV Aggregator Using Quadratic Programming
Peak shaving of an EV Aggregator Using Quadratic ProgrammingDaisuke Kodaira
 
SAGE Enterprises Fuel Cell Challenge V Presentation
SAGE Enterprises Fuel Cell Challenge V PresentationSAGE Enterprises Fuel Cell Challenge V Presentation
SAGE Enterprises Fuel Cell Challenge V PresentationEngenuitySC
 
Combustion Turbine Efficiency Impact
Combustion Turbine Efficiency ImpactCombustion Turbine Efficiency Impact
Combustion Turbine Efficiency ImpactKatherine Corcoran
 
Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010Jacob McKee
 
Waste to Energy Project in Ghana: Landfill Gas or Incineration
Waste to Energy Project in Ghana: Landfill Gas or IncinerationWaste to Energy Project in Ghana: Landfill Gas or Incineration
Waste to Energy Project in Ghana: Landfill Gas or IncinerationSyawalianto Rahmaputro
 
GE 글로벌 파워플랜트 분석 보고서
GE 글로벌 파워플랜트 분석 보고서GE 글로벌 파워플랜트 분석 보고서
GE 글로벌 파워플랜트 분석 보고서GE코리아
 
this-is-garbage-talk-2022.pptx
this-is-garbage-talk-2022.pptxthis-is-garbage-talk-2022.pptx
this-is-garbage-talk-2022.pptxTier1 app
 
Impacts of carbon tax.docx
Impacts of carbon tax.docxImpacts of carbon tax.docx
Impacts of carbon tax.docxwrite4
 
IRJET- Analysis of Emission Data by using Testbed for Euro VI Norms
IRJET- Analysis of Emission Data by using Testbed for Euro VI NormsIRJET- Analysis of Emission Data by using Testbed for Euro VI Norms
IRJET- Analysis of Emission Data by using Testbed for Euro VI NormsIRJET Journal
 

Similar to CO2 Footprint of ChatGPT (20)

IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter Medium
IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter MediumIRJET- Diesel Particulate Filter by using Copper Oxide as a Filter Medium
IRJET- Diesel Particulate Filter by using Copper Oxide as a Filter Medium
 
Environmental Sustainability - Green IT
Environmental Sustainability - Green ITEnvironmental Sustainability - Green IT
Environmental Sustainability - Green IT
 
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
 
Cutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Cutting Costs for Energy Producers by 1 Cent per Kilowatt HourCutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
Cutting Costs for Energy Producers by 1 Cent per Kilowatt Hour
 
LNG Facility GHG Mitigation Options - Government of Nova Scotia
LNG Facility GHG Mitigation Options - Government of Nova ScotiaLNG Facility GHG Mitigation Options - Government of Nova Scotia
LNG Facility GHG Mitigation Options - Government of Nova Scotia
 
SUNSHINE short overview of the project and its objectives
SUNSHINE short overview of the project and its objectives SUNSHINE short overview of the project and its objectives
SUNSHINE short overview of the project and its objectives
 
Development of a concept for the modular design and sizing of a pv ice making...
Development of a concept for the modular design and sizing of a pv ice making...Development of a concept for the modular design and sizing of a pv ice making...
Development of a concept for the modular design and sizing of a pv ice making...
 
Peak shaving of an EV Aggregator Using Quadratic Programming
Peak shaving of an EV Aggregator Using Quadratic ProgrammingPeak shaving of an EV Aggregator Using Quadratic Programming
Peak shaving of an EV Aggregator Using Quadratic Programming
 
Coal Fleet Overview 2010
Coal Fleet Overview   2010Coal Fleet Overview   2010
Coal Fleet Overview 2010
 
SAGE Enterprises Fuel Cell Challenge V Presentation
SAGE Enterprises Fuel Cell Challenge V PresentationSAGE Enterprises Fuel Cell Challenge V Presentation
SAGE Enterprises Fuel Cell Challenge V Presentation
 
Combustion Turbine Efficiency Impact
Combustion Turbine Efficiency ImpactCombustion Turbine Efficiency Impact
Combustion Turbine Efficiency Impact
 
Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010
 
Waste to Energy Project in Ghana: Landfill Gas or Incineration
Waste to Energy Project in Ghana: Landfill Gas or IncinerationWaste to Energy Project in Ghana: Landfill Gas or Incineration
Waste to Energy Project in Ghana: Landfill Gas or Incineration
 
GE 글로벌 파워플랜트 분석 보고서
GE 글로벌 파워플랜트 분석 보고서GE 글로벌 파워플랜트 분석 보고서
GE 글로벌 파워플랜트 분석 보고서
 
this-is-garbage-talk-2022.pptx
this-is-garbage-talk-2022.pptxthis-is-garbage-talk-2022.pptx
this-is-garbage-talk-2022.pptx
 
Impacts of carbon tax.docx
Impacts of carbon tax.docxImpacts of carbon tax.docx
Impacts of carbon tax.docx
 
CBE480ProjectReport
CBE480ProjectReportCBE480ProjectReport
CBE480ProjectReport
 
Amber kinetics intro non nda 06-16-2017
Amber kinetics intro non nda 06-16-2017Amber kinetics intro non nda 06-16-2017
Amber kinetics intro non nda 06-16-2017
 
IRJET- Analysis of Emission Data by using Testbed for Euro VI Norms
IRJET- Analysis of Emission Data by using Testbed for Euro VI NormsIRJET- Analysis of Emission Data by using Testbed for Euro VI Norms
IRJET- Analysis of Emission Data by using Testbed for Euro VI Norms
 
Ndevr/WesCEF InSync slides
Ndevr/WesCEF InSync slidesNdevr/WesCEF InSync slides
Ndevr/WesCEF InSync slides
 

More from Green Software Development

Blue turns green! Approaches and technologies for sustainable K8s clusters #C...
Blue turns green! Approaches and technologies for sustainable K8s clusters #C...Blue turns green! Approaches and technologies for sustainable K8s clusters #C...
Blue turns green! Approaches and technologies for sustainable K8s clusters #C...Green Software Development
 
The challenge of putting software sustainability research into practice
The challenge of putting software sustainability research into practiceThe challenge of putting software sustainability research into practice
The challenge of putting software sustainability research into practiceGreen Software Development
 

More from Green Software Development (6)

Sustainable Web Design - Claire Thornewill
Sustainable Web Design - Claire ThornewillSustainable Web Design - Claire Thornewill
Sustainable Web Design - Claire Thornewill
 
Blue turns green! Approaches and technologies for sustainable K8s clusters #C...
Blue turns green! Approaches and technologies for sustainable K8s clusters #C...Blue turns green! Approaches and technologies for sustainable K8s clusters #C...
Blue turns green! Approaches and technologies for sustainable K8s clusters #C...
 
Green Cloud - Measure cloud emissions
Green Cloud - Measure cloud emissionsGreen Cloud - Measure cloud emissions
Green Cloud - Measure cloud emissions
 
The challenge of putting software sustainability research into practice
The challenge of putting software sustainability research into practiceThe challenge of putting software sustainability research into practice
The challenge of putting software sustainability research into practice
 
Carbon Hack 2022
Carbon Hack 2022Carbon Hack 2022
Carbon Hack 2022
 
The Path to Green Enterprise Applications
The Path to Green Enterprise ApplicationsThe Path to Green Enterprise Applications
The Path to Green Enterprise Applications
 

Recently uploaded

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

CO2 Footprint of ChatGPT

  • 1. qaware.de CO2 Footprint of ChatGPT Andreas Weber andreas.weber@qaware.de
  • 4. CO2 Footprint of ChatGPT ■ GPT-3 [1] – 175 billion (10^9) parameters – Training: • 10 000 * V100 GPU (TDP 300W) • 14.8 days training • 1287 MWh • 550t CO2e (0,429 kg CO2e/kWh) – Inference [2] (Data for BLOOM, 176 B params) • 16 * A100 GPU (TDP 400W) • 18 days, 230,768 requests • 914 kWh total, 3,96Wh/Request • 1,56g CO2e / Request (0,394 kg CO2e/kWh) • Note: Idle times! 4 QAware [1] https://doi.org/10.48550/arXiv.2104.10350 [2] https://doi.org/10.48550/arXiv.2211.02001 [3] https://medium.com/@chrispointon/the-carbon-footprint-of-chatgpt-e1bc14e4cc2a – Inference (Estimations from [3]) • 1 * A100 GPU (407W) • 1 Request = 10,5s (0,35s / word * 30 words) • 0,38g CO2e/ Request (0,322 kg CO2e/kWh) • 13 million users per day with 5 requests each • 24,8t CO2e / day • Note: Is a single A100 GPU (80GB RAM) capable of 175 billion parameters? ❭ 4 bit quantization -> 81,5 GB
  • 5. CO2 Footprint of ChatGPT 5 QAware [4] https://archive.ph/2RQ8X ■ GPT-4 [4] – 1.8 trillion (10^12) parameters – Training • 25 000 * A100 GPUs (TDP 400W) • 100 initial days training (after tests) (cost: ~$63 million) • 24 000 MWh • 7 728t CO2e (0,322 kg CO2e/kWh) – Inference • 8-16 * A100 GPU • ~10s-15s / request -> 8,89 Wh/ request • 2,86g CO2e / Request (0,322 kg CO2e/kWh)
  • 6. CO2 Footprint of a Google Search ■ Google Search incl. indexing effort – 0.3 Wh / Search [5.1] – 0.2g CO2e / Search [3] (-> 0,67 kg CO2e/kWh) [5.1] – 0.1g CO2e / Search (0,322 kg CO2e/kWh) 6 QAware [5.1] https://googleblog.blogspot.com/2009/01/powering-google-search.htm [5.2] https://greenspector.com/en/search-engines/ ■ Comparison of different search engines & use cases [5.2] – methodology: measure energy consumption + network input/output → estimate emissions via OneByte Model – use cases: app vs. browser, weather, definition, local search / interactive map
  • 7. Footprint Comparison 7 QAware [6] https://co2.myclimate.org/ [7] https://de.statista.com/statistik/daten/studie/167877/umfrage/co-emissionen-nach-laendern-je-einwohner/ [8] https://de.statista.com/statistik/daten/studie/399048/umfrage/entwicklung-der-co2-emissionen-von-neuwagen-deutschland/ Training ■ GPT-3: ~ 100 Flights MUC <-> Sydney ■ GPT-4: ~1000 Germans living 1 year Usage ■ GPT-3: ~ 4 Google Searches ■ GPT-4: ~ 29 Google Searches
  • 8. What’s missing in the analysis ■ Non-GPU emissions like networking, RAM and SSDs ■ Power Usage Effectiveness (PUE) of datacenter ■ The embodied carbon of a datacenter ■ Emissions from network transfer ■ Emissions from end-user equipment 8 QAware
  • 9. We need more transparency! Green Software Development Manifesto: https://www.greenmanifesto.de/en/ 9 QAware
  • 10. Helpful Transparency Tools ■ Infrastructure at Cloud-Provider-Level – Emission Dashboards from AWS, Azure, Google ■ Cluster-Level Energy consumption – Kepler: https://github.com/sustainable-computing-io/kepler ■ Estimate Emissions for ML Usecases – ML CO2 Impact: https://mlco2.github.io/impact/ • based on GPU hardware, usage hours, infrastructure provider, location ■ Estimate CO2 Emissions for Network Transfer, Device Usage, Embodied Carbon – CO2.js: https://developers.thegreenwebfoundation.org/co2js/overview/ ■ Emission Factors – Climatiq data explorer & api: https://www.climatiq.io/data • emission factors for various sectors – Carbon aware sdk: https://github.com/Green-Software-Foundation/carbon-aware-sdk • grid intensity data & forecasts 10 QAware