pypi ultralytics 8.4.20
v8.4.20 - `ultralytics 8.4.20` Remove redundant hardcoded `tuner_callbacks` (#23772)

latest release: 8.4.21
10 hours ago

๐ŸŒŸ Summary

Ultralytics v8.4.20 is a stability-and-usability release focused on cleaner hyperparameter tuning, more reliable deployment/export workflows, and improved docs for both YOLO models and the Ultralytics Platform ๐Ÿš€

๐Ÿ“Š Key Changes

  • (Most important) Ray Tune cleanup in current PR #23772 ๐Ÿงน

    • Removed hardcoded tuner_callbacks and dropped built-in W&B callback wiring from RunConfig in tuning.
    • Version bumped from 8.4.19 โ†’ 8.4.20.
  • RKNN export reliability improved (#23802) ๐Ÿ“ฆ

    • Added ONNX version guard (onnx<1.19.0) and enforced ONNX opset cap (<=19) for RKNN conversion.
    • Explicitly supports smoother export paths for YOLO26 models on Rockchip toolchains.
  • FastSAM prompt accuracy fix (#23766) ๐ŸŽฏ

    • CLIP prompting now masks non-target neighboring segments before scoring.
    • Reduces false positives in overlapping/contained regions (for example, object-inside-background cases).
  • ByteTracker consistency update (#23771) ๐Ÿ› ๏ธ

    • Optional score fusion now also applies in second-stage association (when fuse_score=True), aligning behavior across tracking stages.
  • Better YAML error messages (#23767) โœ…

    • Failed YAML loads now return clearer syntax errors with file context and validation guidance, instead of ambiguous fallback failures.
  • Jetson/JetPack 6 stack refresh (#23788 + #23801) ๐Ÿค–

    • Updated Jetson Docker/runtime stack to newer Torch/Torchvision/ONNX Runtime GPU versions.
    • Compatibility checks now recognize torch 2.10 + torchvision 0.25.
  • Docs and platform improvements ๐Ÿ“š

    • New SAM vs YOLO segmentation benchmark section includes YOLO26n-seg comparisons (#23782).
    • Platform docs expanded for pose skeleton templates and dataset versioning workflows (#23787, #23796).
    • YOLOE tutorial embed updated (#23798).
    • CI/workflow dependency/auth updates (#23763, #23799).

๐ŸŽฏ Purpose & Impact

  • More robust tuning workflows โš™๏ธ

    • By removing tightly coupled callback logic, Ray Tune runs are less fragile in mixed environments (especially distributed tuning setups).
  • Fewer deployment surprises ๐Ÿš€

    • RKNN export safeguards reduce version mismatch errors and manual troubleshooting for edge deployment users.
  • Higher output quality in segmentation/tracking ๐Ÿ‘€

    • FastSAM text prompts become more trustworthy in crowded scenes.
    • ByteTracker behavior is more consistent when confidence fusion is enabled.
  • Smoother setup for modern environments ๐Ÿ”ง

    • Jetson and PyTorch compatibility updates reduce install/runtime friction for developers upgrading dependencies.
  • Better onboarding and reproducibility ๐Ÿง 

    • Clearer YAML errors help users fix configs faster.
    • Platform dataset versioning and skeleton-template docs improve team workflows and repeatable training.

What's Changed

New Contributors

Full Changelog: v8.4.19...v8.4.20

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.