Libre YOLO - An open source YOLO library with MIT license.
Project description
LibreYOLO
MIT-licensed object detection library with training and inference support across YOLOv9 (t, s, m, c), YOLOX (n, t, s, m, l, x), YOLO-NAS (s, m, l), RF-DETR (n, s, m, l), and D-FINE (n, s, m, l, x).
Installation
pip install libreyolo
For optional runtime and export dependencies such as ONNX Runtime, OpenVINO, TensorRT, NCNN, and RF-DETR, see the full docs.
Inference Backend and Export Support
Format Status
| Format | Export | Runtime backend | Status | Precision | Notes |
|---|---|---|---|---|---|
| ONNX | Yes | ONNX Runtime | Supported | FP32, FP16 | Release-blocking export path and the broadest tested runtime target. |
| TorchScript | Yes | PyTorch JIT | Experimental | FP32, FP16 | Useful compatibility target, but not a release gate. |
TensorRT (tensorrt / trt) |
Yes | TensorRT | Experimental | FP32, FP16, INT8 | CUDA-only path. INT8 requires calibration data. |
| OpenVINO | Yes | OpenVINO | Experimental | FP32, FP16, INT8 | Runtime-specific path with CPU-oriented deployment coverage. |
| NCNN | Yes | NCNN | Experimental | FP32, FP16 | Highest maintenance overhead today. No INT8 path, and some DETR-family models are not supported. |
The e2e suite mirrors this policy with pytest markers: supported_backend for ONNX and experimental_backend for the other export backends.
Model Family Matrix
✓ supported, ~ supported with caveats, — intentionally unsupported
| Model family | ONNX | TorchScript | TensorRT | OpenVINO | NCNN |
|---|---|---|---|---|---|
| YOLOX | ✓ | ✓ | ✓ | ✓ | ✓ |
| YOLOv9 | ✓ | ✓ | ✓ | ✓ | ✓ |
| YOLO-NAS | ✓ | ✓ | ✓ | ✓ | ✓ |
| RF-DETR | ✓ | ~ | ✓ | ✓ | ~ |
| D-FINE | ✓ | ✓ | ✓ | ✓ | — |
| RT-DETR | ✓ | ✓ | ✓ | ✓ | — |
Notes:
- RF-DETR TorchScript export exists, but tracing can still be brittle on some checkpoints and shapes.
- NCNN is intentionally blocked for D-FINE and RT-DETR because the runtime lacks required DETR query-selection ops.
- RF-DETR on NCNN is not blocked at export time, but current e2e coverage still tracks known runtime limitations.
Quick Start
from libreyolo import LibreYOLO, SAMPLE_IMAGE
# Auto-detect family and size from the checkpoint name
model = LibreYOLO("LibreYOLOXs.pt")
result = model(SAMPLE_IMAGE, save=True)
print(f"Detected {len(result)} objects")
print(result.boxes.xyxy)
print(result.saved_path)
Documentation
Full documentation at libreyolo.com/docs.
License
- Code: MIT License
- Weights: Pre-trained weights may inherit licensing from the original source
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libreyolo-1.1.0.tar.gz.
File metadata
- Download URL: libreyolo-1.1.0.tar.gz
- Upload date:
- Size: 260.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e949f8708b131a5d752aa9674b316842209396e6b8700aabbef56e6d90297793
|
|
| MD5 |
02eae21e6377aba2b672e098a99bbfca
|
|
| BLAKE2b-256 |
b96395f684ed215302242e585055c9b03ad5070d4b76e0da1cb3a89b53aaaf66
|
Provenance
The following attestation bundles were made for libreyolo-1.1.0.tar.gz:
Publisher:
publish.yml on LibreYOLO/libreyolo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
libreyolo-1.1.0.tar.gz -
Subject digest:
e949f8708b131a5d752aa9674b316842209396e6b8700aabbef56e6d90297793 - Sigstore transparency entry: 1395343003
- Sigstore integration time:
-
Permalink:
LibreYOLO/libreyolo@c29c5bd4d9ede734ff60d2c5d954c48b9a20900a -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/LibreYOLO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c29c5bd4d9ede734ff60d2c5d954c48b9a20900a -
Trigger Event:
push
-
Statement type:
File details
Details for the file libreyolo-1.1.0-py3-none-any.whl.
File metadata
- Download URL: libreyolo-1.1.0-py3-none-any.whl
- Upload date:
- Size: 311.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afdf00ea3b073ea08c02b43087b97d1914ab595e303b6631a249b25b15e3da23
|
|
| MD5 |
ee7002f8bcad57baed33b95b17163eab
|
|
| BLAKE2b-256 |
53721ec2457c88063381137bd62ae6cd474547ed5e13df8aca3c9ebfb8825d2e
|
Provenance
The following attestation bundles were made for libreyolo-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on LibreYOLO/libreyolo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
libreyolo-1.1.0-py3-none-any.whl -
Subject digest:
afdf00ea3b073ea08c02b43087b97d1914ab595e303b6631a249b25b15e3da23 - Sigstore transparency entry: 1395343014
- Sigstore integration time:
-
Permalink:
LibreYOLO/libreyolo@c29c5bd4d9ede734ff60d2c5d954c48b9a20900a -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/LibreYOLO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c29c5bd4d9ede734ff60d2c5d954c48b9a20900a -
Trigger Event:
push
-
Statement type: