paper-with-me

Papers

Automatic Operator-level Parallelism Planning for Distributed Deep Learning -- A Mixed-Integer Programming Approach

2025-03-12 · Ruifeng She, Bowen Pang, Kai Li, Zehua Liu, Tao Zhong

As the artificial intelligence community advances into the era of large models with billions of parameters, distributed training and inference have become essential. While various parallelism strategies-data, model, sequence, and pipeline-have been successfully implemented for popular neural networks on main-stream hardware, optimizing the distributed deployment schedule requires extensive expertise and manual effort. Further more, while existing frameworks with most simple chain-like structures, they struggle with complex non-linear architectures. Mixture-of-experts and multi-modal models feature intricate MIMO and branch-rich topologies that require fine-grained operator-level parallelization beyond the capabilities of existing frameworks. We propose formulating parallelism planning as a scheduling optimization problem using mixed-integer programming. We propose a bi-level solution framework balancing optimality with computational efficiency, automatically generating effective distributed plans that capture both the heterogeneous structure of modern neural networks and the underlying hardware constraints. In experiments comparing against expert-designed strategies like DeepSeek's DualPipe, our framework achieves comparable or superior performance, reducing computational bubbles by half under the same memory constraints. The framework's versatility extends beyond throughput optimization to incorporate hardware utilization maximization, memory capacity constraints, and other considerations or potential strategies. Such capabilities position our solution as both a valuable research tool for exploring optimal parallelization strategies and a practical industrial solution for large-scale AI deployment.

📄 PDF Abstract BibTeX arXiv:2503.09357

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyMixture-of-ExpertsScheduling

Similar Papers 제목 키워드 기반

Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning

2022-01-28 · Lianmin Zheng, Zhuohan Li, Hao Zhang, Yonghao Zhuang 외

Alpa automates model-parallel training of large deep learning (DL) models by generating execution plans that unify data, operator, and pipeline parallelism. Existing model-parallel training systems either require users t…

A Linear Algebraic Approach to Model Parallelism in Deep Learning

2020-06-04 · Russell J. Hewett, Thomas J. Grady II

Training deep neural networks (DNNs) in large-cluster computing environments is increasingly necessary, as networks grow in size and complexity. Local memory and processing limitations require robust data and model paral…

Deep Learning

Hierarchical Cost Analysis for Distributed DL

2021-05-17 · IEEE International Parallel and Distributed Processing Symposium Workshops 2021 5 · Haoran Wang

Deep Learning (DL) developed rapidly during the past decade. DNN models become larger and more complex. Increasing size of datasets and models, requires efficient distributed approaches. Different parallelism strategie…

Code Generation

Learning to Shard: RL for Co-optimizing the Parallelism Degrees and Per-operator Sharding Dimensions in Distributed LLM Inference

2025-08-29 · Ruokai Yin, Sattwik Deb Mishra, Xuan Zuo, Hokchhay Tann 외 arxiv

Distributed LLM inference requires careful coordination of parallelization strategies across hundreds to thousands of NPUs to meet production SLOs. Current systems like Megatron-LM rely on static heuristics that separate…

Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysis

2018-02-26 · Tal Ben-Nun, Torsten Hoefler

Deep Neural Networks (DNNs) are becoming an important tool in modern computing applications. Accelerating their training is a major challenge and techniques range from distributed algorithms to low-level circuit design. …

Deep LearningNeural Architecture SearchStochastic Optimization