pypi ultralytics 8.4.27
v8.4.27 - `ultralytics 8.4.27` Improved Platform training integration (#24008)

8 hours ago

🌟 Summary

Ultralytics v8.4.27 focuses on more reliable Ultralytics Platform training control (especially cancellation handling) ✅, plus several stability fixes for data conversion, postprocessing alignment, Paddle compatibility, and Docker runtime updates 🚀.

📊 Key Changes

  • 🔴 Priority update (PR #24008 by @glenn-jocher): Improved Platform training integration

    • Added a new sanitizer to clean callback payloads before sending them to the Ultralytics Platform.
    • Non-JSON-safe float values are now converted safely, preventing callback encoding failures.
    • Centralized cancellation handling in one shared helper, replacing duplicated logic.
    • Applied this shared cancellation flow to both training startup and epoch-end callback paths.
    • Updated callback reference docs for the new helper functions.
  • 🧩 COCO conversion robustness (PR #23998 by @raimbekovm)

    • Fixed convert_coco() crashes when annotations are missing or have empty keypoints/segmentation.
    • Keeps annotation lists in sync to avoid IndexError.
  • đŸŽ¯ Coordinate/mask alignment fix (PR #23995 by @raimbekovm)

    • Updated pad rounding in scale_coords() and scale_masks() to match LetterBox behavior.
    • Reduces 1-pixel misalignment issues for pose/segmentation outputs.
  • đŸŧ Paddle dependency safety pin (PR #23997 by @Laughing-q)

    • Tightened PaddlePaddle requirements to <3.3.0 for export/inference paths to avoid known breakages.
  • đŸŗ Docker runtime refresh (PR #23991 by @glenn-jocher)

    • Base image upgraded to PyTorch 2.11.0 (CUDA 12.8, cuDNN 9 unchanged).
  • 📚 Documentation discoverability (PR #23980 by @raimbekovm)

    • Added better cross-links to the YOLO26 End-to-End Detection guide from FAQ and argument docs.

đŸŽ¯ Purpose & Impact

  • More dependable Platform workflows đŸ›Ąī¸
    Fewer training tracking failures and more consistent cancellation behavior in cloud-managed runs on the Ultralytics Platform.

  • Better training control UX âšī¸
    Cancel signals are handled more predictably, reducing confusion and wasted compute.

  • Fewer dataset conversion interruptions đŸ“Ļ
    Users converting imperfect COCO labels are less likely to hit hard crashes.

  • Cleaner prediction geometry đŸ–ŧī¸
    Improved coordinate/mask consistency helps downstream quality for segmentation and pose tasks.

  • Safer dependency behavior âš™ī¸
    Paddle users are protected from problematic 3.3.x versions by default.

  • Modernized container baseline 🚀
    Docker users get a newer PyTorch runtime with minimal GPU stack risk.

What's Changed

Full Changelog: v8.4.26...v8.4.27

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.