Lune

ASPLOS2023Top-tier venue

ElasticFlow: An Elastic Serverless Training Platform for Distributed Deep Learning

Diandian Gu, Yihao Zhao, Yinmin Zhong, Yifan Xiong, Zhenhua Han, Peng Cheng, Fan Yang, Gang Huang, Xin Jin, Xuanzhe Liu

Abstract

This paper proposes ElasticFlow, an elastic serverless training platform for distributed deep learning. ElasticFlow provides a serverless interface with two distinct features: (i) users specify only the deep neural network (DNN) model and hyperparameters for a job, but not the number of GPUs; (ii) users specify the deadline for a job, but not the amount of time to occupy GPUs. In contrast to existing server-centric platforms, ElasticFlow provides performance guarantees in terms of meeting deadlines while alleviating tedious, low-level, and manual resource management for deep learning developers. The characteristics of distributed training introduce two challenges. First, the training throughput scales non-linearly with the number of GPUs. Second, the scaling efficiency is affected by worker placement. To address these challenges, we propose Minimum Satisfactory Share to capture the resource usage of training jobs to meet deadlines, and ElasticFlow performs admission control based on it. We develop a greedy algorithm that dynamically allocates resources to admitted jobs based on diminishing returns. We apply buddy allocation to worker placement to eliminate the effect of topology. Evaluation results on a cluster of 128 GPUs show that ElasticFlow increases the number of jobs that can meet their deadlines by 1.46–7.65× compared to existing solutions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • vTrain: A Simulation Framework for Evaluating Cost-Effective and Compute-Optimal Large Language Model Training cites Elastic Resource Sharing for Distributed Deep Learning
  • vTrain: A Simulation Framework for Evaluating Cost-Effective and Compute-Optimal Large Language Model Training cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • vTrain: A Simulation Framework for Evaluating Cost-Effective and Compute-Optimal Large Language Model Training cites Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
  • vTrain: A Simulation Framework for Evaluating Cost-Effective and Compute-Optimal Large Language Model Training cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • LoongServe: Efficiently Serving Long-Context Large Language Models with Elastic Sequence Parallelism cites Elastic Resource Sharing for Distributed Deep Learning
  • LoongServe: Efficiently Serving Long-Context Large Language Models with Elastic Sequence Parallelism cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • Dilu: Enabling GPU Resourcing-on-Demand for Serverless DL Serving via Introspective Elasticity cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • Primus: Unified Training System for Large-Scale Deep Learning Recommendation Models cites Elastic Resource Sharing for Distributed Deep Learning
  • Primus: Unified Training System for Large-Scale Deep Learning Recommendation Models cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • Primus: Unified Training System for Large-Scale Deep Learning Recommendation Models cites Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
  • When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric Scheduling cites Elastic Resource Sharing for Distributed Deep Learning
  • When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric Scheduling cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric Scheduling cites Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
  • When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric Scheduling cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads cites Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. LoongServe: Efficiently Serving Long-Context Large Language Models with Elastic Sequence ParallelismBingyang Wu, Shengyu Liu, Yinmin Zhong, Peng Sun et al.SOSP 2024 · 32 citations
  2. vTrain: A Simulation Framework for Evaluating Cost-Effective and Compute-Optimal Large Language Model TrainingJehyeon Bang, Yujeong Choi, Myeongwoo Kim, Yongdeok Kim et al.MICRO 2024 · 16 citations
  3. Dilu: Enabling GPU Resourcing-on-Demand for Serverless DL Serving via Introspective ElasticityCunchi Lv, Xiao Shi, Zhengyu Lei, Jinyue Huang et al.ASPLOS 2025 · 10 citations
  4. When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric SchedulingAbdullah Bin Faisal, Noah Martin, Hafiz Mohsin Bashir, Swaminathan Lamelas et al.OSDI 2024 · 6 citations
  5. Primus: Unified Training System for Large-Scale Deep Learning Recommendation ModelsJixi Shan, Xiuqi Huang, Yang Guo, Hongyue Mao et al.USENIX ATC 2025 · 4 citations

Builds on12

  1. A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU ClustersYimin Jiang, Yibo Zhu, Chang Lan, Bairen Yi et al.OSDI 2020 · 390 citations
  2. Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning WorkloadsDeepak Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee et al.OSDI 2020 · 286 citations
  3. Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep LearningAurick Qiao, Sang Keun Choe, Suhas Jayaram Subramanya, Willie Neiswanger et al.OSDI 2021 · 258 citations
  4. Balancing efficiency and fairness in heterogeneous GPU clusters for deep learningShubham Chaudhary, Ramachandran Ramjee, Muthian Sivathanu, Nipun Kwatra et al.EuroSys 2020 · 135 citations
  5. Elastic Resource Sharing for Distributed Deep LearningChangho Hwang, Taehyun Kim, Sunghyun Kim, Jinwoo Shin et al.NSDI 2021 · 111 citations

Related papers

  1. EasyScale: Elastic Training with Consistent Accuracy and Improved Utilization on GPUsMingzhen Li, Wencong Xiao, Hailong Yang, Biao Sun et al.SC 2023 · 16 citations
  2. ElasGNN: An Elastic Training Framework for Distributed GNN TrainingSiqi Wang, Hailong Yang, Pengbo Wang, Hongliang Cao et al.PPoPP 2026
  3. An efficient and non-intrusive GPU scheduling framework for deep learning training systemsShaoqi Wang, Oscar J. Gonzalez, Xiaobo Zhou, Thomas Williams et al.SC 2020 · 21 citations
  4. FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data PipelineTaegeon Um, Byungsoo Oh, Byeongchan Seo, Minhyeok Kweun et al.VLDB 2023 · 45 citations
  5. Resilience-Aware Elastic Scaling for Cloud-Native Online DL Training on Multi-Tenant GPU ClustersQianhao Wu, Jiazhi Jiang, Guihui Ling, Yue PangVLDB 2026
Dusk over the sea between two cliffs drawn in fine vertical lines