IICTPIICTP

Blog / Cloud & Architecture / System Design & Architecture

System Design & ArchitectureNovember 25, 20268 MIN READ

Why fine-tuning takes longer than the FLOPs say: predicting job time on shared GPU clusters

Short answer: a Hugging Face post by a team at Dharma AI, a preview of an upcoming paper, compares the usual FLOP-based estimate of fine-tuning time with learned predictors on 272 real supervised fine-tuning jobs from a shared H200 pool. The authors report that the FLOP estimate explains little (R² 0.31, mean absolute error 12.41 hours), while a CatBoost model that sees only pre-dispatch information reaches R² 0.98 and a mean error of 1.71 hours in 5-fold cross-validation. The full paper had not yet been posted when the blog was published.

In this post
  1. What is the problem?
  2. How it works
  3. What is new compared with earlier approaches
  4. Results reported by the source
  5. Limitations and open questions
  6. How to build a similar predictor
  7. What it means for engineers and platform teams
  8. Frequently asked questions
  9. Related reading
  10. Sources and further reading

What is the problem?

Cluster owners must decide which jobs run on which GPUs and in what order, and the plan is only as good as duration estimates. The common back-of-the-envelope estimate divides 6 × parameters × tokens by GPUs, peak FLOPS and an assumed model-FLOPs utilisation (MFU).

How it works

  • Compute-only baseline. The FLOP estimate describes the optimisation loop but not environment setup, model download, tokenisation, periodic evaluation, checkpoint uploads, or contention for network and storage.
  • Learned predictor. Duration is treated as a regression problem using only information known before dispatch: hyperparameters, dataset sizes, model identifiers and GPU allocation.
  • Derived features. Examples include evaluation samples, number of checkpoint saves, parameters saved and per-GPU token volume. The FLOP estimate with MFU fixed at 0.45 is itself a feature.
  • Models compared. Linear Regression, Ridge, XGBoost and CatBoost; the final CatBoost model uses 24 features.

What is new compared with earlier approaches

The point is that overheads are configuration-dependent and do not scale neatly with workload, so two jobs with the same nominal compute can finish hours apart. A learned model captures those interactions from past runs.

Results reported by the source

  • Data: 272 production SFT jobs, about 7,382 GPU-hours, on 1, 2 or 4 H200 GPUs from a pool of 8 to 32 across one to four nodes, with real contention.
  • Durations from 1.6 to 172.4 hours; mean 23.43 h, median 15.29 h; models up to 15 billion parameters, LoRA and full fine-tuning.
  • FLOP baseline: R² 0.31, MAE 12.41 h. CatBoost: R² 0.98, MAE 1.71 h, median error 0.51 h in 5-fold cross-validation.

Limitations and open questions

  • A single organisation’s cluster and software stack (Hugging Face Transformers and Unsloth); results may not transfer to another.
  • Only supervised fine-tuning up to 15B parameters; no pre-training or reinforcement learning.
  • The blog is a preview; the paper has not been posted, so methods and splits cannot be checked yet. Sources were read on 25 November 2026. Products, rules and standards change, so check the linked originals before you rely on any detail.

How to build a similar predictor

  1. Log job configuration and actual wall-clock time for every run.
  2. Add features for evaluation cadence, checkpoint policy and per-GPU load.
  3. Keep the FLOP estimate as a baseline feature.
  4. Validate by cross-validation across different jobs, not random rows from the same job family.

What it means for engineers and platform teams

Better estimates reduce idle GPUs and slipping queues. The lesson also applies to cost estimates for fine-tuning: include evaluation and checkpoint overhead before promising a delivery date. See Hugging Face on Google Cloud Marketplace billing for another cost-side topic.

Frequently asked questions

  • Why is the FLOP estimate off? It covers the optimisation loop but not setup, evaluation, checkpoint upload and contention.
  • How accurate is the learned model? R² 0.98 and mean absolute error 1.71 hours in 5-fold cross-validation, per the authors.
  • What data was used? 272 production SFT jobs, about 7,382 GPU-hours on H200s.
  • Is there a paper? The post says the full version will be on arXiv soon.

Sources and further reading

  1. Duarte B, Pimenta de Freitas Cardoso G, Carvalho IF, Beleza B, Lima F, Dharma AI. Why your fine-tuning job takes longer than the FLOPs say. Hugging Face, 18 November 2026 (preview of an upcoming paper). huggingface.co/blog/Dharma-AI/predicting-fine-tuning-time

Go deeper: CTP™ credential · the TPBOK™ standard · Check your experience

IICTP is an independent technical credentialing body.

Keep reading

← All posts

Where do you stand?

Find the credential that fits the work you do.