pypi ultralytics 8.4.222
v8.4.222 - Cap OpenVINO CPU threads only when a cgroup quota is tighter than the plugin's own pool (#27378)

one hour ago

🌟 Summary

Improved OpenVINO CPU inference in Linux containers by respecting tighter CPU quotas, with a small documentation update for repository coverage reports.

📊 Key Changes

  • 🧵 OpenVINO thread limits: For Linux CPU inference, the backend now checks the plugin’s thread pool against the available CPU limit. If a cgroup v2 quota—such as a Docker or Kubernetes CPU limit—is tighter, it caps the pool and recompiles the model.
  • ⚙️ Preserves normal plugin behavior: The cap is applied only when the quota is more restrictive; otherwise, OpenVINO keeps its own thread-pool choice.
  • 📈 Coverage documentation: Added sdk and lite to the CI documentation’s repository coverage table, with links to their Codecov reports.

🎯 Purpose & Impact

  • 🚀 Containerized CPU inference can better match its allocated resources, helping avoid OpenVINO creating a thread pool sized for the full host when the container has a smaller CPU quota.
  • 🖥️ Hosts without a tighter quota retain OpenVINO’s existing behavior.
  • 🔎 Readers can now find coverage reports for the sdk and lite repositories directly from the CI documentation.

No model architecture changes are included in this release.

What's Changed

  • Docs: add sdk and lite to the coverage table by @glenn-jocher in #27431
  • Cap OpenVINO CPU threads only when a cgroup quota is tighter than the plugin's own pool by @cainiao33 in #27378

Full Changelog: v8.4.221...v8.4.222

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.