Lune

USENIX ATC2022顶会

DVABatch: Diversity-aware Multi-Entry Multi-Exit Batching for Efficient Processing of DNN Services on GPUs

Weihao Cui, Han Zhao, Quan Chen, Hao Wei, Zirui Li, Deze Zeng, Chao Li, Minyi Guo

摘要

The DNN inferences are often batched for better utilizing the hardware in existing DNN serving systems. However, DNN serving exhibits diversity in many aspects, such as input, operator, and load. The unawareness of these diversities results in inefficient processing. Our investigation shows that the inefficiency roots in the feature of the existing batching mechanism: one entry and one exit. Therefore, we propose DVABatch, a runtime batching system that enables the multi-entry multiexit batching scheme. We first abstract three meta operations, new, stretch, and split, for adjusting the ongoing batch of queries to achieve the multi-entry multi-exit scheme. The meta operations could be used to form different scheduling logics for different diversities. To deliver the meta operations to an ongoing batch, we slice the DNN models into multiple stages. Each stage corresponds to one executor, which is managed by a state transition diagram. Compared with state-of-the-art solutions, our experimental results show that DVABatch reduces 46.4% average latency and achieves up to 2.12× throughput improvement.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 Language Models are Few-Shot Learners
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving 引用了 TurboTransformers: an efficient GPU serving system for transformer models
  • 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 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Llumnix: Dynamic Scheduling for Large Language Model Serving 引用了 Language Models are Few-Shot Learners
  • DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference 引用了 MLPerf Inference Benchmark
  • 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 引用了 Language Models are Few-Shot Learners
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 TurboTransformers: an efficient GPU serving system for transformer models
  • GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Language Models are Few-Shot Learners
  • InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management 引用了 TurboTransformers: an efficient GPU serving system for transformer models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper20

  1. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  2. InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache ManagementWonbeom Lee, Jungi Lee, Junghwan Seo, Jaewoong SimOSDI 2024 · 248 次引用
  3. AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning ServingZhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu 等OSDI 2023 · 211 次引用
  4. Llumnix: Dynamic Scheduling for Large Language Model ServingBiao Sun, Ziming Huang, Hanyu Zhao, Wencong Xiao 等OSDI 2024 · 189 次引用
  5. OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair QuantizationCong Guo, Jiaming Tang, Weiming Hu, Jingwen Leng 等ISCA 2023 · 151 次引用

它引用的 Paper10

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  3. MLPerf Inference BenchmarkVijay Janapa Reddi, Christine Cheng, David Kanter, Peter Mattson 等ISCA 2020 · 517 次引用
  4. DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation InferenceUdit Gupta, Samuel Hsia, Vikram Saraph, Xiaodong Wang 等ISCA 2020 · 149 次引用
  5. TurboTransformers: an efficient GPU serving system for transformer modelsJiarui Fang, Yang Yu, Chengduo Zhao, Jie ZhouPPoPP 2021 · 117 次引用

相关 Paper

  1. Harpagon: Minimizing DNN Serving Cost via Efficient Dispatching, Scheduling and SplittingZhixin Zhao, Yitao Hu, Ziqi Gong, Guotao Yang 等INFOCOM 2025 · 2 次引用
  2. ElasticRoom: Multi-Tenant DNN Inference Engine via Co-design with Resource-constrained Compilation and Strong Priority SchedulingLixian Ma, Haoruo Chen, En Shao, Leping Wang 等HPDC 2024 · 4 次引用
  3. Lazy Batching: An SLA-aware Batching System for Cloud Machine Learning InferenceYujeong Choi, Yunseong Kim, Minsoo RhuHPCA 2021 · 65 次引用
  4. PREMA: A Predictive Multi-Task Scheduling Algorithm For Preemptible Neural Processing UnitsYujeong Choi, Minsoo RhuHPCA 2020 · 150 次引用
  5. NeuStream: Bridging Deep Learning Serving and Stream ProcessingHaochen Yuan, Yuanqing Wang, Wenhao Xie, Yu Cheng 等EuroSys 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