Organizations: Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China · University of Chinese Academy of Sciences, Beijing, China
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.
Figures & tables
Model (target loss)
GPUs
Tuning goal
Throughput (K tok/s)
Tokens to target (B)
Time (h)
Code LLaMA 34B ( Lval→2.25 )
128
Throughput
154.16
70.93
127.80
Convergence
58.41
33.28
158.28
Thr.&Conv.
121.02
38.55
88.48
LLaMA-2 70B ( Lval→2.22 )
256
Throughput
82.35
88.76
299.42
Convergence
24.66
34.82
392.28
Thr.&Conv.
58.8
41.32
195.22
Table 1. Configurations selected under three tuning objectives: throughput, convergence, and both (Thr.&Conv.). All configurations reach the same target loss for a given model, so total training time is directly comparable.
Figure 1. Comparison of constant GBS, GBS ramp-up, GBS ramp-up with parallel tuning (PT), and joint co-tuning for LLaMA-2 13B. The curves show validation loss over E2E time and mark GBS changes and time to target. Validation loss over time for four policies. Joint co-tuning reaches the target first by selecting GBS and parallel configuration together.
Method
Parallelism Search
Convergence Optimization
GBS-Parallel Co-tuning
Online Tuning
Alpa ( Zheng et al., 2022 )
\ding 51
\ding 55
\ding 55
\ding 55
Aceso ( Liu et al., 2024 )
\ding 51
\ding 55
\ding 55
\ding 55
ASHA ( Li et al., 2020 )
\ding 55
\ding 51
\ding 55
\ding 51
BOHB ( Falkner et al., 2018 )
\ding 55
\ding 51
\ding 55
\ding 51
Handcrafted ramp-up ( Llama Team, 2024 )
\ding 55
\ding 51
\ding 55
\ding 55
Branched training ( Merrill et al., 2025 )
\ding 55
\ding 51
\ding 55
\ding 55
Table 2. Comparison of existing methods and LIBRA.
Figure 2. Overview of LIBRA’s key design. Overview of LIBRA's hierarchical pruning, Bayesian co-tuning, and acquisition-guided parallel evaluation workflow.
Figure 3. Overview of hierarchical pruning in LIBRA. The first level ranks layouts for each GBS and GPU count. The second follows the progress of distinct batch sizes from a common checkpoint. A four-stage diagram of performance estimation from sparse intra-batch measurements, throughput ranking and pruning, convergence monitoring from a shared checkpoint, and CBS-aware GBS pruning.
Workload
Search space
Measured profiles
Coverage
7B@64 GPUs
19,872
84
0.42%
13B@64 GPUs
11,264
68
0.60%
34B@128 GPUs
15,360
92
0.60%
70B@256 GPUs
24,576
98
0.40%
Table 3. Comparison of the feasible search space and measured profiles across workloads.
Figure 4. Evaluation placement and cost. (a) Schematic showing how AGPE reduces idle GPU bubbles relative to naive static first-fit placement. (b) Total GPU-hour cost of sequential evaluation, naive static first-fit placement, and AGPE. A GPU-group timeline compares naive static first-fit placement with AGPE, and a bar chart compares the GPU-hour cost of sequential evaluation, naive static first-fit placement, and AGPE across four workloads.
Role
Information
User inputs
Training task, GPU allocation, feasible parameter ranges, target validation loss
Fixed recipe
Model, data order, optimizer, learning-rate schedule, sequence length
Decisions
GBS and DP/TP/PP/CP/MBS configuration
Observations
Throughput, monitored loss progress, resource demand, completion status
Figure 5. E2E time to the target validation loss and runtime adaptation. (a) LLaMA-2 7B on different GPU counts. (b) Different models on 64/64/64/128/256 GPUs. (c) Stage time and how GBS changes across different stages. Three plots compare E2E time across GPU and model scales and show per-stage runtime adaptation for LLaMA-2 13B.
Figure 6. Comparison of HPO baselines and LIBRA. Grouped bars compare the E2E time of ASHA, BOHB, and LIBRA on LLaMA-2 7B and 13B.
Figure 7. Comparison of predicted throughput in LIBRA’s performance estimation (Sec. 4.2 ) with measured throughput. Measured and predicted throughput curves across representative profiling points for LLaMA-2 7B and 13B.
Model size
Search-space size (Full/Feasible/O1/O2)
Evaluation cost
Sequential
LIBRA
Reduction
7B
1.52M/19,872/96/7
67.2
18.4
72.6%
13B
1.52M/11,264/72/6
118.4
31.6
73.3%
34B
1.91M/15,360/88/7
211.2
54.8
74.1%
70B
2.44M/24,576/96/8
384.7
96.8
74.8%
Table 5. Search-space size and evaluation cost after hierarchical pruning and AGPE. Full, Feasible, O1, and O2 denote the unfiltered space and the spaces after the feasibility check, offline pruning, and online pruning. Cost is in GPU-hours; Reduction is relative to sequential evaluation.
Figure 8. Runtime overhead of LIBRA, measured as additional critical-path time divided by E2E training time across different models and GPU counts. The bars show profiling, monitoring, scheduling, and reconfiguration. Breakdown of LIBRA runtime overhead across GPU counts and model sizes.
Figure 9. Comparison of two multi-objective optimization methods: qNEHVI and Goodput. (a) The configurations selected by both methods lie on the Pareto frontier. (b) Normalized local time for the observed candidates at the checkpoint. A Pareto plot and normalized local-time bars show that short monitoring selects GBS 256 over the GBS 128 Goodput choice and rejects GBS 512.
Figure 10. Ablation study for LLaMA-2 7B and 13B. Grouped bars show normalized E2E time after removing qNEHVI, either pruning level, AGPE, or early stopping.
Low-Rank Adaptation (LoRA) has gained popularity as a fine-tuning approach for Large Language Models (LLMs) due to its low resource requirements and good performance. While numerous studies have investigated ways to improve LoRA serving efficiency by serving multiple LoRAs concurrently, existing methods assume that a wide range of LoRA adapters are available for serving. In our work, we conduct extensive empirical studies to show that current LoRA training paradigms do not efficiently utilize hardware resources and incur high overhead to obtain a performant LoRA adapter. Leveraging these insights, we propose PLoRA, which automatically orchestrates concurrent LoRA fine-tuning jobs under given hardware and model constraints and develops performant kernels to improve training efficiency. Across a range of LLMs and LoRA configurations, PLoRA improves training throughput by up to 12.8x and reduces the overall fine-tuning makespan by up to 7.52x compared to existing approaches.
Minghao Yan, Zhuang Wang, Zhen Jia +2
University of Wisconsin-Madison · Amazon Web Services
Selecting a parallelism strategy - the configuration of data, tensor, and pipeline parallelism degrees together with micro- and global-batch sizes - largely determines the training efficiency of large language models. State-of-the-art methods search for a parallelism strategy offline and select the single strategy that minimizes per-iteration time. But we find that they neglect the target validation perplexity and time-to-perplexity (TTP). In particular, our analysis reveals that the best strategy yielding the fastest perplexity improvement changes multiple times during training. As a result, state-of-the-art methods are 1.8-11.4x slower in TTP than the strategy sequence that selects the best strategy at each iteration. This paper proposes CONA, a new training method that introduces online strategy chaining. Instead of a single strategy selected offline, CONA ranks candidate strategies during training using a surrogate metric built from compute throughput and gradient statistics, and switches the current strategy to a new strategy with a higher metric. In our evaluation with GPT-3 1.3B, BERT-Large, and Llama-3.2-1B, CONA reaches the target validation perplexity 1.4-9.6x faster than state-of-the-art methods. Moreover, CONA closely tracks the perplexity achieved by the sequence that selects the best strategy at each iteration, within 2.6%.
Minchul Kang, Changyong Shin, Younghun Go +4
Department of Computer Science and Engineering, Korea University, Seoul, South Korea
Distributed training increases the number of batches processed per iteration either by scaling-out (adding more nodes) or scaling-up (increasing the batch-size). However, the largest configuration does not necessarily yield the best performance. Horizontal scaling introduces additional communication overhead, while vertical scaling is constrained by computation cost and device memory limits. Thus, simply increasing the batch-size leads to diminishing returns: training time and cost decrease initially but eventually plateaus, creating a knee-point in the time/cost versus batch-size pareto curve. The optimal batch-size therefore depends on the underlying model, data and available compute resources. Large batches also suffer from worse model quality due to the well-known generalization gap. In this paper, we present Tula, an online service that automatically optimizes time, cost, and convergence quality for large-batch training of convolutional models. It combines parallel-systems modeling with statistical performance prediction to identify the optimal batch-size. Tula predicts training time and cost within 7.5-14% error across multiple models, and achieves up to 20x overall speedup and improves test accuracy by 9% on average over standard large-batch training on various vision tasks, thus successfully mitigating the generalization gap and accelerating training at the same time.
Sahil Tyagi, Feiyi Wang
Oak Ridge National Laboratory, Oak Ridge, Tennessee, USA