pypi ultralytics 8.3.248
v8.3.248 - `ultralytics 8.3.248` Target correct Python env for auto-install (#23118)

latest releases: 8.3.250, 8.3.249
4 days ago

🌟 Summary (single-line synopsis)

Ultralytics v8.3.248 makes auto-installation more reliable by ensuring uv pip install installs into the currently running Python environment (plus a couple of small quality-of-life fixes) 🧰✅

📊 Key Changes

  • Auto-install now targets the active interpreter explicitly (PR #23118) 🧪🎯
    • check_requirements() runs uv pip install with --python {sys.executable} so installs go to the right environment (venv/conda/system).
    • Removed the previous fallback that retried with uv pip install --system, which could accidentally install into the system Python.
  • IMX export: more robust imxconv-pt discovery 🔍📦
    • Export code now looks for imxconv-pt in the current Python’s bin/ directory first (venv-friendly), then falls back to PATH.
    • If not found, it raises a clear error with the install hint: pip install imx500-converter[pt].
  • Cleaner plotting code comment (PR #23114) 🧹
    • Removed an incorrect TODO that implied a required box-format conversion might be unnecessary (reduces contributor confusion).
  • Docker images: quieter logs 🐳🔇
    • Adds TORCH_CPP_LOG_LEVEL=ERROR to suppress noisy PyTorch NNPACK warnings in containers.

🎯 Purpose & Impact

  • Fewer “installed to the wrong Python” dependency issues 🎯✅
    Users in virtualenv/conda, CI, or unusual setups (where VIRTUAL_ENV isn’t set) should see more predictable installs and fewer broken environments.
  • More dependable IMX export workflows 🚀
    Exporting for IMX (via imxconv-pt) should “just work” more often inside venvs, and fails faster with an actionable message when the tool isn’t installed.
  • Improved developer experience 🛠️
    Cleaner code signals (plotting) and less log noise (Docker) make debugging and maintenance easier.

What's Changed

Full Changelog: v8.3.247...v8.3.248

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.