Lune

NSDI2023顶会

SHEPHERD: Serving DNNs in the Wild

Hong Zhang, Yupeng Tang, Anurag Khandelwal, Ion Stoica

摘要

Model serving systems observe massive volumes of inference requests for many emerging interactive web services. These systems need to be scalable, guarantee high system goodput and maximize resource utilization across compute units. However, achieving all three goals simultaneously is challenging since inference requests have very tight latency constraints (10-500ms), and production workloads can be extremely unpredictable at such small time granularities.

We present SHEPHERD, a model serving system that achieves all three goals in the face of workload unpredictability. SHEPHERD uses a two-level design that decouples model serving into planning and serving modules. For planning, SHEPHERD exploits the insight that while individual request streams can be highly unpredictable, aggregating request streams into moderately-sized groups greatly improves predictability, permitting high resource utilization as well as scalability. For serving, SHEPHERD employs a novel online algorithm that provides guaranteed goodput under workload unpredictability by carefully leveraging preemptions and modelspecific batching properties. Evaluation results over production workloads show that SHEPHERD achieves up to 18.1× higher goodput and 1.8× better utilization compared to prior state-of-the-art, while scaling to hundreds of workers.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 48 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 INFaaS: Automated Model-less Inference Serving
  • Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences
  • Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Llumnix: Dynamic Scheduling for Large Language Model Serving 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • Llumnix: Dynamic Scheduling for Large Language Model Serving 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Llumnix: Dynamic Scheduling for Large Language Model Serving 引用了 Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences
  • Llumnix: Dynamic Scheduling for Large Language Model Serving 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Serving DNNs like Clockwork: Performance Predictability from the Bottom Up 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences 引用了 INFaaS: Automated Model-less Inference Serving
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models 引用了 AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • ServerlessLLM: Low-Latency Serverless Inference for Large Language Models 引用了 Batch: machine learning inference serving on serverless platforms with adaptive batching
  • INFaaS: Automated Model-less Inference Serving 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • INFaaS: Automated Model-less Inference Serving 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper48

  1. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  2. AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning ServingZhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu 等OSDI 2023 · 211 次引用
  3. Llumnix: Dynamic Scheduling for Large Language Model ServingBiao Sun, Ziming Huang, Hanyu Zhao, Wencong Xiao 等OSDI 2024 · 189 次引用
  4. ServerlessLLM: Low-Latency Serverless Inference for Large Language ModelsYao Fu, Leyang Xue, Yeqi Huang, Andrei-Octavian Brabete 等OSDI 2024 · 125 次引用
  5. Orion: Interference-aware, Fine-grained GPU Sharing for ML ApplicationsFoteini Strati, Xianzhe Ma, Ana KlimovicEuroSys 2024 · 96 次引用

它引用的 Paper8

  1. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry 等USENIX ATC 2020 · 946 次引用
  2. Serving DNNs like Clockwork: Performance Predictability from the Bottom UpArpan Gujarati, Reza Karimi, Safya Alzayat, Wei Hao 等OSDI 2020 · 392 次引用
  3. INFaaS: Automated Model-less Inference ServingFrancisco Romero, Qian Li, Neeraja J. Yadwadkar, Christos KozyrakisUSENIX ATC 2021 · 325 次引用
  4. Batch: machine learning inference serving on serverless platforms with adaptive batchingAhsan Ali, Riccardo Pinciroli, Feng Yan, Evgenia SmirniSC 2020 · 184 次引用
  5. Microsecond-scale Preemption for Concurrent GPU-accelerated DNN InferencesMingcong Han, Hanze Zhang, Rong Chen, Haibo ChenOSDI 2022 · 153 次引用

相关 Paper

  1. USHER: Holistic Interference Avoidance for Resource Optimized ML InferenceSudipta Saha Shubha, Haiying Shen, Anand P. IyerOSDI 2024 · 35 次引用
  2. Proteus: A High-Throughput Inference-Serving System with Accuracy ScalingSohaib Ahmad, Hui Guan, Brian D. Friedman, Thomas Williams 等ASPLOS 2024 · 31 次引用
  3. Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM WorkloadsChaoyi Ruan, Yinhe Chen, Dongqi Tian, Yandong Shi 等NSDI 2026 · 5 次引用
  4. Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-ServeAmey Agrawal, Nitin Kedia, Ashish Panwar, Jayashree Mohan 等OSDI 2024 · 537 次引用
  5. JITServe: SLO-aware LLM Serving with Imprecise Request InformationWei Zhang, Zhiyu Wu, Yi Mu, Rui Ning 等NSDI 2026 · 29 次引用
黄昏的海面,两侧是细线勾勒的悬崖