v8.4.185
v8.4.185 - Load MNN on glibc 2.41+ by clearing its unused executable-stack flag (#26861)
Added 1
- Opt-in Windows ML support through the existing ONNX backend on supported Windows 11 systems, allowing Windows ML's ONNX Runtime and its hardware execution provider selection to be used while preserving existing session options
Changed 5
- TensorFlow export now uses a compatible onnx2tf 1.x version on Python 3.13 to fix Edge TPU op mapping
- RandomHSV augmentation now uses a single multi-channel lookup table for faster processing
- The Platform Predict tab documentation describes which images are resized in the browser and the signup screenshot is refreshed
- Documentation covers importing Weights & Biases checkpoints and refreshed integration screenshots on Platform
- Documentation clarifies AI features for Platform cloud storage integrations and citation admonition titles are standardized across docs
Fixed 6
- MNN modules now load on glibc 2.41+ systems such as Ubuntu 25.04/26.04 and Debian 13 by clearing the unused executable-stack flag in affected MNN x86_64 modules before importing them
- Classification resume now preserves the checkpoint's image size and removes the broken torchvision shortcut
- LLM image input now scales 16-bit PIL and NumPy images the same way as image paths
- Experiment-tracking runs and console capture are closed and stopped after training errors
- Downsampled confusion matrix plots keep the background row and column
- Google Drive direct download links and any-case share links are now resolved correctly
From ultralytics
🌟 Summary
This release primarily fixes MNN loading on newer Linux systems, while improving ONNX deployment options, export reliability, and several training and inference workflows.
📊 Key Changes
- MNN on newer Linux: The headline change addresses an import failure on glibc 2.41+ systems, including Ubuntu 25.04/26.04 and Debian 13. Ultralytics now clears an unused executable-stack flag in affected MNN x86_64 modules before importing them, allowing MNN export and inference to work.
- More ONNX deployment choices: On supported Windows 11 systems, users can explicitly install Windows ML’s ONNX Runtime and let it select hardware execution providers. Existing session options are preserved.
- Improved Edge TPU exports on Python 3.13: TensorFlow export now uses a compatible
onnx2tf1.x version across Python versions. In reported testing, this changed a YOLO26 export from 20 to 652 operations mapped to the Edge TPU, with far fewer left for the CPU. - Training and inference fixes: Classification resume now retains the checkpoint’s image size. LLM image input handles 16-bit PIL and NumPy images more consistently, and failed training runs clean up experiment-tracking runs and Platform console capture.
- Other reliability and performance improvements: HSV augmentation now uses a single multi-channel lookup operation; large confusion-matrix plots retain the background row and column; and Google Drive downloads better support direct links and uppercase URLs.
- Platform and documentation updates: Docs now cover importing W&B checkpoints and clarify cloud-storage AI features, image-generation permissions, Roboflow imports, and browser-side image resizing. Citation blocks are also presented consistently across documentation.
🎯 Purpose & Impact
- Unblocks MNN users on modern Linux: The executable-stack flag was not needed by MNN’s kernels, but newer glibc versions reject it. Clearing it should restore MNN imports without changing MNN’s actual inference behavior.
- Expands hardware deployment options: Windows ML provides an opt-in route for ONNX inference on supported Windows devices, while the
onnx2tfadjustment helps more exported model operations run on Edge TPU rather than falling back to CPU. - Makes workflows more dependable: Resuming classification training, passing image data to LLMs, downloading Google Drive files, and handling training failures should now behave more consistently.
- Makes Platform capabilities and requirements easier to understand: The documentation clarifies how to connect and use integrations, including when cloud-storage write access is needed.
What's Changed
- Standardize citation admonition titles across docs by @glenn-jocher in https://github.com/ultralytics/ultralytics/pull/26844
- Chatbot sweep: show where to open dataset split redistribution by @glenn-jocher in https://github.com/ultralytics/ultralytics/pull/26848
- Document AI features for Platform cloud storage integrations by @glenn-jocher in https://github.com/ultralytics/ultralytics/pull/26853
- Document Platform W&B imports and refresh integration screenshots by @glenn-jocher in https://github.com/ultralytics/ultralytics/pull/26858
- Describe which images the Platform Predict tab resizes and refresh the signup screenshot by @raimbekovm in https://github.com/ultralytics/ultralytics/pull/26852
- Resolve Google Drive direct download links and any-case share links by @raimbekovm in https://github.com/ultralytics/ultralytics/pull/26857
- Keep the background row and column in downsampled confusion matrix plots by @MohammadHijjawi97 in https://github.com/ultralytics/ultralytics/pull/26845
- Speed up RandomHSV augmentation with a single multi-channel LUT by @cainiao33 in https://github.com/ultralytics/ultralytics/pull/26839
- Scale 16-bit PIL and NumPy images in LLM image input like image paths by @raimbekovm in https://github.com/ultralytics/ultralytics/pull/26855
- Use onnx2tf 1.x on Python 3.13 to fix Edge TPU op mapping by @Y-T-G in https://github.com/ultralytics/ultralytics/pull/26849
- Preserve classification resume image size and remove the broken torchvision shortcut by @Nikhi00718 in https://github.com/ultralytics/ultralytics/pull/26808
- Close tracking runs and stop console capture after training errors by @raimbekovm in https://github.com/ultralytics/ultralytics/pull/26825
- Support opt-in Windows ML through the existing ONNX backend by @Y-T-G in https://github.com/ultralytics/ultralytics/pull/26784
- Load MNN on glibc 2.41+ by clearing its unused executable-stack flag by @glenn-jocher in https://github.com/ultralytics/ultralytics/pull/26861
Full Changelog: https://github.com/ultralytics/ultralytics/compare/v8.4.184...v8.4.185