pypi ultralytics 8.3.215
v8.3.215 - `ultralytics 8.3.215` Segmentation `crop_masks` speedup (#22386)

latest releases: 8.3.217, 8.3.216
3 days ago

🌟 Summary

Faster, more stable instance segmentation and more reliable exports. This release accelerates mask cropping by ~3x, hardens ONNX/RT-DETR exports, and restores official Jetson JetPack 5 Docker builds β€” all while refreshing docs and tutorials. βš‘οΈπŸ›‘οΈπŸ§

πŸ“Š Key Changes

  • βœ‚οΈ Segmentation speedup (priority)

    • Refactored utils.ops.crop_mask for ~3x faster mask cropping on small batches (e.g., 6 masks on M4 MacBook Pro) by using efficient per-mask slicing for n<50 and vectorized logic for larger batches.
    • Reduced memory use and simplified logic; safer integer box indexing and cleaner interpolation.
    • Additional performance tweak: only filters predictions without masks when needed (amax-based check) to avoid slow indexing on common cases.
    • PR: Segmentation crop_masks speedup (#22386) by @glenn-jocher
  • 🧭 ONNX export reliability

  • 🚫 RT-DETR export safeguards

  • πŸ“¦ Export Docker stability

  • 🐧 Jetson support

  • πŸ“š Docs and examples

    • Updated and added tutorial videos across multiple pages (RT-DETR, YOLO-World, YOLOE, Track mode, Distance Calculation) to improve onboarding.
    • Minor example fix: dataset download path now defaults to dir='datasets'.
    • PR: Docs video refresh (#22408) by @RizwanMunawar

🎯 Purpose & Impact

  • Faster segmentation inference and lower memory usage, especially for typical use cases with fewer masks (beneficial across CPU/GPU and Apple Silicon). πŸš€
  • More robust and predictable ONNX exports on PyTorch 2.4+; fewer surprises in CI/CD and deployments (including Ultralytics HUB). πŸ›‘οΈ
  • Correct-by-default RT-DETR exports that avoid unsupported NMS paths and enforce compatible opsets. βœ…
  • Stable, reproducible Docker-based exports for IMX targets; reduced breakage from upstream library changes. πŸ”’
  • Jetson users get up-to-date, official JetPack 5 images, simplifying ARM64 edge deployments. 🧩
  • Clearer learning resources and smoother onboarding with refreshed video tutorials. πŸŽ₯

Tip: Upgrade with pip install -U ultralytics and enjoy speedups automaticallyβ€”no code changes needed for segmentation or export workflows.

What's Changed

Full Changelog: v8.3.214...v8.3.215

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.