Skip to content

Quick Start Guide: NVIDIA Jetson with Ultralytics YOLO11

This comprehensive guide provides a detailed walkthrough for deploying Ultralytics YOLO11 on NVIDIA Jetson devices. Additionally, it showcases performance benchmarks to demonstrate the capabilities of YOLO11 on these small and powerful devices.

New product support

We have updated this guide with the latest NVIDIA Jetson Orin Nano Super Developer Kit which delivers up to 67 TOPS of AI performance โ€” a 1.7X improvement over its predecessor โ€” to seamlessly run the most popular AI models.



Watch: How to Setup NVIDIA Jetson with Ultralytics YOLO11

NVIDIA Jetson Ecosystem

Note

This guide has been tested with NVIDIA Jetson Orin Nano Super Developer Kit running the latest stable JetPack release of JP6.1, Seeed Studio reComputer J4012 which is based on NVIDIA Jetson Orin NX 16GB running JetPack release of JP6.0/ JetPack release of JP5.1.3 and Seeed Studio reComputer J1020 v2 which is based on NVIDIA Jetson Nano 4GB running JetPack release of JP4.6.1. It is expected to work across all the NVIDIA Jetson hardware lineup including latest and legacy.

What is NVIDIA Jetson?

NVIDIA Jetson is a series of embedded computing boards designed to bring accelerated AI (artificial intelligence) computing to edge devices. These compact and powerful devices are built around NVIDIA's GPU architecture and are capable of running complex AI algorithms and deep learning models directly on the device, without needing to rely on cloud computing resources. Jetson boards are often used in robotics, autonomous vehicles, industrial automation, and other applications where AI inference needs to be performed locally with low latency and high efficiency. Additionally, these boards are based on the ARM64 architecture and runs on lower power compared to traditional GPU computing devices.

NVIDIA Jetson Series Comparison

Jetson Orin is the latest iteration of the NVIDIA Jetson family based on NVIDIA Ampere architecture which brings drastically improved AI performance when compared to the previous generations. Below table compared few of the Jetson devices in the ecosystem.

Jetson AGX Orin 64GB Jetson Orin NX 16GB Jetson Orin Nano Super Jetson AGX Xavier Jetson Xavier NX Jetson Nano
AI Performance 275 TOPS 100 TOPS 67 TOPs 32 TOPS 21 TOPS 472 GFLOPS
GPU 2048-core NVIDIA Ampere architecture GPU with 64 Tensor Cores 1024-core NVIDIA Ampere architecture GPU with 32 Tensor Cores 1024-core NVIDIA Ampere architecture GPU with 32 Tensor Cores 512-core NVIDIA Volta architecture GPU with 64 Tensor Cores 384-core NVIDIA Voltaโ„ข architecture GPU with 48 Tensor Cores 128-core NVIDIA Maxwellโ„ข architecture GPU
GPU Max Frequency 1.3 GHz 918 MHz 1020 MHz 1377 MHz 1100 MHz 921MHz
CPU 12-core NVIDIA Armยฎ Cortex A78AE v8.2 64-bit CPU 3MB L2 + 6MB L3 8-core NVIDIA Armยฎ Cortex A78AE v8.2 64-bit CPU 2MB L2 + 4MB L3 6-core Armยฎ Cortexยฎ-A78AE v8.2 64-bit CPU 1.5MB L2 + 4MB L3 8-core NVIDIA Carmel Armยฎv8.2 64-bit CPU 8MB L2 + 4MB L3 6-core NVIDIA Carmel Armยฎv8.2 64-bit CPU 6MB L2 + 4MB L3 Quad-Core Armยฎ Cortexยฎ-A57 MPCore processor
CPU Max Frequency 2.2 GHz 2.0 GHz 1.7 GHz 2.2 GHz 1.9 GHz 1.43GHz
Memory 64GB 256-bit LPDDR5 204.8GB/s 16GB 128-bit LPDDR5 102.4GB/s 8GB 128-bit LPDDR5 102 GB/s 32GB 256-bit LPDDR4x 136.5GB/s 8GB 128-bit LPDDR4x 59.7GB/s 4GB 64-bit LPDDR4 25.6GB/s"

