ultralytics v8.4.186

v8.4.186

v8.4.186 - Load torch 1.10-1.12 on glibc 2.41+ with one shared executable-stack fix for torch and MNN (#26866)

Changed 2
  • Added a shared import helper that handles the executable-stack fix, while other import errors are still raised normally
  • Updated the utility reference documentation
Fixed 2
  • Fixed imports of PyTorch 1.10-1.12 on glibc 2.41 and later by clearing an unused executable-stack flag from affected shared libraries when glibc rejects them
  • Fixed MNN imports on glibc 2.41 and later using the same shared executable-stack fix
Removed 1
  • Removed the MNN-specific import helper, which is now redundant

From ultralytics

🌟 Summary

Improves compatibility with newer Linux systems by fixing imports for some older PyTorch versions and MNN on glibc 2.41 and later.

📊 Key Changes
  • 🛠️ Adds a shared import helper that clears an unused executable-stack flag from affected shared libraries when glibc rejects them.
  • 🔥 Uses the fix for PyTorch 1.10–1.12 and MNN; other import errors are still raised normally.
  • 📚 Updates the utility reference documentation and removes the now-redundant MNN-specific import helper.
🎯 Purpose & Impact
  • ✅ Helps import ultralytics and MNN imports work on affected x86_64 Linux systems, including Ubuntu 26.04.
  • 🔄 Improves compatibility for users maintaining older PyTorch installations, without changing models or their behavior.
  • 📦 This is a platform compatibility release, not a model or feature update.
What's Changed

Full Changelog: https://github.com/ultralytics/ultralytics/compare/v8.4.185...v8.4.186

View original

Upgraded? How did it go?

Discussion