pypi ultralytics 8.3.81
v8.3.81 - `ultralytics 8.3.81` Fix Metrics `on_plot` circular references (#19318)

one day ago

๐ŸŒŸ Summary

The Ultralytics v8.3.81 release resolves a critical memory management issue in model validation while introducing key updates to documentation, testing workflows, and system reporting for enhanced usability and efficiency. ๐Ÿš€โœจ


๐Ÿ“Š Key Changes

  • ๐Ÿงน Memory Leak Fix in Validation Modules:
    Resolved circular references in metrics (on_plot) across validators (DetectionValidator, PoseValidator, etc.) to avoid CPU memory leaks during repeated evaluations.
  • ๐Ÿ“š Documentation Enhancements:
    Added examples for annotators in the library, and fixed/corrected metadata instructions for Triton guides and links in SAM 2 documentation.
  • ๐Ÿง Raspberry Pi CI Improvements:
    Re-enabled Raspberry Pi CI workflow with improved benchmarks and added cleanup for self-hosted CI runners.
  • ๐Ÿ” Installation Diagnostics Update:
    Added project root installation path in the system environment summary for easier debugging.
  • ๐Ÿ“Š Better Table Sorting in Docs:
    Improved table sorting functionality for file sizes, numbers, and dot-separated values.

๐ŸŽฏ Purpose & Impact

  • Memory Management Improvement:
    Eliminates residual memory accumulation when evaluating models repeatedly in scripts, preventing CPU overloading and Out-Of-Memory (OOM) errors. This fix improves the efficiency and reliability of long-running evaluation pipelines. ๐Ÿง ๐Ÿ”ฅ
  • User-Friendly Documentation:
    New usage examples and enhanced instructions make it easier for developers to understand and implement key features. Correcting SAM 2 links ensures access to the right research resources. ๐Ÿ“š๐Ÿ’ก
  • Expanded Testing Coverage:
    Re-enabling Raspberry Pi CI and adding benchmarks enhances testing on diverse hardware, ensuring broader reliability across platforms. Improved CI cleanup reduces risks of resource conflicts. ๐ŸŒ๐Ÿ”ง
  • Debugging Simplification:
    Including installation paths in diagnostics facilitates resolving Python environment-related issues for developers. ๐Ÿ”๐Ÿ› ๏ธ
  • Enhanced Sorting for Visual Data:
    Improved table sorting in docs boosts usability, especially when navigating large datasets or results with complex numbering or file size values. ๐Ÿ“ˆโœจ

Overall, this update strengthens performance, stability, and developer experience, while prioritizing clarity and usability for the broader community. ๐ŸŽ‰

What's Changed

New Contributors

Full Changelog: v8.3.80...v8.3.81

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.