paper-with-me

Papers

Improving Automatic Parallel Training via Balanced Memory Workload Optimization

2023-07-05 · Yujie Wang, Youhe Jiang, Xupeng Miao, Fangcheng Fu, Shenhan Zhu, Xiaonan Nie, Yaofeng Tu, Bin Cui

Transformer models have emerged as the leading approach for achieving state-of-the-art performance across various application domains, serving as the foundation for advanced large-scale deep learning (DL) models. However, efficiently training these models across multiple GPUs remains a complex challenge due to the abundance of parallelism options. Existing DL systems either require manual efforts to design distributed training plans or limit parallelism combinations to a constrained search space. In this paper, we present Galvatron-BMW, a novel system framework that integrates multiple prevalent parallelism dimensions and automatically identifies the most efficient hybrid parallelism strategy. To effectively navigate this vast search space, we employ a decision tree approach for decomposition and pruning based on intuitive insights. We further utilize a dynamic programming search algorithm to derive the optimal plan. Moreover, to improve resource utilization and enhance system efficiency, we propose a bi-objective optimization workflow that focuses on workload balance. Our evaluations on different Transformer models demonstrate the capabilities of Galvatron-BMW in automating distributed training under varying GPU memory constraints. Across all tested scenarios, Galvatron-BMW consistently achieves superior system throughput, surpassing previous approaches that rely on limited parallelism strategies.

📄 PDF Abstract BibTeX arXiv:2307.02031

Code (1)

pku-dair/hetu-galvatron 공식 구현 pytorch

Tasks

GPUNavigate

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Pruning 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

WLB-LLM: Workload-Balanced 4D Parallelism for Large Language Model Training

2025-03-23 · Zheng Wang, Anna Cai, Xinfeng Xie, Zaifeng Pan 외

In this work, we present WLB-LLM, a workLoad-balanced 4D parallelism for large language model training. We first thoroughly analyze the workload imbalance issue in LLM training and identify two primary sources of imbalan…

Language ModelingLanguage ModellingLarge Language Model

FlashCP: Load-Balanced Communication-Efficient Context Parallelism for LLM Training

2026-06-07 · Zheng Wang, Eric Liu, Linan Jiang, Zhongkai Yu 외 arxiv

Context parallelism (CP) is essential for training large-scale, long-context language models, as it partitions sequences to reduce memory overhead. However, existing CP methods suffer from workload imbalance, inefficient…

Revisiting Parameter Server in LLM Post-Training

2026-01-27 · Xinyi Wan, Penghui Qi, Guangxing Huang, Chaoyi Ruan 외 arxiv

Modern data parallel (DP) training favors collective communication over parameter servers (PS) for its simplicity and efficiency under balanced workloads. However, the balanced workload assumption no longer holds in larg…

BaPipe: Exploration of Balanced Pipeline Parallelism for DNN Training

2020-12-23 · Letian Zhao, Rui Xu, Tianqi Wang, Teng Tian 외

The size of deep neural networks (DNNs) grows rapidly as the complexity of the machine learning algorithm increases. To satisfy the requirement of computation and memory of DNN training, distributed deep learning based o…

GPU

Least-Loaded Expert Parallelism: Load Balancing An Imbalanced Mixture-of-Experts

2026-01-23 · Xuan-Phi Nguyen, Shrey Pandit, Austin Xu, Caiming Xiong 외 arxiv

Mixture-of-Experts (MoE) models are typically pre-trained with explicit load-balancing constraints to ensure statistically balanced expert routing. Despite this, we observe that even well-trained MoE models exhibit signi…