paper-with-me

Papers

PecSched: Preemptive and Efficient Cluster Scheduling for LLM Inference

2024-09-23 · Zeyu Zhang, Haiying Shen

The scaling of transformer-based Large Language Models (LLMs) has significantly expanded their context lengths, enabling applications where inputs exceed 100K tokens. Our analysis of a recent Azure LLM inference trace reveals a highly skewed long-tail distribution of input lengths, with approximately 80% of inputs shorter than 2K tokens. Long inputs constitute only a small fraction. Existing cluster-level LLM scheduling strategies, including First-In-First-Out (FIFO), reservation-based, and priority-based approaches, primarily target short-input requests with lengths below 2K and fail to address this heterogeneity, leading to inefficiencies such as head-of-line blocking, resource underutilization, and starvation of long-input requests. We propose PecSched, a Preemptive and Efficient Cluster SCHEDuling system for LLM inference. PecSched introduces the following key techniques: 1) preemptive scheduling that prioritizes short-input requests for their performance; 2) coordinated prefill-decode colocation and disaggregation, which reduces both the duration and frequency of preemptions; 3) fast Sequence Parallelism (SP) that minimizes the prefill time of long-input requests to further reduce the likelihood and frequency of preemptions. Evaluations based on Azure LLM inference trace show that, compared to state-of-the-art cluster-level LLM inference schedulers, PecSched reduces the 99th percentile queueing delay of short-input requests by up to 92% and improves their throughput by up to 595%, without significantly affecting the Job Completion Time (JCT) of long-input requests. We open-sourced our code.

📄 PDF Abstract BibTeX arXiv:2409.15104

Code (0)

등록된 구현이 없습니다.

Tasks

2kBlockingLarge Language ModelScheduling

Similar Papers 제목 키워드 기반

Prediction-Assisted Online Distributed Deep Learning Workload Scheduling in GPU Clusters

2025-01-09 · Ziyue Luo, Jia Liu, Myungjin Lee, Ness B. Shroff

The recent explosive growth of deep learning (DL) models has necessitated a compelling need for efficient job scheduling for distributed deep learning training with mixed parallelisms (DDLwMP) in GPU clusters. This paper…

GPUScheduling

Priority-Aware Preemptive Scheduling for Mixed-Priority Workloads in MoE Inference

2025-03-12 · Mohammad Siavashi, Faezeh Keshmiri Dindarloo, Dejan Kostic, Marco Chiesa

Large Language Models have revolutionized natural language processing, yet serving them efficiently in data centers remains challenging due to mixed workloads comprising latency-sensitive (LS) and best-effort (BE) jobs. …

BlockingGPUMixture-of-ExpertsScheduling

On Preemption and Learning in Stochastic Scheduling

2022-05-31 · Nadav Merlis, Hugo Richard, Flore Sentenac, Corentin Odic 외

We study single-machine scheduling of jobs, each belonging to a job type that determines its duration distribution. We start by analyzing the scenario where the type characteristics are known and then move to two learnin…

Efficient ExplorationScheduling

A Constraint Programming Approach for Non-Preemptive Evacuation Scheduling

2015-05-11 · Caroline Even, Andreas Schutt, Pascal Van Hentenryck

Large-scale controlled evacuations require emergency services to select evacuation routes, decide departure times, and mobilize resources to issue orders, all under strict time constraints. Existing algorithms almost alw…

Scheduling

Topology-aware Preemptive Scheduling for Co-located LLM Workloads

2024-11-18 · Ping Zhang, Lei Su, Jinjie Yang, Xin Chen

Hosting diverse large language model workloads in a unified resource pool through co-location is cost-effective. For example, long-running chat services generally follow diurnal traffic patterns, which inspire co-locatio…

Language ModelingLanguage ModellingLarge Language ModelScheduling