# Dharma-AI studies why fine-tuning jobs outlast compute estimates
> Training updates, validation and saved checkpoints represent different work. Independent documentation explains why elapsed job duration needs a wider boundary.
By BIGCHANGE.AI Editorial
Published: 2026-11-20T23:31:38.478Z
Updated: 2026-11-20T23:31:38.478Z
Canonical: https://bigchange.ai/blog/dharma-fine-tuning-duration-study

AI-generated conceptual illustration for BIG CHANGE.
Dharma-AI published an internal study on November 18 of 272 H200 supervised fine-tuning jobs, which adapt models using example answers. It predicts elapsed duration before dispatch, rather than timing training calculations alone.
## The big change
- Dharma’s predictor estimates duration from GPU allocation to completion, including loading, tokenization, evaluation and final storage uploads. Waiting for a GPU is outside that boundary.
- Evaluation and checkpoint settings describe work beyond updating model weights. Training software can revisit validation examples and save resumable state at different intervals, changing what a job must do.
- A prediction’s test conditions matter for planning. Holding out existing observations checks a different question from testing later jobs or a new environment; an average error does not promise every job will finish on time.
## Why training steps are only part of a job
Hugging Face’s Trainer documentation makes the separate controls explicit. Evaluation can happen after a chosen number of training updates or at the end of an epoch, a pass through the training data. Saving checkpoints has its own schedule. These are choices about the work surrounding optimization, not interchangeable descriptions of how many updates the model receives.
Consider a hypothetical pair of otherwise identical training runs. One evaluates after every short block of updates; the other evaluates only at the end of each epoch. Both can perform the same training updates while making different numbers of passes over the validation data. This example explains why an estimate needs the evaluation schedule; it is not a measured timing result for either configuration.
## A checkpoint preserves training state
PyTorch’s saving-and-loading guide distinguishes model weights from a checkpoint used to resume training. A resumable checkpoint also stores the optimizer’s state, which contains information updated during learning. The guide’s example includes the epoch and recorded loss as well. Loading the saved model alone does not restore that complete training state. Loading weights before computation also requires reading the serialized state back into a model.
That distinction gives storage a concrete role. Serializing the additional state and loading it again are operations beyond a model’s forward and backward calculations. A final model export and a resumable training snapshot therefore serve different purposes, even when both are called a saved model. The useful planning question is which state must be written and later restored, rather than simply whether a file exists. The documentation establishes that mechanism, not a universal number of minutes per save.
## What the reported errors establish
Predictions use configuration and model information available before dispatch, not runtime logs. In five-fold cross-validation, Dharma reports mean absolute error of 1.71 hours for its CatBoost machine-learning predictor, versus 12.41 hours for a calculation-based baseline assuming 30% of theoretical GPU arithmetic throughput. That baseline already counts training and evaluation tokens; omitted evaluation arithmetic alone does not explain the difference.
An absolute error measures the distance between a prediction and the observed value, regardless of whether the prediction was early or late. Its mean summarizes that distance across observations, rather than setting a deadline guarantee.
Among just 13 runs exceeding 60 hours, median error was 5.19 hours. The results cover only H200 supervised fine-tuning and models up to 15 billion parameters. The post previews a forthcoming paper; it is not peer-reviewed validation or evidence of measured scheduler savings.
Dharma also reports that its extended Calculon implementation underestimated whole-job duration.
## What an analytical model is designed to answer
There is also a reason to distinguish prediction tasks before judging a tool. The original Calculon work, presented at SC23, describes an analytical model for jointly exploring language-model software and computing-system design. It takes application, hardware and implementation parameters, then estimates performance across configurations subject to constraints such as memory capacity.
The public Calculon repository documents validation against Megatron results on NVIDIA’s A100-based Selene supercomputer. That is a stated reference setting, not a guarantee for every system or workflow. Its value is in making assumptions about the modeled computation and system explicit. A planner comparing configurations still needs to ask which activities the model represents, and which activities fall outside the quantity it predicts.
## The next test is a planning test
Scikit-learn’s cross-validation guide explains that a fold is a portion withheld for testing while the remaining portions train the predictor. It also warns that ordinary splits assume independent observations: related groups or time-dependent data can require different splitting methods.
For a capacity planner, checking predictions against later jobs would test usefulness for future bookings more directly than repeatedly splitting an existing collection. Keeping related experiments together can also help test whether a predictor transfers beyond familiar configurations. These are proposed checks, not additional results from this study. The decision is whether an estimate remains dependable in its intended setting. A local evaluation starts that assessment.
## Sources
- [Dharma’s November 18 study](https://huggingface.co/blog/Dharma-AI/predicting-fine-tuning-time) — Internal methods, comparison and long-run limitations.
- [Trainer evaluation and saving](https://huggingface.co/docs/transformers/main_classes/trainer) — Independent controls for evaluation and checkpoint schedules.
- [PyTorch checkpoint guide](https://docs.pytorch.org/tutorials/beginner/saving_loading_models.html) — State required for saving and resuming training.
- [Calculon at SC23](https://sc23.supercomputing.org/proceedings/tech_paper/tech_paper_pages/pap552.html) — Original analytical modeling scope and design questions.
- [Calculon repository](https://github.com/calculon-ai/calculon) — Code and stated A100 Megatron validation setting.
- [Cross-validation methods](https://scikit-learn.org/stable/modules/cross_validation.html) — Held-out folds, grouping and time-dependent evaluation.
- [Absolute error](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.mean_absolute_error.html) — Definition of mean absolute error.
The BIG CHANGE newsletter
The big picture. At your pace.
Recent stories on AI and robotics, the shifts worth watching and practical ideas to use. Choose a daily briefing, weekly digest or monthly perspective.
Next scheduled send (UTC): . Your first edition arrives at the next scheduled send after you confirm.
Your privacy, your choice.
Necessary storage supports site security and remembers your choices. Optional Google Analytics stays off until you allow it. You can read every story with necessary storage only. Privacy details