For a more detailed comparison table, please visit the Technical Specifications section of official NVIDIA Jetson page.

What is NVIDIA JetPack?

NVIDIA JetPack SDK powering the Jetson modules is the most comprehensive solution and provides full development environment for building end-to-end accelerated AI applications and shortens time to market. JetPack includes Jetson Linux with bootloader, Linux kernel, Ubuntu desktop environment, and a complete set of libraries for acceleration of GPU computing, multimedia, graphics, and computer vision. It also includes samples, documentation, and developer tools for both host computer and developer kit, and supports higher level SDKs such as DeepStream for streaming video analytics, Isaac for robotics, and Riva for conversational AI.

Flash JetPack to NVIDIA Jetson

The first step after getting your hands on an NVIDIA Jetson device is to flash NVIDIA JetPack to the device. There are several different way of flashing NVIDIA Jetson devices.

  1. If you own an official NVIDIA Development Kit such as the Jetson Orin Nano Developer Kit, you can download an image and prepare an SD card with JetPack for booting the device.
  2. If you own any other NVIDIA Development Kit, you can flash JetPack to the device using SDK Manager.
  3. If you own a Seeed Studio reComputer J4012 device, you can flash JetPack to the included SSD and if you own a Seeed Studio reComputer J1020 v2 device, you can flash JetPack to the eMMC/ SSD.
  4. If you own any other third party device powered by the NVIDIA Jetson module, it is recommended to follow command-line flashing.

Note

For methods 3 and 4 above, after flashing the system and booting the device, please enter "sudo apt update && sudo apt install nvidia-jetpack -y" on the device terminal to install all the remaining JetPack components needed.

JetPack Support Based on Jetson Device

The below table highlights NVIDIA JetPack versions supported by different NVIDIA Jetson devices.

JetPack 4 JetPack 5 JetPack 6
Jetson Nano โœ… โŒ โŒ
Jetson TX2 โœ… โŒ โŒ
Jetson Xavier NX โœ… โœ… โŒ
Jetson AGX Xavier โœ… โœ… โŒ
Jetson AGX Orin โŒ โœ… โœ…
Jetson Orin NX โŒ โœ… โœ…
Jetson Orin Nano โŒ โœ… โœ…

Quick Start with Docker

The fastest way to get started with Ultralytics YOLO11 on NVIDIA Jetson is to run with pre-built docker images for Jetson. Refer to the table above and choose the JetPack version according to the Jetson device you own.

t=ultralytics/ultralytics:latest-jetson-jetpack4
sudo docker pull $t && sudo docker run -it --ipc=host --runtime=nvidia $t
t=ultralytics/ultralytics:latest-jetson-jetpack5
sudo docker pull $t && sudo docker run -it --ipc=host --runtime=nvidia $t
t=ultralytics/ultralytics:latest-jetson-jetpack6
sudo docker pull $t && sudo docker run -it --ipc=host --runtime=nvidia $t

After this is done, skip to Use TensorRT on NVIDIA Jetson section.

Start with Native Installation

For a native installation without Docker, please refer to the steps below.

Run on JetPack 6.1

Install Ultralytics Package

Here we will install Ultralytics package on the Jetson with optional dependencies so that we can export the PyTorch models to other different formats. We will mainly focus on NVIDIA TensorRT exports because TensorRT will make sure we can get the maximum performance out of the Jetson devices.

  1. Update packages list, install pip and upgrade to latest

    sudo apt update
    sudo apt install python3-pip -y
    pip install -U pip
    
  2. Install ultralytics pip package with optional dependencies

    pip install ultralytics[export]
    
  3. Reboot the device

    sudo reboot
    

Install PyTorch and Torchvision

The above ultralytics installation will install Torch and Torchvision. However, these 2 packages installed via pip are not compatible to run on Jetson platform which is based on ARM64 architecture. Therefore, we need to manually install pre-built PyTorch pip wheel and compile/ install Torchvision from source.

Install torch 2.5.0 and torchvision 0.20 according to JP6.1

