Instructions to use nnopt-dev/YOLO11n-TensorRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use nnopt-dev/YOLO11n-TensorRT with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from nnopt-dev/YOLO11n-TensorRT: direct link, hf CLI and curl.
- Browser
- Download file 3.07 kB
-
https://huggingface.co/nnopt-dev/YOLO11n-TensorRT/resolve/main/README.md
- Command line
-
hf download hf://nnopt-dev/YOLO11n-TensorRT/README.md
-
curl -L -o README.md https://huggingface.co/nnopt-dev/YOLO11n-TensorRT/resolve/main/README.md
3.07 kB
| license: agpl-3.0 | |
| base_model: Ultralytics/YOLO11 | |
| pipeline_tag: object-detection | |
| tags: | |
| - on-device | |
| - nnopt | |
| - tensorrt | |
| - cuda | |
| - jetson | |
| - gpu | |
| - int8 | |
| - object-detection | |
| - jetson-orin-nano | |
| # YOLO11n on NVIDIA Jetson Orin Nano (TensorRT) | |
| Ported and verified on a real NVIDIA Jetson Orin Nano by [nnopt.dev](https://nnopt.dev) — AI agents that port and optimize models for the hardware you ship. | |
| The model is [Ultralytics YOLO11n](https://huggingface.co/Ultralytics/YOLO11) (`yolo11n.pt` v8.3.0) by Ultralytics, and it is theirs. The TensorRT port in this repository is nnopt's work: nnopt job NN-373FB4. | |
| | | | | |
| |---|---| | |
| | Device | NVIDIA Jetson Orin Nano, JetPack 6 (Linux) | | |
| | Chip | Jetson Orin Nano | | |
| | Processor | GPU (Jetson Orin Nano, CUDA) | | |
| | Runtime | TensorRT 10.3 (Python API) + CUDA 12.6, JetPack 6 | | |
| | Precision | int8 | | |
| | Modality | image -> objects (detection) | | |
| | Weights | fetched: fetch.sh downloads yolo11n.pt from Ultralytics; the INT8 engine is built on the Jetson by deploy.sh | | |
| | nnopt job | NN-373FB4 (port) | | |
| | Folder | [`orin-nano-gpu-int8/`](https://huggingface.co/nnopt-dev/YOLO11n-TensorRT/tree/main/orin-nano-gpu-int8) | | |
| ## Verified results | |
| nnopt built the folder from a clean copy, deployed it to the device and checked it against the model's reference code on hidden inputs. The full report is `report.html` in the folder. | |
| - Passed. mAP@0.5 vs reference 95.6% (bar at least 85.0%, int8 precision) | |
| - Throughput 187 images/s | |
| - Latency 5.4 ms | |
| - Load time 519 ms | |
| - Peak memory 455 MB | |
| ## Use it | |
| ``` | |
| mkdir YOLO11n-TensorRT && cd YOLO11n-TensorRT | |
| curl -fsSL https://huggingface.co/nnopt-dev/YOLO11n-TensorRT/resolve/main/config.json -o config.json | |
| hf download nnopt-dev/YOLO11n-TensorRT --include "orin-nano-gpu-int8/*" --local-dir . | |
| cd orin-nano-gpu-int8 | |
| bash fetch.sh | |
| NNOPT_WEIGHTS=$PWD/weights/yolo11n.pt bash build.sh # python3 with torch + numpy: module tree + BN-fused weights | |
| bash deploy.sh nnopt/port # rsync to ssh host 'jetson', builds the INT8 TensorRT engine there (~10 min) | |
| ssh jetson 'cd nnopt/port && sh ./run.sh --image bus.jpg --repeat 10 --out out.json --metrics m.json' | |
| ``` | |
| Needs: A build host with python3, torch and numpy; a Jetson Orin Nano with JetPack 6 (TensorRT 10.3, CUDA 12.6) reachable as ssh host `jetson`. | |
| `README.md` in the folder has every flag, the requirements and the known limits; `REPRO.md` (where present) reproduces the measurements. | |
| ## License | |
| AGPL-3.0, like Ultralytics YOLO11: see LICENSE and NOTICE. The full source of the port is in this repository. For uses that cannot follow AGPL-3.0, Ultralytics offers an Enterprise License. | |
| ## Made with nnopt | |
| [nnopt](https://nnopt.dev) is a platform where AI agents port, optimize and benchmark a model for a specific device. They write the runtime code on the real device, and a locked verification kit then checks the result against the model's own reference code before anything ships. Every number on this page comes from that check. | |
| Want your model on your device? Start a job at [nnopt.dev](https://nnopt.dev). | |