pypi ultralytics 8.4.174
v8.4.174 - `ultralytics 8.4.174` Fix AutoBatch backward profiling for YOLO26 and speed up prediction logs (#26547)

4 hours ago

🌟 Summary

Release 8.4.174 fixes AutoBatch’s backward-pass profiling for YOLO26 and speeds up prediction summaries, alongside improvements to exports, inference, tracking, and data handling.

📊 Key Changes

  • AutoBatch profiling — the main change: The profiler now finds tensors inside nested model outputs, so backward profiling works with YOLO26 detection heads and other task heads. Prediction summaries also avoid unnecessary tensor conversions, making their logs faster.
  • More reliable inference and exports: Dynamic CoreML models can handle batches larger than their exported batch size by processing them in chunks. Hailo INT8 optimization now receives reusable calibration images, fixing calibration methods that need to revisit the data.
  • Correct edge-case behavior: Fast-NMS now keeps detections when the IoU threshold is zero. Tracking hides unconfirmed tracks when appropriate without dropping first-frame detections. INT8 calibration warnings are limited to export formats that support calibration data.
  • Improved data handling: Dataset splitting preserves the caller’s random state, DOTA splitting accepts images without label files, and image loading and shape calculations better handle EXIF rotations and Unicode paths. Saved crops also retain dotted source names.
  • More dependable model setup: Predictors and trackers are rebuilt when relevant setup arguments change; model-format detection handles compound filenames more reliably. YouTube inputs no longer require a stream of at least 1080p.
  • Documentation and packaging updates: Guides cover per-object depth estimates and newer Platform workflows, including image search and live-camera inference. Docker images can cache Python bytecode, while CI and Conda guidance were updated for more compatible dependency resolution.

🎯 Purpose & Impact

  • AutoBatch can now measure YOLO26 training memory more accurately. Because backward profiling runs successfully, automatic batch-size selections may change; fixed-batch training and prediction are unaffected.
  • Exported models are more practical across deployment targets. CoreML handles larger prediction batches, and Hailo calibration methods that revisit their input data can work as intended.
  • Predictions and datasets are more consistent in edge cases, reducing unexpected missing detections, failed dataset splits, or crop files that are hard to match to their sources.
  • No model architecture, checkpoint, or default changes are introduced.

What's Changed

New Contributors

Full Changelog: v8.4.173...v8.4.174

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.