UPDATEyolo-ultralytics v8.4.223
Ultralytics YOLO v8.4.223 snapshots checkpoints before upload
v8.4.223 points Platform's periodic checkpoint upload at a private copy and documents where training results are saved. No model architecture changes.
What changed in this release
22 checkpoints in 4 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.
Checkpoint copies
- A due upload copies the checkpoint into a private temporary directory, and the thread uploads that copy
- The copy is made in the training thread between writes, so upload and saving no longer share a file
- The upload keeps the original file name, so Platform receives the same name
- The temporary copy is removed when the upload finishes, leaving no second set of weights
- Uploads queued earlier still run, including the one taken on the final save
Failures and cost
- A failed copy, such as a full temporary volume, logs one warning and that upload is skipped
- An upload that cannot be queued logs a warning and waits out the 15-minute interval
- The skip cleans up the temporary directory while training continues
- The cost is at most one local checkpoint copy every 15 minutes
- In the patch test the original file was truncated to 0 bytes while the upload still read all 1,000 bytes
Training-output docs
- Train mode gains a Where Training Results Are Saved section
- The folder rule places each run under runs by task and name, with the next number rather than an overwrite
- Weights and records are itemised: the top weights, last.pt, per-epoch checkpoints, args.yaml, results.csv, results.png
- The same table lists labels.jpg, train_batch*, val_batch*, confusion matrices and curves
- Other tasks differ: segmentation adds Mask*_curve.png, classification writes no labels.jpg or curves, plots=False skips images
- Four switches for the folder: name, project (relative or absolute), exist_ok, runs_dir
- Python and CLI examples close the section; Python reads model.trainer.save_dir
- The resume note now says last.pt is written every epoch with the default save=True
- Configuration page logging and checkpoint arguments link to the new section
Version and release
- The version goes from 8.4.222 to 8.4.223 with no code change
- Shipping on PyPI is how Platform training workers receive the fix
- No model architecture or training feature changes
On this page
Context8.4.223 changes which file the upload reads and fills the gap in training-output docs
Platform runs upload a private checkpoint copy instead of the live file.
Before, `on_model_save` handed the checkpoint path to a background thread at most every 15 minutes while training kept rewriting that file. PR #27433 counts six runs since September where the upload reported 0 bytes and Platform answered `checkpoint_saved` with an error, most recently on 2026-11-28.
The release also documents where runs and files are saved: a reliability and documentation release. Four groups follow: the copy feeding the upload, failures and cost, the output docs, and the version that ships it. The figure below shows the spread; the numbered sections take them in turn.
Periodic uploads read a private copy, so nothing the trainer writes can touch them
- Read a copy: when an upload is due, the checkpoint is copied into a private temporary directory and the thread reads only that copy.
- Same name: the copy still goes up under the original file name, so Platform keeps its current handling.
- Action and limit: the copy is made in the training thread between writes and is deleted once the upload finishes.
A failed copy or queue attempt costs one warning, not the run
- Copy fails: an error such as a full temporary volume logs one warning and that upload is skipped.
- Queue fails: an upload that cannot be queued also logs a warning and waits out the 15-minute interval.
- Cost: at most one local checkpoint copy every 15 minutes, and training never stops for an upload.
The Train page now names the run folder and lists every file inside it
- Find it: the Train page states each run writes to its own folder under runs, and a taken name gains a suffix.
- Read it: a new table explains what the top weights, last.pt, args.yaml, results.csv and results.png each hold.
- Move it: name, project, exist_ok and runs_dir sit in the same section with Python and CLI examples.
All four write checkpoints to a folder; the split is whether a file leaves the process
All four write checkpoints to a folder; the split is whether a file must leave the training process, where a rewrite can collide with an upload.
Row one is the decision. Ultralytics hands a copy to a background thread, Transformers pushes asynchronously, MMEngine and Lightning write to a directory with no platform receipt. Platform users upgrade for that row; local training needs nothing.
Rows two and three give documented defaults: Transformers saves by step, MMEngine never by default, Lightning keeps one top-scoring checkpoint. The shapes differ, so this is not a ranking.
| How the checkpoint is handled | Ultralytics v8.4.223 | Hugging Face Transformers v5.24.1 | MMEngine v0.10.7 | PyTorch Lightning 2.6.6 |
|---|---|---|---|---|
| How the checkpoint leaves the training process | Copied to a private temporary directory before a due upload; the thread uploads the copy, then deletes it | Pushed on each save, asynchronously so training is not blocked (hub_strategy defaults to every_save) | Written straight into out_dir (runner.work_dir by default) inside the training loop; no upload step | Written to dirpath, which can be a remote path such as s3://; with dirpath None the top checkpoints stay in memory |
| Default folder rule | A folder under runs per task and run name, with the next number instead of overwriting an earlier run | TrainingArguments.output_dir, where checkpoints are written | runner.work_dir; out_dir can move checkpoints to another root | dirpath; defaults to None, which writes nothing to disk |
| Default saving rhythm | A periodic upload at most every 15 minutes | save_strategy is steps, with save_steps defaulting to 500 | interval defaults to -1 (never), while save_last still forces the last checkpoint | save_top_k defaults to 1, keeping the checkpoint that monitor ranks first |
v8.4.222 to v8.4.223 swaps the uploaded file and the docs behind it
Neither release touches architecture: v8.4.222 capped OpenVINO threads in Linux containers, v8.4.223 changes which file the upload reads plus the Train docs.
Left is v8.4.222 and right is v8.4.223: the first two rows are code behaviour, rows three and four are documentation, and the last row is the package version. Script arguments stay as they are; the change shows up in the log and on the Train page.
| Feature | v8.4.222 | v8.4.223 |
|---|---|---|
| What a periodic upload reads | The background thread gets the checkpoint path and reads the same file the trainer is rewriting | A private copy made in the training thread, so later writes cannot reach the upload |
| When the copy or the queue fails | There is no copy step; the upload thread shares the file with training | One warning, that upload is skipped, the next try waits 15 minutes, training continues |
| Docs on where training output is saved | The Train page never said where a run is saved; the resume note implied save_period replaces the per-epoch last.pt save | A Where Training Results Are Saved section, and the resume note now says last.pt is written every epoch with the default save=True |
| List of files a run writes | No itemised list | Weights, args.yaml, results.csv, results.png, batch images, confusion matrices and curves are listed |
| Package version | 8.4.222 | 8.4.223 |
Release analysisUpgrade if you train remotely on Platform; everyone else can wait
Platform users should upgrade before the next long run: the periodic upload reads a copy, so an empty checkpoint has no path left. Teams that train locally and keep their own weights get documentation only and can wait.
To check it, start a run long enough to trigger a periodic upload, look for upload warnings, then confirm the weights on Platform are not 0 bytes. A warning points at the free space on the temporary volume; an upload that cannot be queued leaves the same warning.
Side by side, Transformers pushes asynchronously and skips a push while the previous one is unfinished; MMEngine and Lightning finish when the checkpoint lands in a directory. Ultralytics closed the gap that opens when a file must leave the training process, and the shapes differ, so this is not a ranking.
Our read: Platform users move to 8.4.223 before new jobs and leave upload logic alone; local training needs no configuration change (station view, not independently tested). No training arguments were added and no architecture changed, so scripts stay as they are. For handover, point the next owner at the new Train section instead of reciting the folder rule.
AIGenLab views
Not independently testedTeams training remotely on Platform should upgrade to 8.4.223 before their next long run.
Station view, not independently tested: based on the six empty checkpoints in PR #27433 and the 12 production events cited in PR #27444.
Teams that train locally and manage their own weights need no configuration change for this upgrade.
Station view, not independently tested: the changes sit in the Platform upload path and the Train docs, with no new training arguments.
After upgrading, check the training log for upload warnings and then the free space on the temporary volume before rerunning a job.
Station view, not independently tested: the failure path logs a single warning per PR #27433, so the log is the only entry point.
Questions
Do training scripts need changes after upgrading to 8.4.223?
Does the checkpoint copy slow training or fill the disk?
Where do results.csv and the weight files end up after training?
Does training stop if an upload still fails?
Official sources and scope
- Ultralytics v8.4.223 release notes The version, publish date and the official summary of the three changes
- PR #27433 Upload a private copy of the periodic Platform checkpoint The copy mechanism, the 15-minute interval, failure handling, cost and the patch test
- PR #27438 Docs: where training results are saved in Train mode The new Train section, file table, folder switches and the resume note change
- PR #27444 ultralytics 8.4.223 version bump The version move from 8.4.222 to 8.4.223 and why it ships on PyPI
- Ultralytics Train mode documentation The folder rule, file table and per-task differences as published on the Train page
- Ultralytics v8.4.222 release notes The previous release's focus on OpenVINO CPU threads and that no architecture changed
- Hugging Face Transformers v5.24.1 Trainer documentation The horizontal table's defaults for output_dir, save_strategy, hub_strategy and hub_always_push
- MMEngine v0.10.7 CheckpointHook API The horizontal table's defaults for out_dir, interval, save_last and max_keep_ckpts
- PyTorch Lightning 2.6.6 ModelCheckpoint API The horizontal table's dirpath, save_top_k and remote path support
Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.