π 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.pywithsafe_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 usessafe_upload()for the actual upload to cloud storage βοΈ
- Platform now receives only the remote cloud path (
gcsPath) asmodelPath(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 π
- Added a new utility:
- 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 likeC:\...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
- Fix OpenVINO failures on Windows fast CI tests by @lakshanthad in #23528
ultralytics 8.4.11Platform model uploads retries by @glenn-jocher in #23538
Full Changelog: v8.4.10...v8.4.11