pip install https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.5.0a0+872d972e41.nv24.08-cp310-cp310-linux_aarch64.whl
pip install https://github.com/ultralytics/assets/releases/download/v0.0.0/torchvision-0.20.0a0+afc54f7-cp310-cp310-linux_aarch64.whl

Note

Visit the PyTorch for Jetson page to access all different versions of PyTorch for different JetPack versions. For a more detailed list on the PyTorch, Torchvision compatibility, visit the PyTorch and Torchvision compatibility page.

Install cuSPARSELt to fix a dependency issue with torch 2.5.0

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install libcusparselt0 libcusparselt-dev

Install onnxruntime-gpu

The onnxruntime-gpu package hosted in PyPI does not have aarch64 binaries for the Jetson. So we need to manually install this package. This package is needed for some of the exports.

All different onnxruntime-gpu packages corresponding to different JetPack and Python versions are listed here. However, here we will download and install onnxruntime-gpu 1.20.0 with Python3.10 support.

pip install https://github.com/ultralytics/assets/releases/download/v0.0.0/onnxruntime_gpu-1.20.0-cp310-cp310-linux_aarch64.whl

Note

onnxruntime-gpu will automatically revert back the numpy version to latest. So we need to reinstall numpy to 1.23.5 to fix an issue by executing:

pip install numpy==1.23.5

Run on JetPack 5.1.2

Install Ultralytics Package

Here we will install Ultralytics package on the Jetson with optional dependencies so that we can export the PyTorch models to other different formats. We will mainly focus on NVIDIA TensorRT exports because TensorRT will make sure we can get the maximum performance out of the Jetson devices.

  1. Update packages list, install pip and upgrade to latest

    sudo apt update
    sudo apt install python3-pip -y
    pip install -U pip
    
  2. Install ultralytics pip package with optional dependencies

    pip install ultralytics[export]
    
  3. Reboot the device

    sudo reboot
    

Install PyTorch and Torchvision

The above ultralytics installation will install Torch and Torchvision. However, these 2 packages installed via pip are not compatible to run on Jetson platform which is based on ARM64 architecture. Therefore, we need to manually install pre-built PyTorch pip wheel and compile/ install Torchvision from source.

  1. Uninstall currently installed PyTorch and Torchvision

    pip uninstall torch torchvision
    
  2. Install torch 2.1.0 and torchvision 0.16.2 according to JP5.1.2

    pip install https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.1.0a0+41361538.nv23.06-cp38-cp38-linux_aarch64.whl
    pip install https://github.com/ultralytics/assets/releases/download/v0.0.0/torchvision-0.16.2+c6f3977-cp38-cp38-linux_aarch64.whl
    

Note

Visit the PyTorch for Jetson page to access all different versions of PyTorch for different JetPack versions. For a more detailed list on the PyTorch, Torchvision compatibility, visit the PyTorch and Torchvision compatibility page.

Install onnxruntime-gpu

The onnxruntime-gpu package hosted in PyPI does not have aarch64 binaries for the Jetson. So we need to manually install this package. This package is needed for some of the exports.

All different onnxruntime-gpu packages corresponding to different JetPack and Python versions are listed here. However, here we will download and install onnxruntime-gpu 1.17.0 with Python3.8 support.

wget https://nvidia.box.com/shared/static/zostg6agm00fb6t5uisw51qi6kpcuwzd.whl -O onnxruntime_gpu-1.17.0-cp38-cp38-linux_aarch64.whl
pip install onnxruntime_gpu-1.17.0-cp38-cp38-linux_aarch64.whl

Note

onnxruntime-gpu will automatically revert back the numpy version to latest. So we need to reinstall numpy to 1.23.5 to fix an issue by executing:

pip install numpy==1.23.5

Use TensorRT on NVIDIA Jetson

Out of all the model export formats supported by Ultralytics, TensorRT delivers the best inference performance when working with NVIDIA Jetson devices and our recommendation is to use TensorRT with Jetson. We also have a detailed document on TensorRT here.

Convert Model to TensorRT and Run Inference

The YOLO11n model in PyTorch format is converted to TensorRT to run inference with the exported model.

