Hugging Face releases CatBoost predictor with R² = 0.98 for fine‑tuning job duration
Hugging Face introduced a CatBoost regression model that predicts fine‑tuning wall‑clock time with R² = 0.98, a mean absolute error of 1.71 h, and integration potential for GPU schedulers.
Hugging Face presented a CatBoost predictor that estimates the wall‑clock duration of supervised fine‑tuning (SFT) jobs. The model achieves an R² of 0.98 and a mean absolute error of 1.71 hours in five‑fold cross‑validation.
The analysis covered 272 SFT jobs run on NVIDIA H200 GPUs, consuming about 7,382 GPU‑hours. Job durations in the dataset ranged from 1.6 to 172.4 hours, with a mean of 23.43 hours and a median of 15.29 hours.
A FLOP‑based baseline that assumed a model‑FLOPs utilization (MFU) of 30 % produced R² = 0.31 and a mean absolute error of 12.41 hours, indicating low predictive power.
The CatBoost regression model used only information available before dispatch and relied on 24 pre‑dispatch features, such as total evaluation token count, number of checkpoints saved, trainable parameter count, batch evaluation size percent, and GPU count multiplied by batch training percent. Gradient‑boosting models, including CatBoost and XGBoost, outperformed linear models, with CatBoost achieving the lowest mean absolute error across all metrics.
Eighty percent of CatBoost predictions fell within 2.20 hours of the actual duration, and ninety percent were within 4.31 hours. For jobs longer than 60 hours, the median absolute error rose to 1.06 hours; only 13 such runs were present in the data.
The predictor estimates only the wall‑clock time from GPU allocation to job completion and explicitly excludes queue waiting time. The approach can be integrated into schedulers to plan GPU allocation, reduce idle capacity, and help meet experiment deadlines.
The analytical FLOP estimate assumes an MFU between 30 % and 60 % but cannot capture overheads such as environment setup, evaluation, checkpoint I/O, and storage contention. The study extended the Calculon performance model to support LoRA, grouped‑query attention, fused attention, bfloat16, and SwiGLU, yet it still explained only about 11 % of observed wall‑clock time.