FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline
Taegeon Um, Byungsoo Oh, Byeongchan Seo, Minhyeok Kweun, Goeun Kim, Woo-Yeon Lee
摘要
When training a deep learning (DL) model, input data are pre-processed on CPUs and transformed into tensors, which are then fed into GPUs for gradient computations of model training. Expensive GPUs must be fully utilized during training to accelerate the training speed. However, intensive CPU operations for input data preprocessing (input pipeline) often lead to CPU bottlenecks; correspondingly, various DL training jobs suffer from GPU under-utilization. We propose FastFlow, a DL training system that automatically mitigates the CPU bottleneck by offloading (scaling out) input pipelines to remote CPUs. FastFlow carefully decides various offloading decisions based on performance metrics specific to applications and allocated resources, while leveraging both local and remote CPUs to prevent the inefficient use of remote resources and minimize the training time. FastFlow's smart offloading policy and mechanisms are seamlessly integrated with TensorFlow for users to enjoy the smart offloading features without modifying the main logic. Our evaluations on our private DL cloud with diverse workloads on various resource environments show that FastFlow improves the training throughput by 1 4.34X compared to TensorFlow without offloading, by 1 4.52X compared to TensorFlow with manual CPU offloading (tf.data.service), and by 0.63 2.06X compared to GPU offloading (DALI).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- How Large Language Models Will Disrupt Data Management 引用了 Language Models are Few-Shot Learners
- Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 Language Models are Few-Shot Learners
- Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 Analyzing and Mitigating Data Stalls in DNN Training
- cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
- cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 Language Models are Few-Shot Learners
- cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement
- Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 cedar: Optimized and Unified Machine Learning Input Data Pipelines
- cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 Analyzing and Mitigating Data Stalls in DNN Training
- PreSto: An In-Storage Data Preprocessing System for Training Recommendation Models 引用了 Analyzing and Mitigating Data Stalls in DNN Training
- Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
- Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 Analyzing and Mitigating Data Stalls in DNN Training
- Training Generative Adversarial Networks with Limited Data 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
引用它的顶会 Paper15
- How Large Language Models Will Disrupt Data ManagementRaul Castro Fernandez, Aaron J. Elmore, Michael J. Franklin, Sanjay Krishnan 等VLDB 2023 · 127 次引用
- Orion: Interference-aware, Fine-grained GPU Sharing for ML ApplicationsFoteini Strati, Xianzhe Ma, Ana KlimovicEuroSys 2024 · 96 次引用
- Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid PlacementDan Graur, Oto Mraz, Muyu Li, Mohammad Sepehr Pourghannad 等USENIX ATC 2024 · 18 次引用
- cedar: Optimized and Unified Machine Learning Input Data PipelinesMark Zhao, Emanuel Adamiak, Christos KozyrakisVLDB 2025 · 13 次引用
- PreSto: An In-Storage Data Preprocessing System for Training Recommendation ModelsYunjae Lee, Hyeseong Kim, Minsoo RhuISCA 2024 · 8 次引用
它引用的 Paper13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 次引用
- Training Generative Adversarial Networks with Limited DataTero Karras, Miika Aittala, Janne Hellsten, Samuli Laine 等NeurIPS 2020 · 2,345 次引用
- Learning to Resize Images for Computer Vision TasksHossein Talebi, Peyman MilanfarICCV 2021 · 159 次引用
- Analyzing and Mitigating Data Stalls in DNN TrainingJayashree Mohan, Amar Phanishayee, Ashish Raniwala, Vijay ChidambaramVLDB 2021 · 142 次引用
相关 Paper
- FusionFlow: Accelerating Data Preparation for Machine Learning with Hybrid CPU-GPU ProcessingTaeyoon Kim, Chanho Park, Mansur Mukimbekov, Heelim Hong 等VLDB 2024 · 8 次引用
- NDPipe: Exploiting Near-data Processing for Scalable Inference and Continuous Training in Photo StorageJungwoo Kim, Seonggyun Oh, Jaeha Kung, Yeseong Kim 等ASPLOS 2024
- Cachew: Machine Learning Input Data Processing as a ServiceDan Graur, Damien Aymon, Dan Kluser, Tanguy Albrici 等USENIX ATC 2022 · 43 次引用
- ElasticFlow: An Elastic Serverless Training Platform for Distributed Deep LearningDiandian Gu, Yihao Zhao, Yinmin Zhong, Yifan Xiong 等ASPLOS 2023 · 62 次引用
- EasyScale: Elastic Training with Consistent Accuracy and Improved Utilization on GPUsMingzhen Li, Wencong Xiao, Hailong Yang, Biao Sun 等SC 2023 · 16 次引用
