pypi ultralytics 8.4.11
v8.4.11 - `ultralytics 8.4.11` Platform model uploads retries (#23538)

12 hours ago

🌟 Summary (single-line synopsis)

Ultralytics v8.4.11 makes Ultralytics Platform training uploads far more reliable by adding retryable model uploads + metrics posting, plus a new reusable upload helper and docs πŸš€πŸ“Ά

πŸ“Š Key Changes

  • Robust Platform upload + metrics retries (PR #23538 by @glenn-jocher) πŸ”
    • Added a new utility: ultralytics/utils/uploads.py with safe_upload() that supports retries, timeouts, and optional progress bars β³πŸ“¦
    • Platform callback networking hardened:
      • _send() now retries transient failures, uses a longer timeout (30s), and does not retry most 4xx client errors (except common transient ones like timeout/rate-limit) πŸ›‘οΈ
      • _upload_model() now retries signed-URL retrieval and uses safe_upload() for the actual upload to cloud storage ☁️
    • Platform now receives only the remote cloud path (gcsPath) as modelPath (instead of accidentally sending a local filesystem path) βœ…
    • Training end now uploads the best model with a progress bar enabled by default πŸ“Š
    • Added a new reference doc page for uploads utilities and linked it into the docs nav πŸ“š
  • Windows OpenVINO export test stability fix (PR #23528 by @lakshanthad) πŸͺŸβœ…
    • Ensures OpenVINO export tests use unique output filenames on Windows to prevent file locking/collision issues in CI πŸ§ͺ

🎯 Purpose & Impact

  • Fewer failed Platform syncs during training due to flaky networks or transient API/upload hiccups πŸ“Άβž‘οΈβœ…
    Impact: your experiment tracking, logs, metrics, and model artifacts are more likely to show up correctly on the Ultralytics Platform.
  • More reliable large checkpoint uploads (with retries + progress feedback) πŸ“¦β«
    Impact: less manual re-running/re-uploading when training finishes, especially on slower or unstable connections.
  • Cleaner, safer metadata sent to Platform 🧹
    Impact: Platform gets a downloadable cloud path, not a meaningless local path like C:\... or /home/....
  • Improved CI stability on Windows for OpenVINO exports πŸͺŸ
    Impact: no change for most end users, but faster/cleaner releases and fewer flaky test failures.

What's Changed

Full Changelog: v8.4.10...v8.4.11

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.