SlideShare a Scribd company logo
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

Similar to CO2 Footprint of ChatGPT

Environmental Sustainability - Green IT
Environmental Sustainability - Green ITEnvironmental Sustainability - Green IT
Environmental Sustainability - Green IT
HKAIM
 
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 Hour
Sentient 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 Scotia
Marcellus 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 Programming
Daisuke Kodaira
 
Coal Fleet Overview 2010
Coal Fleet Overview   2010Coal Fleet Overview   2010
Coal Fleet Overview 2010
Jeffrey Phillips
 
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
EngenuitySC
 
Combustion Turbine Efficiency Impact
Combustion Turbine Efficiency ImpactCombustion Turbine Efficiency Impact
Combustion Turbine Efficiency Impact
Katherine Corcoran
 
Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010Performance Presentation - NREL March 2010
Performance Presentation - NREL March 2010
Jacob 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 Incineration
Syawalianto 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.pptx
Tier1 app
 
Impacts of carbon tax.docx
Impacts of carbon tax.docxImpacts of carbon tax.docx
Impacts of carbon tax.docx
write4
 
CBE480ProjectReport
CBE480ProjectReportCBE480ProjectReport
CBE480ProjectReport
Alex Stinnett
 
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
IRJET Journal
 
Ndevr/WesCEF InSync slides
Ndevr/WesCEF InSync slidesNdevr/WesCEF InSync slides
Ndevr/WesCEF InSync slides
InSync Conference
 
12 02 lima - gccsi - why invest in ccs - final
12 02 lima - gccsi - why invest in ccs - final12 02 lima - gccsi - why invest in ccs - final
12 02 lima - gccsi - why invest in ccs - final
Global CCS Institute
 

Similar to CO2 Footprint of ChatGPT (20)

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
 
12 02 lima - gccsi - why invest in ccs - final
12 02 lima - gccsi - why invest in ccs - final12 02 lima - gccsi - why invest in ccs - final
12 02 lima - gccsi - why invest in ccs - final
 

More from Green Software Development

GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Sustainable Web Design - Claire Thornewill
Sustainable Web Design - Claire ThornewillSustainable Web Design - Claire Thornewill
Sustainable Web Design - Claire Thornewill
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
 
Green Cloud - Measure cloud emissions
Green Cloud - Measure cloud emissionsGreen Cloud - Measure cloud emissions
Green Cloud - Measure cloud emissions
Green Software Development
 
Tools and best practices for sustainable software
Tools and best practices for sustainable softwareTools and best practices for sustainable software
Tools and best practices for sustainable software
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 practice
Green Software Development
 
Carbon Hack 2022
Carbon Hack 2022Carbon Hack 2022
Carbon Hack 2022
Green Software Development
 
The Path to Green Enterprise Applications
The Path to Green Enterprise ApplicationsThe Path to Green Enterprise Applications
The Path to Green Enterprise Applications
Green Software Development
 

More from Green Software Development (10)

GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
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
 
Tools and best practices for sustainable software
Tools and best practices for sustainable softwareTools and best practices for sustainable software
Tools and best practices for sustainable software
 
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

UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 

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