pypi ultralytics 8.3.178
v8.3.178 - `ultralytics 8.3.178` new lighter `Dockerfile-python` images (#21661)

latest releases: 8.3.193, 8.3.192, 8.3.191...
22 days ago

🌟 Summary

Lighter, faster Docker images with a clear split between a minimal Python runtime and a full export toolkit, plus improved build workflows, headless deps, and small API enhancements for smoother installs and preprocessing. πŸš€πŸ³

πŸ“Š Key Changes

  • Docker images overhaul (priority)
    • New split: lightweight latest-python for inference ⚑ and full latest-python-export for model export (Edge TPU, NCNN, IMX, Paddle) 🧰
    • CI builds derivatives automatically (runner, jupyter, cpu, python-export) from base images; unified push flow πŸ—οΈ
    • Tests/benchmarks run against latest-python-export when appropriate to ensure export paths are validated βœ…
    • Image descriptions/tags clarified; generalized β€œYOLO11” β†’ β€œYOLO”; consistent handling across GPU and Jetson images 🏷️
  • Smaller, more compatible images
    • Switched to opencv-python-headless and default-jre-headless in Docker builds 🧠
    • Consolidated RUN steps, added cleanup, and applied security updates; faster builds with fewer layers πŸ§ΉπŸ”’
  • Export and backend reliability
    • NCNN installs now use --no-deps to avoid pulling opencv-python; mirrors in autobackend loader πŸ”§
    • Docs/comments include RKNN export artifact name yolo11n_rknn_model πŸ“˜
  • Preprocessing flexibility
    • LetterBox now supports padding_value and interpolation parameters for finer control over resize/pad behavior 🎨
  • Supply chain improvements
    • SBOM generation scoped to an isolated β€œsbom-env” via uv sync; Anchore scans that env and outputs SPDX JSON πŸ”’πŸ“¦
  • Version bump
    • Ultralytics package updated to 8.3.178 πŸ”–

🎯 Purpose & Impact

  • Faster pulls and quicker startup for most users by defaulting to a slim inference image; heavy export deps moved to a dedicated image βš‘πŸ“¦
  • More reliable CI and clearer image taxonomy reduce confusion and improve maintenance, especially across GPU/Jetson variants 🧭
  • Leaner, headless images cut download size, build times, and potential GUI-related conflicts; improved security posture β±οΈπŸ”
  • Smoother NCNN workflows and fewer dependency conflicts, especially on minimal or ARM64 environments 🧩
  • Better preprocessing control can improve model performance across diverse data types (e.g., thermal, grayscale, custom backgrounds) 🎯
  • Clearer SBOMs enhance transparency and compliance for organizations using Ultralytics in production πŸ›‘οΈ

Enjoy faster, cleaner Docker workflows and more configurable pipelinesβ€”whether you’re prototyping with YOLO or exporting to edge backends. πŸš€βœ¨

What's Changed

Full Changelog: v8.3.177...v8.3.178

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.