Example

from ultralytics import YOLO

# Load a YOLO11n PyTorch model
model = YOLO("yolo11n.pt")

# Export the model to TensorRT
model.export(format="engine")  # creates 'yolo11n.engine'

# Load the exported TensorRT model
trt_model = YOLO("yolo11n.engine")

# Run inference
results = trt_model("https://ultralytics.com/images/bus.jpg")
# Export a YOLO11n PyTorch model to TensorRT format
yolo export model=yolo11n.pt format=engine  # creates 'yolo11n.engine'

# Run inference with the exported model
yolo predict model=yolo11n.engine source='https://ultralytics.com/images/bus.jpg'

Note

Visit the Export page to access additional arguments when exporting models to different model formats

Use NVIDIA Deep Learning Accelerator (DLA)

NVIDIA Deep Learning Accelerator (DLA) is a specialized hardware component built into NVIDIA Jetson devices that optimizes deep learning inference for energy efficiency and performance. By offloading tasks from the GPU (freeing it up for more intensive processes), DLA enables models to run with lower power consumption while maintaining high throughput, ideal for embedded systems and real-time AI applications.

The following Jetson devices are equipped with DLA hardware:

  • Jetson Orin NX 16GB
  • Jetson AGX Orin Series
  • Jetson AGX Xavier Series
  • Jetson Xavier NX Series

Example

from ultralytics import YOLO

# Load a YOLO11n PyTorch model
model = YOLO("yolo11n.pt")

# Export the model to TensorRT with DLA enabled (only works with FP16 or INT8)
model.export(format="engine", device="dla:0", half=True)  # dla:0 or dla:1 corresponds to the DLA cores

# Load the exported TensorRT model
trt_model = YOLO("yolo11n.engine")

# Run inference
results = trt_model("https://ultralytics.com/images/bus.jpg")
# Export a YOLO11n PyTorch model to TensorRT format with DLA enabled (only works with FP16 or INT8)
yolo export model=yolo11n.pt format=engine device="dla:0" half=True  # dla:0 or dla:1 corresponds to the DLA cores

# Run inference with the exported model on the DLA
yolo predict model=yolo11n.engine source='https://ultralytics.com/images/bus.jpg'

Note

When using DLA exports, some layers may not be supported to run on DLA and will fall back to the GPU for execution. This fallback can introduce additional latency and impact the overall inference performance. Therefore, DLA is not primarily designed to reduce inference latency compared to TensorRT running entirely on the GPU. Instead, its primary purpose is to increase throughput and improve energy efficiency.

NVIDIA Jetson Orin YOLO11 Benchmarks

YOLO11 benchmarks were run by the Ultralytics team on 10 different model formats measuring speed and accuracy: PyTorch, TorchScript, ONNX, OpenVINO, TensorRT, TF SavedModel, TF GraphDef, TF Lite, PaddlePaddle, NCNN. Benchmarks were run on both NVIDIA Jetson Orin Nano Super Developer Kit and Seeed Studio reComputer J4012 powered by Jetson Orin NX 16GB device at FP32 precision with default input image size of 640.

Comparison Charts

Even though all model exports are working with NVIDIA Jetson, we have only included PyTorch, TorchScript, TensorRT for the comparison chart below because, they make use of the GPU on the Jetson and are guaranteed to produce the best results. All the other exports only utilize the CPU and the performance is not as good as the above three. You can find benchmarks for all exports in the section after this chart.

NVIDIA Jetson Orin Nano Super Developer Kit

Jetson Orin Nano Super Benchmarks
Benchmarked with Ultralytics 8.3.51

NVIDIA Jetson Orin NX 16GB

Jetson Orin NX 16GB Benchmarks
Benchmarked with Ultralytics 8.3.51

Detailed Comparison Tables

The below table represents the benchmark results for five different models (YOLO11n, YOLO11s, YOLO11m, YOLO11l, YOLO11x) across ten different formats (PyTorch, TorchScript, ONNX, OpenVINO, TensorRT, TF SavedModel, TF GraphDef, TF Lite, PaddlePaddle, NCNN), giving us the status, size, mAP50-95(B) metric, and inference time for each combination.

