DeepFlow: A Cross-Stack Pathfinding Framework for Distributed AI Systems
Open Access
- 15 February 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Design Automation of Electronic Systems
- Vol. 29 (2) , 1-20
Abstract
Over the past decade, machine learning model complexity has grown at an extraordinary rate, as has the scale of the systems training such large models. However, there is an alarmingly low hardware utilization (5–20%) in large scale AI systems. The low system utilization is a cumulative effect of minor losses across different layers of the stack, exacerbated by the disconnect between engineers designing different layers spanning across different industries. To address this challenge, in this work we designed a cross-stack performance modelling and design space exploration framework. First, we introduce CrossFlow, a novel framework that enables cross-layer analysis all the way from the technology layer to the algorithmic layer. Next, we introduce DeepFlow (built on top of CrossFlow using machine learning techniques) to automate the design space exploration and co-optimization across different layers of the stack. We have validated CrossFlow’s accuracy with distributed training on real commercial hardware and showcase several DeepFlow case studies demonstrating pitfalls of not optimizing across the technology-hardware-software stack for what is likely the most important workload driving large development investments in all aspects of computing stack.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- ASTRA-SIM: Enabling SW/HW Co-Design Exploration for Distributed DL Training Platforms2020
- MAESTRO: A Data-Centric Approach to Understand Reuse, Performance, and Hardware Cost of DNN MappingsIEEE Micro, 2020
- Timeloop: A Systematic Approach to DNN Accelerator Evaluation2019
- Beyond human-level accuracy2019
- Architecting Waferscale Processors - A GPU Case Study2019
- MCM-GPU2017
- Scaling equations for the accurate prediction of CMOS device performance from 180 nm to 7 nmIntegration, 2017
- FlexFlow: A Flexible Dataflow Accelerator Architecture for Convolutional Neural Networks2017
- Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural NetworksIEEE Journal of Solid-State Circuits, 2016
- RooflineCommunications of the ACM, 2009