Predicting End-to-End Fine-Tuning Time for Generative Language Models
Breno Beleza, Felipe Lima, Isis Carvalho, Moises Dantas dos Santos, Gabriel Pimenta de Freitas Cardoso
Abstract
As organizations increasingly adopt the AI Factory paradigm, in which GPU-accelerated environments serve as production infrastructure for fine-tuning generative language models (GLMs), including large language models (LLMs) and small language models (SLMs), unpredictable training duration becomes an operational bottleneck. Under GPU scarcity and prohibitive compute costs, accurate estimation of end-to-end training time becomes critical for efficient resource utilization. However, estimating GLM fine-tuning duration is a multifactorial problem. Real-world pipelines also add orchestration overheads, such as model loading, periodic evaluation, and checkpointing, that affect wall-clock time. Existing analytical estimates fail to capture the end-to-end duration of full jobs running on a shared, multi-tenant production cluster. We present a machine learning-based methodology for predicting GLM fine-tuning job duration on GPU clusters, built on a feature set encompassing model, dataset, hardware, and fine-tuning configurations known before job dispatch, including engineered features that expose these overheads. Using production executions lasting 1.6 to 172.4 h (mean 23.43 h), we compare analytical baselines with linear and gradient-boosting regressors. The best analytical baseline reaches (MAE = 12.41 h), whereas the best predictor, based on CatBoost, achieved a mean absolute error (MAE) of 1.71 h, a median absolute error of 0.51 h, and a coefficient of determination () of 0.98 in 5-fold cross-validation.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.DC, cs.PF
- Comments
- 21 pages, 8 figures, 8 tables
Related papers
What Predicts Forgetting in LoRA Fine-Tuning Across Optimizers
Shared title terminologycs.LGZhiyong Jin
FedReCall: Recalling Client-Specific Directions in Federated LoRA Fine-tuning
Shared title terminologycs.LGChang Liu, Jinqian Chen, Xiangyang Yang et al.
Fine-Tuning GridSFM Efficiently: Low-Rank Adaptation of Neural Surrogates for AC Optimal Power Flow
Shared title terminologycs.LGNinad Sonawane, Abhey Kalia, Shireen Kudukkil Manchingal
Looking Back to Forget: Self-Anchored Unlearning Along the Generation Trajectory of Diffusion Language Models
Shared title terminologycs.LGRuihao Pan, Suhang Wang
Predicting falls and near falls with wearable IMU and ECG in parkinson
Shared title terminologycs.LGMuqing Jian, Wenbo Ding, Xusheng Zhu et al.
Axolotl: Generation of Area Forecast Discussions From AI Weather Models
Shared title terminologycs.LGAristeidis Panos, John Bronskill, Rupert Menneer et al.