NVIDIA Jetson Orin Nano Super Developer Kit

Performance

Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 5.4 0.6176 21.3
TorchScript โœ… 10.5 0.6100 13.40
ONNX โœ… 10.2 0.6100 7.94
OpenVINO โœ… 10.4 0.6091 57.36
TensorRT (FP32) โœ… 11.9 0.6082 7.60
TensorRT (FP16) โœ… 8.3 0.6096 4.91
TensorRT (INT8) โœ… 5.6 0.3180 3.91
TF SavedModel โœ… 25.8 0.6082 223.98
TF GraphDef โœ… 10.3 0.6082 289.95
TF Lite โœ… 10.3 0.6082 328.29
PaddlePaddle โœ… 20.4 0.6082 530.46
MNN โœ… 10.1 0.6120 74.75
NCNN โœ… 10.2 0.6106 46.12
Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 18.4 0.7526 22.00
TorchScript โœ… 36.5 0.7400 21.35
ONNX โœ… 36.3 0.7400 13.91
OpenVINO โœ… 36.4 0.7391 126.95
TensorRT (FP32) โœ… 38.0 0.7400 13.29
TensorRT (FP16) โœ… 21.3 0.7431 7.30
TensorRT (INT8) โœ… 12.2 0.3243 5.25
TF SavedModel โœ… 91.1 0.7400 406.73
TF GraphDef โœ… 36.4 0.7400 629.80
TF Lite โœ… 36.4 0.7400 953.98
PaddlePaddle โœ… 72.5 0.7400 1311.67
MNN โœ… 36.2 0.7392 187.66
NCNN โœ… 36.2 0.7403 122.02
Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 38.8 0.7598 33.00
TorchScript โœ… 77.3 0.7643 48.17
ONNX โœ… 76.9 0.7641 29.31
OpenVINO โœ… 77.1 0.7642 313.49
TensorRT (FP32) โœ… 78.7 0.7641 28.21
TensorRT (FP16) โœ… 41.8 0.7653 13.99
TensorRT (INT8) โœ… 23.2 0.4194 9.58
TF SavedModel โœ… 192.7 0.7643 802.30
TF GraphDef โœ… 77.0 0.7643 1335.42
TF Lite โœ… 77.0 0.7643 2842.42
PaddlePaddle โœ… 153.8 0.7643 3644.29
MNN โœ… 76.8 0.7648 503.90
NCNN โœ… 76.8 0.7674 298.78
Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 49.0 0.7475 43.00
TorchScript โœ… 97.6 0.7250 62.94
ONNX โœ… 97.0 0.7250 36.33
OpenVINO โœ… 97.3 0.7226 387.72
TensorRT (FP32) โœ… 99.1 0.7250 35.59
TensorRT (FP16) โœ… 52.0 0.7265 17.57
TensorRT (INT8) โœ… 31.0 0.4033 12.37
TF SavedModel โœ… 243.3 0.7250 1116.20
TF GraphDef โœ… 97.2 0.7250 1603.32
TF Lite โœ… 97.2 0.7250 3607.51
PaddlePaddle โœ… 193.9 0.7250 4890.90
MNN โœ… 96.9 0.7222 619.04
NCNN โœ… 96.9 0.7252 352.85
Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 109.3 0.8288 81.00
TorchScript โœ… 218.1 0.8308 113.49
ONNX โœ… 217.5 0.8308 75.20
OpenVINO โœ… 217.8 0.8285 508.12
TensorRT (FP32) โœ… 219.5 0.8307 67.32
TensorRT (FP16) โœ… 112.2 0.8248 32.94
TensorRT (INT8) โœ… 61.7 0.4854 20.72
TF SavedModel โœ… 545.0 0.8308 1048.8
TF GraphDef โœ… 217.8 0.8308 2961.8
TF Lite โœ… 217.8 0.8308 7898.8
PaddlePaddle โœ… 434.8 0.8308 9903.68
MNN โœ… 217.3 0.8308 1242.97
NCNN โœ… 217.3 0.8304 850.05

Benchmarked with Ultralytics 8.3.51

