Standard analytical estimates for supervised fine-tuning (SFT) job durations on shared GPU clusters significantly underestimate actual wall-clock time, according to a preview of an upcoming paper by Dharma-AI. The research, based on 272 production runs, demonstrates that while back-of-the-envelope FLOP calculations explain only a small fraction of observed variance, machine learning models trained on configuration metadata can predict end-to-end duration with high precision.

What Happened

Dharma-AI researchers analyzed 272 real SFT jobs from their production environment, totaling approximately 7,382 GPU-hours on NVIDIA H200 GPUs. The study compared traditional analytical estimates against learned predictors to determine how far off the standard math is from reality. The conventional FLOP-based estimate, which relies on parameter count, training tokens, and peak GPU throughput, yielded a coefficient of determination (R²) of 0.31 and a mean absolute error (MAE) of 12.41 hours. In contrast, a CatBoost regressor that utilized only information available before job dispatch achieved an R² of 0.98, with an MAE of 1.71 hours and a median error of 0.51 hours in 5-fold cross-validation.

The gap between analytical and learned estimates stems from factors that closed-form calculations cannot capture. The machine learning model incorporated training-specific signals such as evaluation cadence, checkpoint policies, per-GPU load, and fine-tuning regimes. It also accounted for non-compute overheads including environment setup, model downloading, tokenization, and periodic evaluations. The study found that no single Model FLOPs Utilization (MFU) value could fix the analytical baseline; even the best-performing MFU setting of 30% left a mean error above 12 hours for jobs averaging 23 hours in duration.

Why It Matters

Accurate duration estimates are critical for resource planning on shared GPU clusters, which are among the most expensive and scarce resources in AI infrastructure. When jobs finish earlier than estimated, GPUs sit idle until the next task is dispatched; when they run late, queued experiments slip and delivery dates move. Better predictions transform cluster management from guesswork into deterministic planning, reducing idle capacity and improving utilization. The research highlights that configuration choices often made by habit, such as how often to evaluate or how many checkpoints to save, significantly impact wall-clock time. Feature importance analysis showed that evaluation volume and trainable parameter count were key drivers of duration, suggesting that developers can optimize costs by adjusting these parameters.

The study also tested a more detailed analytical model, Calculon, which accounts for compute, memory traffic, and inter-device communication. Despite its sophistication, Calculon’s estimates corresponded to only 11% of the observed wall-clock time on median, indicating that a substantial portion of production job time occurs outside the optimization step. This underscores the limitations of purely analytical approaches in multi-tenant environments where jobs compete for network and storage I/O.

Limitations & Next Steps

While the current model is calibrated specifically for NVIDIA H200 GPUs and SFT jobs, the methodology offers a path toward more accurate scheduling. The researchers noted that the predictor’s accuracy degrades for jobs exceeding 60 hours due to limited data in that range, but the core approach of using pre-dispatch configuration features to predict duration shows significant promise. The full paper, which details the feature formulas and selection procedures, is expected to be published on arXiv soon. The team plans to expand the model’s scope to include other training strategies like RLHF and different GPU types in future work.

The Bottom Line

Dharma-AI’s findings suggest that for shared GPU clusters, relying on standard FLOP calculations leads to substantial scheduling inefficiencies. By leveraging machine learning on configuration metadata, operators can reduce prediction errors from hours to minutes, enabling tighter scheduling and better resource utilization.