BASP: Communication-Efficient Batch-Aware Sequence Parallelism for LLM Training
Abstract
Long-context reasoning for large language models (LLMs) is becoming increasingly important, but training over long sequences remains challenging due to massive memory and communication requirements. Sequence parallelism has emerged as an essential technique for addressing bottlenecks in long sequence LLM training. However, we observe that existing sequence parallelism methods are batch-agnostic and apply uniform sequence partitioning across all batch sizes, resulting in inefficient communication. In this paper, we introduce Batch- Aware Sequence Parallelism (BASP), a sequence parallelism approach that leverages batch structure to reduce communication overhead. BASP exploits batch structure by partitioning GPUs into disjoint sequence-parallel groups according to the micro- batch size. This design reduces the all-to-all communication group size, thereby localizing communication and improving training efficiency. Experimental results on an NVIDIA A100 cluster show that BASP improves end-to-end training time by up to 1.17 - 1.31x in Llama and Qwen models compared to standard sequence parallel baselines, while preserving identical model accuracy and memory usage.
Create a lesson
Metadata
- Categories
- cs.DC, cs.LG
- Comments
- Accepted by IEEE HPEC 2026
Related papers
LIBRA: Runtime Co-Tuning of Batch Size and Parallelism for Time-Efficient LLM Training
Shared title terminologycs.DCShengkai Lyu, Hairui Zhao, Daran Sun et al.
AceSpec: An Asymmetric Edge-Cloud Collaborative Framework for Communication-Efficient LLM Inference
Shared title terminologycs.DCYida Zhang, Zhiyong Gao, Shuaibing Yue et al.
Just Talk Once: Communication-Efficient Split Federated LLM Fine-Tuning on Edge Devices
Shared title terminologycs.DCJiaxiang Geng, Xianhao Chen, Bing Luo
ASHE: Asynchronous Stage-owned Heterogeneous Elastic-averaging for Pipeline-Parallel Training
Shared title terminologycs.DCHamin Jung, Sookwang Lee, Shinyoung Ahn et al.
Dependency-Aware Task Decomposition and Parallel Multi-LLM Execution on Serverless Workflows
Shared title terminologycs.DCJackson Beem, Amine Barrak
PipeAxes: Decoupling Compute and Communication Granularities for Pipeline-Parallel LLM Serving
Shared title terminologycs.DCXiaoqiang Guo, Yifan Lin, Yang Liu et al.