NVIDIA Jetson Orin NX 16GB

Performance

Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 5.4 0.6176 19.50
TorchScript โœ… 10.5 0.6100 13.03
ONNX โœ… 10.2 0.6100 8.44
OpenVINO โœ… 10.4 0.6091 40.83
TensorRT (FP32) โœ… 11.9 0.6100 8.05
TensorRT (FP16) โœ… 8.2 0.6096 4.85
TensorRT (INT8) โœ… 5.5 0.3180 4.37
TF SavedModel โœ… 25.8 0.6082 185.39
TF GraphDef โœ… 10.3 0.6082 244.85
TF Lite โœ… 10.3 0.6082 289.77
PaddlePaddle โœ… 20.4 0.6082 476.52
MNN โœ… 10.1 0.6120 53.37
NCNN โœ… 10.2 0.6106 33.55
Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 18.4 0.7526 19.00
TorchScript โœ… 36.5 0.7400 22.90
ONNX โœ… 36.3 0.7400 14.44
OpenVINO โœ… 36.4 0.7391 88.70
TensorRT (FP32) โœ… 37.9 0.7400 14.13
TensorRT (FP16) โœ… 21.6 0.7406 7.55
TensorRT (INT8) โœ… 12.2 0.3243 5.63
TF SavedModel โœ… 91.1 0.7400 317.61
TF GraphDef โœ… 36.4 0.7400 515.99
TF Lite โœ… 36.4 0.7400 838.85
PaddlePaddle โœ… 72.5 0.7400 1170.07
MNN โœ… 36.2 0.7413 125.23
NCNN โœ… 36.2 0.7403 68.13
Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 38.8 0.7598 36.50
TorchScript โœ… 77.3 0.7643 52.55
ONNX โœ… 76.9 0.7640 31.16
OpenVINO โœ… 77.1 0.7642 208.57
TensorRT (FP32) โœ… 78.7 0.7640 30.72
TensorRT (FP16) โœ… 41.5 0.7651 14.45
TensorRT (INT8) โœ… 23.3 0.4194 10.19
TF SavedModel โœ… 192.7 0.7643 590.11
TF GraphDef โœ… 77.0 0.7643 998.57
TF Lite โœ… 77.0 0.7643 2486.11
PaddlePaddle โœ… 153.8 0.7643 3236.09
MNN โœ… 76.8 0.7661 335.78
NCNN โœ… 76.8 0.7674 188.43
Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 49.0 0.7475 46.6
TorchScript โœ… 97.6 0.7250 66.54
ONNX โœ… 97.0 0.7250 39.55
OpenVINO โœ… 97.3 0.7226 262.44
TensorRT (FP32) โœ… 99.2 0.7250 38.68
TensorRT (FP16) โœ… 51.9 0.7265 18.53
TensorRT (INT8) โœ… 30.9 0.4033 13.36
TF SavedModel โœ… 243.3 0.7250 850.25
TF GraphDef โœ… 97.2 0.7250 1324.60
TF Lite โœ… 97.2 0.7250 3191.24
PaddlePaddle โœ… 193.9 0.7250 4204.97
MNN โœ… 96.9 0.7225 414.41
NCNN โœ… 96.9 0.7252 237.74
Format Status Size on disk (MB) mAP50-95(B) Inference time (ms/im)
PyTorch โœ… 109.3 0.8288 86.00
TorchScript โœ… 218.1 0.8308 122.43
ONNX โœ… 217.5 0.8307 77.50
OpenVINO โœ… 217.8 0.8285 508.12
TensorRT (FP32) โœ… 219.5 0.8307 76.44
TensorRT (FP16) โœ… 112.0 0.8309 35.99
TensorRT (INT8) โœ… 61.6 0.4854 22.32
TF SavedModel โœ… 545.0 0.8308 1470.06
TF GraphDef โœ… 217.8 0.8308 2549.78
TF Lite โœ… 217.8 0.8308 7025.44
PaddlePaddle โœ… 434.8 0.8308 8364.89
MNN โœ… 217.3 0.8289 827.13
NCNN โœ… 217.3 0.8304 490.29

