File size: 3,068 Bytes
804e922
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
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).