AIGenLab
EN

UPDATEyolo-ultralytics v8.4.223

Ultralytics YOLO v8.4.223 snapshots checkpoints before upload

Version & typev8.4.223 · Feature
In short

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

Read the original announcement

On this page
  1. Release inventory
  2. 8.4.223 changes which fil…
  3. Periodic uploads read a p…
  4. A failed copy or queue at…
  5. The Train page now names…
  6. All four write checkpoint…
  7. v8.4.222 to v8.4.223 swap…
  8. Release analysis
  9. Questions
  10. Sources & method

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.

Where the v8.4.223 changes land: checkpoint copies, failures and their cost, training-output docs and the version release.
Where the 22 grouped changes landWhere the 22 grouped changes landCheckpoint copies5Failures and cost5Training-output docs9Version and release3
AIGenLab original

Periodic uploads read a private copy, so nothing the trainer writes can touch them

  1. Read a copy: when an upload is due, the checkpoint is copied into a private temporary directory and the thread reads only that copy.
  2. Same name: the copy still goes up under the original file name, so Platform keeps its current handling.
  3. 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

  1. Copy fails: an error such as a full temporary volume logs one warning and that upload is skipped.
  2. Queue fails: an upload that cannot be queued also logs a warning and waits out the 15-minute interval.
  3. 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

  1. Find it: the Train page states each run writes to its own folder under runs, and a taken name gains a suffix.
  2. Read it: a new table explains what the top weights, last.pt, args.yaml, results.csv and results.png each hold.
  3. 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 handledUltralytics v8.4.223Hugging Face Transformers v5.24.1MMEngine v0.10.7PyTorch Lightning 2.6.6
How the checkpoint leaves the training processCopied to a private temporary directory before a due upload; the thread uploads the copy, then deletes itPushed 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 stepWritten to dirpath, which can be a remote path such as s3://; with dirpath None the top checkpoints stay in memory
Default folder ruleA folder under runs per task and run name, with the next number instead of overwriting an earlier runTrainingArguments.output_dir, where checkpoints are writtenrunner.work_dir; out_dir can move checkpoints to another rootdirpath; defaults to None, which writes nothing to disk
Default saving rhythmA periodic upload at most every 15 minutessave_strategy is steps, with save_steps defaulting to 500interval defaults to -1 (never), while save_last still forces the last checkpointsave_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.

Featurev8.4.222v8.4.223
What a periodic upload readsThe background thread gets the checkpoint path and reads the same file the trainer is rewritingA private copy made in the training thread, so later writes cannot reach the upload
When the copy or the queue failsThere is no copy step; the upload thread shares the file with trainingOne warning, that upload is skipped, the next try waits 15 minutes, training continues
Docs on where training output is savedThe Train page never said where a run is saved; the resume note implied save_period replaces the per-epoch last.pt saveA 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 writesNo itemised listWeights, args.yaml, results.csv, results.png, batch images, confusion matrices and curves are listed
Package version8.4.2228.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 tested

Teams 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?
No. This release only changes which file the periodic checkpoint upload reads, with no new training arguments and no architecture change, so existing jobs start as before.
Does the checkpoint copy slow training or fill the disk?
PR #27433 states the cost as at most one local copy every 15 minutes, made in the training thread between writes and deleted when the upload finishes; a full temporary volume logs one warning and skips that upload.
Where do results.csv and the weight files end up after training?
In a folder under runs, per task and run name, such as runs/detect/train, with a taken name moving to the next number. Weights sit in the weights subfolder, results.csv holds one row per epoch, and model.trainer.save_dir returns the full path.
Does training stop if an upload still fails?
No. A failed copy or an upload that cannot be queued logs one warning, skips that upload and waits for the next 15-minute interval while training continues.

Official sources and scope

Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.