Learned Best-Effort LLM Serving

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Jha, Siddharth, Hooper, Coleman, Liu, Xiaoxuan, Kim, Sehoon, Keutzer, Kurt
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929419157766144
author Jha, Siddharth
Hooper, Coleman
Liu, Xiaoxuan
Kim, Sehoon
Keutzer, Kurt
author_facet Jha, Siddharth
Hooper, Coleman
Liu, Xiaoxuan
Kim, Sehoon
Keutzer, Kurt
contents Many applications must provide low-latency LLM service to users or risk unacceptable user experience. However, over-provisioning resources to serve fluctuating request patterns is often prohibitively expensive. In this work, we present a best-effort serving system that employs deep reinforcement learning to adjust service quality based on the task distribution and system load. Our best-effort system can maintain availability with over 10x higher client request rates, serves above 96% of peak performance 4.1x more often, and serves above 98% of peak performance 2.3x more often than static serving on unpredictable workloads. Our learned router is robust to shifts in both the arrival and task distribution. Compared to static serving, learned best-effort serving allows for cost-efficient serving through increased hardware utility. Additionally, we argue that learned best-effort LLM serving is applicable in wide variety of settings and provides application developers great flexibility to meet their specific needs.
format Preprint
id arxiv_https___arxiv_org_abs_2401_07886
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learned Best-Effort LLM Serving
Jha, Siddharth
Hooper, Coleman
Liu, Xiaoxuan
Kim, Sehoon
Keutzer, Kurt
Machine Learning
Artificial Intelligence
Computation and Language
Distributed, Parallel, and Cluster Computing
Many applications must provide low-latency LLM service to users or risk unacceptable user experience. However, over-provisioning resources to serve fluctuating request patterns is often prohibitively expensive. In this work, we present a best-effort serving system that employs deep reinforcement learning to adjust service quality based on the task distribution and system load. Our best-effort system can maintain availability with over 10x higher client request rates, serves above 96% of peak performance 4.1x more often, and serves above 98% of peak performance 2.3x more often than static serving on unpredictable workloads. Our learned router is robust to shifts in both the arrival and task distribution. Compared to static serving, learned best-effort serving allows for cost-efficient serving through increased hardware utility. Additionally, we argue that learned best-effort LLM serving is applicable in wide variety of settings and provides application developers great flexibility to meet their specific needs.
title Learned Best-Effort LLM Serving
topic Machine Learning
Artificial Intelligence
Computation and Language
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2401.07886