pypi ultralytics 8.3.30
v8.3.30 - `ultralytics 8.3.30` run TAL on CPU if `torch.OutOfMemoryError` (#17515)

latest release: 8.3.31
19 hours ago

🌟 Summary

Version 8.3.30 of Ultralytics introduces a resilient fallback for running task alignment processes on CPU in case of GPU memory shortages, enhancing stability and user experience for YOLO applications. 🚀

📊 Key Changes

  • Memory Management: Implemented a CPU fallback mechanism for task alignment calculations if a GPU torch.OutOfMemoryError occurs.
  • Method Refactoring: Introduced a helper method _forward to elegantly manage memory overflow conditions.
  • Docker and Documentation Fixes: Improved Docker image tagging and fixed a broken Jetson device documentation link.
  • Enhanced Features: Simplified documentation examples and introduced a new RegionCounter module for easier region-based object counting.

🎯 Purpose & Impact

  • Stability and Reliability: By ensuring task alignment processes can run on CPU under memory pressure, the update prevents application crashes and allows users with limited GPU resources to continue operations smoothly.
  • User Experience: The changes make YOLO operations more flexible and robust, especially in environments with constrained computational resources, helping users to maintain performance without interruptions.
  • Documentation and Usability: Improved documentation clarity makes it easier for both new and existing users to implement video analytics and other YOLO model features effectively. The RegionCounter addition simplifies integrating real-time object counting in specific video regions, broadening the tool's practical applications. 🔧

These updates and enhancements ensure that users have a smoother and more reliable experience with Ultralytics YOLO, particularly in resource-constrained settings.

What's Changed

New Contributors

Full Changelog: v8.3.29...v8.3.30

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.