DeepFlow: A Cross-Stack Pathfinding Framework for Distributed AI Systems

Newsha Ardalani, Saptadeep Pal, Puneet Gupta
11/7/2022
cs.AR

Official code: nanocad-lab/DeepFlow (19 stars, Python, Apache-2.0, last commit 2025-10-31).

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.

Show full abstract

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. We propose CrossFlow, a novel framework that enables cross-layer analysis all the way from the technology layer to the algorithmic layer. We also propose 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 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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
196PythonNov 6, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{ardalani2022deepflow,
  title  = {DeepFlow: A Cross-Stack Pathfinding Framework for Distributed AI Systems},
  author = {Newsha Ardalani and Saptadeep Pal and Puneet Gupta},
  year   = {2022},
  eprint = {2211.03309},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.03309}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.03309.svg)](https://codeofpaper.com/paper/2211.03309)

Discussion