Towards Sustainable Large Language Model Serving

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Nguyen, Sophia, Zhou, Beihao, Ding, Yi, Liu, Sihang
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917883490074624
author Nguyen, Sophia
Zhou, Beihao
Ding, Yi
Liu, Sihang
author_facet Nguyen, Sophia
Zhou, Beihao
Ding, Yi
Liu, Sihang
contents In this work, we study LLMs from a carbon emission perspective, addressing both operational and embodied emissions, and paving the way for sustainable LLM serving. We characterize the performance and energy of LLaMA with 1B, 3B, and 7B parameters using two Nvidia GPU types, a latest-generation RTX6000 Ada and an older-generation T4. We analytically model operational carbon emissions based on energy consumption and carbon intensities from three grid regions -- each representing a different energy source mix, and embodied carbon emissions based on chip area and memory size. Our characterization and modeling provide us with an in-depth understanding of the performance, energy, and carbon emissions of LLM serving. Our findings highlight the potential for optimizing sustainable LLM serving systems by considering both operational and embodied carbon emissions simultaneously.
format Preprint
id arxiv_https___arxiv_org_abs_2501_01990
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Sustainable Large Language Model Serving
Nguyen, Sophia
Zhou, Beihao
Ding, Yi
Liu, Sihang
Machine Learning
Distributed, Parallel, and Cluster Computing
In this work, we study LLMs from a carbon emission perspective, addressing both operational and embodied emissions, and paving the way for sustainable LLM serving. We characterize the performance and energy of LLaMA with 1B, 3B, and 7B parameters using two Nvidia GPU types, a latest-generation RTX6000 Ada and an older-generation T4. We analytically model operational carbon emissions based on energy consumption and carbon intensities from three grid regions -- each representing a different energy source mix, and embodied carbon emissions based on chip area and memory size. Our characterization and modeling provide us with an in-depth understanding of the performance, energy, and carbon emissions of LLM serving. Our findings highlight the potential for optimizing sustainable LLM serving systems by considering both operational and embodied carbon emissions simultaneously.
title Towards Sustainable Large Language Model Serving
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2501.01990