Repository navigation
v1.7.2
LibreYOLO v1.7.2, a patch release that makes pip install "libreyolo[all]" and the other extras install cleanly with pip and uv on Linux, Windows and macOS (#989).
Changed
libreyolo[all]no longer includespaddle. (#989)
X2Paddle needs ONNX 1.17 or earlier while the TFLite exporter inallneeds ONNX 1.20, so the two cannot share an environment. Installlibreyolo[paddle]on its own; Paddle export needs Python 3.10 or 3.11.
Fixed
-
pip install "libreyolo[all]"works on Python 3.12 and 3.13, Apple Silicon and Linux ARM. (#989)
On Python 3.12 and newer thepaddleandtfliteextras inallpinned incompatible ONNX versions, so pip failed or fell back to an older LibreYOLO release. On macOS and Linux ARM,vlm,vlm-train,groundandallfailed ondecord, which ships wheels for Linux x86_64 and Windows only; it is now installed only there, the platforms where LocateAnything can run.tensorrt-cu12, which has no ARM wheels, is skipped on Linux ARM, where JetPack provides TensorRT. Loading LocateAnything where decord is not available now says so before downloading its weights, and Core AI export on Python 3.10 says it needs Python 3.11 instead of repeating the install command. Thanks @gboeer. -
Every extra installs without a compiler on Linux x86_64 and Windows, and on Apple Silicon with Python 3.12+. (#989)
pip compiled three packages from source, which fails on a machine without the matching toolchain.tensorrt(and soall) pulledpycuda, which needs the CUDA toolkit headers; it is gone. TensorRT export and inference never needed it, and INT8 calibration usescuda.bindings, which PyPI torch installs on Linux (elsewhere,pip install cuda-python).tflitepulledonnx-simplifier, a C++ build that duplicated theonnxsimmodule theonnxextra already provides; it is gone.coremlpulledcoremltoolson Windows and Linux ARM, where it has no wheels; it is now installed on macOS and Linux x86_64 only, and CoreML export elsewhere says so. Remaining source builds, all upstream: on Linux ARM,tflite(and soall) on Python 3.12+ compiles two packages onnx2tf pins exactly, andexecutorchcompiles coremltools;triton(and soall) compiles gevent on macOS with Python 3.10 or 3.11 (needs the Xcode command line tools) and on Linux ARM with Python 3.10. -
pip install "libreyolo[executorch]"gets a runtime that loads. (#989)
ExecuTorch 1.2's compiled runtime is built against torch 2.11 but accepts any newer torch, so pip paired it with torch 2.15 and loading a.ptefailed withSymbol not foundinlibc10. The extra now pinstorch>=2.11,<2.12. -
MNN and ExecuTorch export work from a virtualenv that is not activated. (#989)
Running the venv's python directly (an IDE run button, a Jupyter kernel,venv/bin/python script.py) leftmnnconvertand ExecuTorch'sflatcoffPATH, so MNN export saidmnnconvertwas missing and ExecuTorch export could not startflatc. Both are now found in the environment's own scripts directory. -
A failing
import MNNon current Linux says why. (#989)
MNN's Linux wheel asks for an executable stack, which glibc 2.41 and newer refuse (Ubuntu 25.04+, Fedora 42+), so MNN export and inference failed with "Install with: pip install libreyolo[mnn]" although MNN was installed. The error now names the cause and the workarounds:GLIBC_TUNABLES=glibc.rtld.execstack=2(glibc 2.42+) orpatchelf --clear-execstack. -
uv syncresolves from a source checkout. (#989)
The dev group asked for pytest 9 while ExecuTorch 1.2 requires pytest below 9,coreai-torchwas requested on Python 3.10 although it needs 3.11, and extras that cannot share an environment (vlawithmolmo2ormarigold,executorchorpaddlewithtflite) were not declared as conflicts. A newDependency resolutionworkflow resolvesuv lockand every extra on Python 3.10 to 3.13 for Linux x86_64, Linux ARM, Windows and Apple Silicon, on dependency changes and nightly. Thanks @gboeer.
pip install --upgrade libreyolo