paper-with-me

홈 › Papers

Fairness in Serving Large Language Models

2023-12-31 · Ying Sheng, Shiyi Cao, Dacheng Li, Banghua Zhu, Zhuohan Li, Danyang Zhuo, Joseph E. Gonzalez, Ion Stoica

High-demand LLM inference services (e.g., ChatGPT and BARD) support a wide range of requests from short chat conversations to long document reading. To ensure that all client requests are processed fairly, most major LLM inference services have request rate limits, to ensure that no client can dominate the request queue. However, this rudimentary notion of fairness also results in under-utilization of the resources and poor client experience when there is spare capacity. While there is a rich literature on fair scheduling, serving LLMs presents new challenges due to their unpredictable request lengths and their unique batching characteristics on parallel accelerators. This paper introduces the definition of LLM serving fairness based on a cost function that accounts for the number of input and output tokens processed. To achieve fairness in serving, we propose a novel scheduling algorithm, the Virtual Token Counter (VTC), a fair scheduler based on the continuous batching mechanism. We prove a 2x tight upper bound on the service difference between two backlogged clients, adhering to the requirement of work-conserving. Through extensive experiments, we demonstrate the superior performance of VTC in ensuring fairness, especially in contrast to other baseline methods, which exhibit shortcomings under various conditions. The reproducible code is available at https://github.com/Ying1123/VTC-artifact

📄 PDF Abstract BibTeX arXiv:2401.00588

Code (2)

ying1123/vtc-artifact 공식 구현 pytorch
s-lora/s-lora pytorch

Tasks

FairnessScheduling

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

FastSwitch: Optimizing Context Switching Efficiency in Fairness-aware Large Language Model Serving

2024-11-27 · Ao Shen, Zhiyao Li, Mingyu Gao

Serving numerous users and requests concurrently requires good fairness in Large Language Models (LLMs) serving system. This ensures that, at the same cost, the system can meet the Service Level Objectives (SLOs) of more…

FairnessGPULanguage ModelingLanguage Modelling+2

Locality-aware Fair Scheduling in LLM Serving

2025-01-24 · Shiyi Cao, Yichuan Wang, Ziming Mao, Pin-Lun Hsu 외

Large language model (LLM) inference workload dominates a wide variety of modern AI applications, ranging from multi-turn conversation to document analysis. Balancing fairness and efficiency is critical for managing dive…

FairnessLanguage ModelingLanguage ModellingLarge Language Model+1

Fair-GPTQ: Bias-Aware Quantization for Large Language Models

2025-09-18 · Irina Proskurina, Guillaume Metzler, Julien Velcin arxiv

The high memory demands of generative language models have drawn attention to quantization, which reduces memory usage by mapping model weights to lower-precision integers. However, recent empirical studies show that, wh…

Text Generation

Equinox: Holistic Fair Scheduling in Serving Large Language Models

2025-08-19 · Zhixiang Wei, James Yen, Jingyi Chen, Ziyang Zhang 외 arxiv

We address the limitations of current LLM serving with a dual-counter framework separating user and operator perspectives. The User Fairness Counter measures quality of service via weighted tokens and latency; the Resour…

Ensuring Fair LLM Serving Amid Diverse Applications

2024-11-24 · Redwan Ibne Seraj Khan, Kunal Jain, Haiying Shen, Ankur Mallick 외

In a multi-tenant large language model (LLM) serving platform hosting diverse applications, some users may submit an excessive number of requests, causing the service to become unavailable to other users and creating unf…

FairnessLanguage ModelingLanguage ModellingLarge Language Model+1