Benchmarked with Ultralytics 8.3.51

Explore more benchmarking efforts by Seeed Studio running on different versions of NVIDIA Jetson hardware.

Reproduce Our Results

To reproduce the above Ultralytics benchmarks on all export formats run this code:

Example

from ultralytics import YOLO

# Load a YOLO11n PyTorch model
model = YOLO("yolo11n.pt")

# Benchmark YOLO11n speed and accuracy on the COCO8 dataset for all all export formats
results = model.benchmark(data="coco8.yaml", imgsz=640)
# Benchmark YOLO11n speed and accuracy on the COCO8 dataset for all all export formats
yolo benchmark model=yolo11n.pt data=coco8.yaml imgsz=640

Note that benchmarking results might vary based on the exact hardware and software configuration of a system, as well as the current workload of the system at the time the benchmarks are run. For the most reliable results use a dataset with a large number of images, i.e. data='coco8.yaml' (4 val images), ordata='coco.yaml'` (5000 val images).

Best Practices when using NVIDIA Jetson

When using NVIDIA Jetson, there are a couple of best practices to follow in order to enable maximum performance on the NVIDIA Jetson running YOLO11.

  1. Enable MAX Power Mode

    Enabling MAX Power Mode on the Jetson will make sure all CPU, GPU cores are turned on.

    sudo nvpmodel -m 0
    
  2. Enable Jetson Clocks

    Enabling Jetson Clocks will make sure all CPU, GPU cores are clocked at their maximum frequency.

    sudo jetson_clocks
    
  3. Install Jetson Stats Application

    We can use jetson stats application to monitor the temperatures of the system components and check other system details such as view CPU, GPU, RAM utilization, change power modes, set to max clocks, check JetPack information

    sudo apt update
    sudo pip install jetson-stats
    sudo reboot
    jtop
    

Jetson Stats

Next Steps

Congratulations on successfully setting up YOLO11 on your NVIDIA Jetson! For further learning and support, visit more guide at Ultralytics YOLO11 Docs!

FAQ

How do I deploy Ultralytics YOLO11 on NVIDIA Jetson devices?

Deploying Ultralytics YOLO11 on NVIDIA Jetson devices is a straightforward process. First, flash your Jetson device with the NVIDIA JetPack SDK. Then, either use a pre-built Docker image for quick setup or manually install the required packages. Detailed steps for each approach can be found in sections Quick Start with Docker and Start with Native Installation.

What performance benchmarks can I expect from YOLO11 models on NVIDIA Jetson devices?

YOLO11 models have been benchmarked on various NVIDIA Jetson devices showing significant performance improvements. For example, the TensorRT format delivers the best inference performance. The table in the Detailed Comparison Tables section provides a comprehensive view of performance metrics like mAP50-95 and inference time across different model formats.

Why should I use TensorRT for deploying YOLO11 on NVIDIA Jetson?

TensorRT is highly recommended for deploying YOLO11 models on NVIDIA Jetson due to its optimal performance. It accelerates inference by leveraging the Jetson's GPU capabilities, ensuring maximum efficiency and speed. Learn more about how to convert to TensorRT and run inference in the Use TensorRT on NVIDIA Jetson section.

How can I install PyTorch and Torchvision on NVIDIA Jetson?

To install PyTorch and Torchvision on NVIDIA Jetson, first uninstall any existing versions that may have been installed via pip. Then, manually install the compatible PyTorch and Torchvision versions for the Jetson's ARM64 architecture. Detailed instructions for this process are provided in the Installation of PyTorch and Torchvision section.

What are the best practices for maximizing performance on NVIDIA Jetson when using YOLO11?

To maximize performance on NVIDIA Jetson with YOLO11, follow these best practices:

  1. Enable MAX Power Mode to utilize all CPU and GPU cores.
  2. Enable Jetson Clocks to run all cores at their maximum frequency.
  3. Install the Jetson Stats application for monitoring system metrics.

For commands and additional details, refer to the Best Practices when using NVIDIA Jetson section.

๐Ÿ“… Created 9 months ago โœ๏ธ Updated 10 days ago

Comments