π Summary (single-line synopsis)
Ultralytics 8.4.16 mainly improves Windows β Linux/macOS .pt model portability by fixing pathlib pickle issues, with a small docs update for HEIC/HEIF image support π§©πΎπΈ
π Key Changes
- πͺπ₯οΈ Cross-platform
.ptloading fix (PR #23725 by @glenn-jocher):- Updated
torch_safe_load()to remappathlib.WindowsPathβpathlib.PosixPathduring unpickling, preventing common load failures when models are created on one OS and loaded on another.
- Updated
- π§΅ Checkpoint metadata made safer/more consistent:
model.pt_pathis now stored as a plain string (str(weight)), not aPathobject (applies in general checkpoint loading and YOLO NAS model wrapper code).
- π’ Version bump:
8.4.15β8.4.16. - πΈ Docs + format clarity (PR #23717):
- Docs now reflect that HEIC/HEIF uses
pi-heif(auto-installed on first use) and AVIF is supported natively by Pillow. .heifis explicitly listed among supported image formats.
- Docs now reflect that HEIC/HEIF uses
π― Purpose & Impact
- β
Fewer βcanβt unpickle WindowsPath/PosixPathβ errors when sharing trained
.ptweights between teammates or CI systems running different operating systems. - π More reliable export and tooling workflows that depend on
model.pt_path(strings behave consistently across platforms and serialization). - π₯ Better collaboration & reproducibility for teams training on Linux servers and deploying/testing on Windows machines (or vice versa).
- πΈ Smoother HEIC/HEIF user experience thanks to clearer docs and explicit
.heifsupport visibility (less dependency confusion).
What's Changed
- Update HEIC/HEIF dependency info and add .heif format to docs by @raimbekovm in #23717
ultralytics 8.4.16Windows<>Linux model compatibility fix by @glenn-jocher in #23725
Full Changelog: v8.4.15...v8.4.16