🌟 Summary
The YOLOv8 v8.3.77 release introduces a significant performance optimization for ONNX Runtime segmentation models, as well as essential compatibility enhancements and minor fixes. 🚀
📊 Key Changes
-
🚀 YOLOv8-Segment Optimization (ONNX Runtime)
- Post-processing was drastically improved for both GPU (91.7% faster) and CPU (58.9% faster), resulting in a total inference speedup of up to 32.4%.
-
🔧 Optional
thop
Dependency Support- Made the
thop
library optional by handling its absence gracefully to avoid errors in environments lacking it.
- Made the
-
📂 ONNX Export Improvements
- Streamlined ONNX dynamic model export logic by revising type handling, ensuring better reliability and maintainability.
🎯 Purpose & Impact
-
Faster and More Efficient Inference ⚡
- The optimization of YOLOv8-Segment ONNX Runtime reduces latency significantly, improving user experiences in deployment scenarios where real-time performance is essential.
-
Increased Compatibility with Minimal Setups 🤝
- By making
thop
optional, the release ensures broader support for systems, including lightweight environments like Conda setups, enhancing user flexibility.
- By making
-
Improved Developer Experience 🛠️
- Simplified export logic and code maintainability ensures a more robust development and debugging process for ONNX users.
These updates collectively enhance usability, efficiency, and reliability for YOLOv8 users across diverse applications. 🎉
What's Changed
- Fix dynamic export with YOLO World by @Y-T-G in #19304
- Revert "Fix dynamic export with YOLO World" by @Laughing-q in #19308
- Allow missing
thop
package by @glenn-jocher in #19314 ultralytics 8.3.77
faster YOLOv8-Segment ONNX Runtime example by @AdnanEkici in #19312
New Contributors
- @AdnanEkici made their first contribution in #19312
Full Changelog: v8.3.76...v8.3.77