paper-with-me

Papers

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

2025-03-23 · Zheng Wang, Anna Cai, Xinfeng Xie, Zaifeng Pan, Yue Guan, Weiwei Chu, Jie Wang, Shikai Li, Jianyu Huang, Chris Cai, Yuchen Hao, Yufei Ding

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 imbalance at the pipeline parallelism and context parallelism levels. Then, to address the imbalance issue, at the pipeline parallelism level, WLB-LLM incorporates a workload-aware variable-length document packing method to balance the computation and communication workload across micro-batches. Additionally, at the context parallelism level, WLB-LLM introduces a novel fine-grained per-document sharding strategy, ensuring each worker within a context parallelism group has an identical workload. Comprehensive experiments under different model scales demonstrate that WLB-LLM significantly mitigates the workload imbalance during 4D parallelism LLM training and achieves an average speedup of 1.23x when applying WLB-LLM in our internal LLM training framework.

📄 PDF Abstract BibTeX arXiv:2503.17924

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

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…

Balanced 3DGS: Gaussian-wise Parallelism Rendering with Fine-Grained Tiling

2024-12-23 · Hao Gui, Lin Hu, Rui Chen, Mingxiao Huang 외

3D Gaussian Splatting (3DGS) is increasingly attracting attention in both academia and industry owing to its superior visual quality and rendering speed. However, training a 3DGS model remains a time-intensive task, espe…

3DGSGPU

Balanced and Elastic End-to-end Training of Dynamic LLMs

2025-05-20 · Mohamed Wahib, Muhammed Abdullah Soyturk, Didem Unat

To reduce computational and memory costs in Large Language Models (LLMs), dynamic workload reduction schemes like Mixture of Experts (MoEs), parameter pruning, layer freezing, sparse attention, early token exit, and Mixt…

GPUMixture-of-Experts

Improving Automatic Parallel Training via Balanced Memory Workload Optimization

2023-07-05 · Yujie Wang, Youhe Jiang, Xupeng Miao, Fangcheng Fu 외

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…

GPUNavigate

STADI: Fine-Grained Step-Patch Diffusion Parallelism for Heterogeneous GPUs

2025-09-05 · Han Liang, Jiahui Zhou, Zicheng Zhou, Xiaoxi Zhang 외 arxiv

The escalating adoption of diffusion models for applications such as image generation demands efficient parallel inference techniques to manage their substantial computational cost. However, existing diffusion parallelis…

Image Generation