跳到正文
arXiv (AI + Vision + Imaging)· Shengkai Lyu, Hairui Zhao, Daran Sun, Yida Gu, Xingchen Liu, YueYuan Zhou, Zheng Wei, Guangming Tan, Dingwen Tao·· 1 天前AI 评分28

LIBRA:面向高效LLM训练的批大小与并行策略运行时协同调优框架

LIBRA: Runtime Co-Tuning of Batch Size and Parallelism for Time-Efficient LLM Training

AI 导读

LIBRA是一个轻量级运行时框架,将批大小与并行配置联合调优以最小化端到端训练时间,把吞吐与收敛视为两个噪声目标并用qNEHVI搜索其联合空间。该框架通过分层剪枝剔除不可行或低吞吐的并行配置,并用采集引导的并行评估(AGPE)按采集值在GPU组间并发评估候选方案。在最多256块GPU的集群上,LIBRA相比SOTA方法平均将收敛时间缩短31.1%,运行时调优仅占总时间的0.3-3.5%。

正文 · 原文

arXiv:2611.32008v1 Announce Type: cross Abstract: Training large language models (LLMs) requires choosing both a batch size and a parallel configuration. Existing systems make these decisions in isolation, tuning parallelism for throughput and batch size for convergence, but neither objective alone determines training efficiency. We present LIBRA, a lightweight runtime framework that co-tunes batch size and parallel configuration to minimize end-to-end time. LIBRA treats throughput and convergence as two noisy objectives and searches their joint space using parallel noisy expected hypervolume improvement (qNEHVI). To make this runtime search efficient, we propose hierarchical pruning, which removes infeasible and low-throughput parallel configurations through system-level performance estimation and then narrows batch-size candidates through critical-batch-size-aware convergence monitoring. We further design acquisition-guided parallel evaluation (AGPE), which evaluates surviving candidates concurrently across GPU groups in order of their acquisition values. On clusters of up to 256 GPUs, LIBRA reduces time-to-convergence by 31.1% on average over state-of-the-art methods, while runtime tuning accounts for only 0.3-3.5% of overall time.

来源:arXiv (AI + Vision + Imaging) · arxiv.org