ExeGPT: Constraint-Aware Resource Scheduling for LLM Inference
- Authors
- Oh, Hyungjun; Kim, Kihong; Kim, Jaemin; Kim, Sungkyun; Lee, Junyeol; Chang, Du-Seong; Seo, Jiwon
- Issue Date
- Apr-2024
- Publisher
- Association for Computing Machinery
- Keywords
- LLM inference; scheduling optimization
- Citation
- International Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS, v.2, pp 369 - 384
- Pages
- 16
- Indexed
- SCOPUS
- Journal Title
- International Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS
- Volume
- 2
- Start Page
- 369
- End Page
- 384
- URI
- https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/197229
- DOI
- 10.1145/3620665.3640383
- ISSN
- 0000-0000
- Abstract
- This paper presents ExeGPT, a distributed system designed for constraint-aware LLM inference. ExeGPT finds and runs with an optimal execution schedule to maximize inference throughput while satisfying a given latency constraint. By leveraging the distribution of input and output sequences, it effectively allocates resources and determines optimal execution configurations, including batch sizes and partial tensor parallelism. We also introduce two scheduling strategies based on Round-Robin Allocation and Workload-Aware Allocation policies, suitable for different NLP workloads.We evaluate ExeGPT on six LLM instances of T5, OPT, and GPT-3 and five NLP tasks, each with four distinct latency constraints. Compared to FasterTransformer, ExeGPT achieves up to 15.2× improvements in throughput and 6× improvements in latency. Overall, ExeGPT achieves an average throughput gain of 2.9× across twenty evaluation scenarios. Moreover, when adapting to changing sequence distributions, the cost of adjusting the schedule in ExeGPT is reasonably modest. ExeGPT proves to be an effective solution for optimizing and executing LLM inference for diverse NLP workload and serving conditions.
- Files in This Item
- There are no files associated with this item.
- Appears in
Collections - 서울 공과대학 > 서울 컴퓨터소프트웨어학부 > 1. Journal Articles

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.