DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiency

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Stojkovic, Jovan, Zhang, Chaojie, Goiri, Íñigo, Torrellas, Josep, Choukse, Esha
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909814929489920
author Stojkovic, Jovan
Zhang, Chaojie
Goiri, Íñigo
Torrellas, Josep
Choukse, Esha
author_facet Stojkovic, Jovan
Zhang, Chaojie
Goiri, Íñigo
Torrellas, Josep
Choukse, Esha
contents The rapid evolution and widespread adoption of generative large language models (LLMs) have made them a pivotal workload in various applications. Today, LLM inference clusters receive a large number of queries with strict Service Level Objectives (SLOs). To achieve the desired performance, these models execute on power-hungry GPUs causing the inference clusters to consume large amount of energy and, consequently, result in excessive carbon emissions. Fortunately, we find that there is a great opportunity to exploit the heterogeneity in inference compute properties and fluctuations in inference workloads, to significantly improve energy-efficiency. However, such a diverse and dynamic environment creates a large search-space where different system configurations (e.g., number of instances, model parallelism, and GPU frequency) translate into different energy-performance trade-offs. To address these challenges, we propose DynamoLLM, the first energy-management framework for LLM inference environments. DynamoLLM automatically and dynamically reconfigures the inference cluster to optimize for energy and cost of LLM serving under the service's performance SLOs. We show that at a service-level, DynamoLLM conserves 53% energy and 38% operational carbon emissions, and reduces 61% cost to the customer, while meeting the latency SLOs.
format Preprint
id arxiv_https___arxiv_org_abs_2408_00741
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiency
Stojkovic, Jovan
Zhang, Chaojie
Goiri, Íñigo
Torrellas, Josep
Choukse, Esha
Artificial Intelligence
Hardware Architecture
Distributed, Parallel, and Cluster Computing
The rapid evolution and widespread adoption of generative large language models (LLMs) have made them a pivotal workload in various applications. Today, LLM inference clusters receive a large number of queries with strict Service Level Objectives (SLOs). To achieve the desired performance, these models execute on power-hungry GPUs causing the inference clusters to consume large amount of energy and, consequently, result in excessive carbon emissions. Fortunately, we find that there is a great opportunity to exploit the heterogeneity in inference compute properties and fluctuations in inference workloads, to significantly improve energy-efficiency. However, such a diverse and dynamic environment creates a large search-space where different system configurations (e.g., number of instances, model parallelism, and GPU frequency) translate into different energy-performance trade-offs. To address these challenges, we propose DynamoLLM, the first energy-management framework for LLM inference environments. DynamoLLM automatically and dynamically reconfigures the inference cluster to optimize for energy and cost of LLM serving under the service's performance SLOs. We show that at a service-level, DynamoLLM conserves 53% energy and 38% operational carbon emissions, and reduces 61% cost to the customer, while meeting the latency SLOs.
title DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiency
topic Artificial Intelligence
Hardware Architecture
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2408.00741