NEWAI chat: ask your fleet anything, in plain language. Chat with your fleet Read more →
NVIDIA Jetson · Build

How to install PyTorch on a Jetson Orin with CUDA

On JetPack 7.2, Orin uses the same Arm SBSA CUDA as servers, so install PyTorch's own CUDA wheels: pip install torch torchvision --index-url https://download.pytorch.org/whl/cu130 (or cu132). On JetPack 6.2, use the Jetson AI Lab index instead: pip install torch torchvision --index-url https://pypi.jetson-ai-lab.io/jp6/cu126. Then check that torch.cuda.is_available() prints True and torch.cuda.get_device_name(0) prints Orin.

Applies to Orin Nano, Orin Nano Super, Orin NX, AGX Orin · JetPack 6.2.x and 7.2.xChecked December 6, 2026

Why pip install torch goes wrong on a Jetson

A Jetson is not a small PC with an NVIDIA card in it. The GPU is part of the Orin system-on-chip, it has no memory of its own, and its driver ships inside Jetson Linux (L4T), the Ubuntu-based OS that JetPack installs. JetPack then adds the user-space libraries on top: CUDA, cuDNN, TensorRT, VPI. A PyTorch build has to match all three layers at once: the CPU architecture (aarch64), the CUDA driver that came with L4T, and the GPU's compute capability, which is 8.7 for every Orin module.

For Orin, until CUDA 13.2, NVIDIA built CUDA for Jetson separately from CUDA for Arm servers. Arm servers with NVIDIA GPUs (Grace Hopper, Grace Blackwell) use what NVIDIA calls SBSA, the Server Base System Architecture. (Jetson Thor moved to SBSA CUDA earlier, with CUDA 13.0 in JetPack 7.0.) The aarch64 wheels on PyPI and on download.pytorch.org are SBSA builds. On a JetPack 6 Orin they install fine, import fine, and then don't get the GPU, because the CUDA they bring expects a different, newer driver than the one L4T 36 ships.

That changed with CUDA 13.2. The jetson-containers project, the container build system behind NVIDIA's Jetson AI Lab, puts it plainly: starting with CUDA 13.2, "the same Arm SBSA CUDA Toolkit is supported on Jetson Orin devices", and this requires JetPack 7.2 with CUDA driver R595 or later. So the answer depends on which JetPack line your Orin runs:

Your Orin runsCUDA from JetPackPythonWhere PyTorch comes from
JetPack 7.2.x (Jetson Linux 39.2.x, Ubuntu 24.04)13.23.12PyTorch's own CUDA 13 wheels (cu130 or cu132 index), because Orin now uses SBSA CUDA
JetPack 6.2.x (Jetson Linux 36.4.3 to 36.5.2, Ubuntu 22.04)12.63.10Jetson-specific wheels: the Jetson AI Lab index jp6/cu126, or a container
JetPack 5.1.x or older, Jetson Nano, Xavier11.4 and olderolderOld NVIDIA wheels only. New PyTorch releases don't target these

One more detail explains a warning you will see on JetPack 7.2. PyTorch's aarch64 CUDA 13 wheels are compiled for compute capabilities 8.0, 9.0, 10.0, 11.0 and 12.0 (that list is in PyTorch's wheel build configuration). 8.7 is not on it. They still run on Orin, because GPU code compiled for 8.0 runs on any 8.x GPU with the same or a higher minor version, with no just-in-time compiling. PyTorch notices the mismatch and prints Found GPU0 Orin which is of compute capability (CC) 8.7. NVIDIA's moderator on the Jetson forum calls it a harmless warning, and the math runs on the GPU.

What you need

  • An Orin module: Orin Nano 4GB or 8GB (including the Orin Nano Super developer kit), Orin NX 8GB or 16GB, or AGX Orin 32GB or 64GB. They all have the same GPU architecture, so the same wheels work on all of them.
  • JetPack 6.2.x or 7.2.x, flashed and booted. As of December 2026 the latest releases are JetPack 7.2.2 (Jetson Linux 39.2.2) and, on the 6.x line, JetPack 6.2.3 (Jetson Linux 36.5.2). If you still need to flash, see how to flash a Jetson Orin Nano.
  • Disk space. A PyTorch wheel plus its CUDA libraries is large, and pip keeps a cache. On a 64GB microSD card that also holds the OS and your models, space runs out sooner than you think. An NVMe SSD is better in every way: see booting from NVMe.
  • Internet access from the Jetson to PyPI, download.pytorch.org or pypi.jetson-ai-lab.io, depending on the route.
  • A terminal on the Jetson: local, over SSH, or remote (see how to access a Jetson remotely).

You don't need a host PC for any of this. Everything happens on the Jetson.

The ways to get PyTorch on a Jetson, compared

RouteJetPackGood forWatch out for
PyTorch's own CUDA wheels: --index-url https://download.pytorch.org/whl/cu130 or cu1327.2.xThe newest PyTorch, the same wheels as on Arm servers, CUDA libraries pulled in by pipThe compute capability 8.7 warning; doesn't work on JetPack 6
Jetson AI Lab index: https://pypi.jetson-ai-lab.io/jp6/cu1266.2.xA CUDA-enabled PyTorch on JetPack 6 with one pip command, plus matching torchvision, torchaudio and many CUDA extensionsWheels link against JetPack's system libraries, so a missing library shows up at import time. Community-run, and the index has moved before
Containers (jetson-containers l4t-pytorch, Ultralytics images, NVIDIA's NGC containers)Both, per imageA known-good stack you can copy to every device, nothing installed on the host OSThe image must match your L4T version, images are several GB, and you need --runtime nvidia
NVIDIA's own Jetson wheels (developer.download.nvidia.com/compute/redist/jp/)6.1 and olderReproducing an old setupThe newest is torch-2.5.0a0+872d972e41.nv24.08 for JetPack 6.1, Python 3.10. No newer wheels are published there
Build from sourceBothA version or patch nobody publishesHours of compile time on the device, lots of RAM and swap, and you own the result

For most people the choice is simple: on JetPack 7.2 use PyTorch's index, on JetPack 6.2 use the Jetson AI Lab index, and use a container when you need the same stack on many devices.

Step 1: Check which JetPack, CUDA and Python you have

Everything else follows from these three answers, so check them before you install anything:

cat /etc/nv_tegra_release        # R36 = JetPack 6.x, R39 = JetPack 7.2.x
sudo apt show nvidia-jetpack     # the JetPack version, if the SDK is installed
python3 --version                # 3.10 on JetPack 6 (Ubuntu 22.04), 3.12 on JetPack 7 (Ubuntu 24.04)

# nvcc is not on the PATH by default
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
nvcc --version                   # release 12.6 on JetPack 6.2.x, 13.2 on JetPack 7.2.x

If apt show nvidia-jetpack finds nothing, your image has the OS but not the full JetPack SDK. That is normal after flashing some images, and the next step installs it.

Step 2: Install the JetPack libraries and pip

The two routes differ in where the CUDA libraries come from, and that decides what you install with apt.

  • JetPack 6 (Jetson AI Lab wheels): the wheels declare no CUDA packages as dependencies. Their metadata lists only plain Python packages (filelock, sympy, networkx, jinja2, fsspec). At import time they load CUDA, cuDNN and friends from the system, so the full JetPack SDK must be installed.
  • JetPack 7.2 (PyTorch's wheels): the wheels pull their own CUDA user-space libraries from pip. The current PyPI build of torch 2.15.0, for example, depends on cuda-toolkit 13.2.2, nvidia-cudnn-cu13 and nvidia-cusparselt-cu13. Only the driver comes from L4T.

On both lines, start with:

sudo apt update
sudo apt install -y nvidia-jetpack python3-pip python3-venv libopenblas-dev

libopenblas-dev is on NVIDIA's own prerequisite list for PyTorch on Jetson (its page runs sudo apt-get install -y python3-pip libopenblas-dev): the Jetson-built wheels use OpenBLAS for CPU math, and a missing copy is one of the classic import errors (see below).

On JetPack 6 there is one more library the newer wheels need that JetPack 6 doesn't ship: cuDSS. Ultralytics' Jetson guide gives these commands for JetPack 6, to fix the dependency in its torch 2.10.0 wheel:

wget https://developer.download.nvidia.com/compute/cudss/0.7.1/local_installers/cudss-local-tegra-repo-ubuntu2204-0.7.1_0.7.1-1_arm64.deb
sudo dpkg -i cudss-local-tegra-repo-ubuntu2204-0.7.1_0.7.1-1_arm64.deb
sudo cp /var/cudss-local-tegra-repo-ubuntu2204-0.7.1/cudss-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cudss

Do this only on JetPack 6. The package is the Tegra build for Ubuntu 22.04.

Step 3: Decide on a virtual environment

On JetPack 7 you have no real choice: Ubuntu 24.04 marks its system Python as externally managed (PEP 668), so pip install into it is refused unless you force it with --break-system-packages. Don't. A virtual environment keeps PyTorch and its several gigabytes of CUDA wheels separate from the Python that Ubuntu and JetPack tools rely on, and you can delete it and start again in seconds.

python3 -m venv ~/venvs/torch
source ~/venvs/torch/bin/activate
pip install -U pip

The real question is whether to add --system-site-packages. With it, the venv can also import what JetPack installed into the system Python, most importantly the TensorRT Python bindings (import tensorrt) and JetPack's OpenCV. JetPack installs those for the system Python only, so this flag is the usual way to reach them from a venv. The cost: system packages such as an older numpy become visible too, and pip may decide they already satisfy a requirement.

Our rule: a plain venv for PyTorch alone. Add --system-site-packages only when the same program needs TensorRT, for example to export YOLO models to TensorRT engines (see how to run YOLO with TensorRT). Whatever pip installs into the venv still takes precedence over the system copy.

Step 4a: JetPack 7.2: install PyTorch's CUDA 13 wheels

With the venv active:

pip install torch torchvision --index-url https://download.pytorch.org/whl/cu130

This is the command in Ultralytics' Jetson guide for JetPack 7.2. NVIDIA's moderator on the Jetson forum recommends the cu132 index instead, which matches JetPack 7.2's CUDA 13.2 exactly, and the Orin Nano owner who asked confirmed PyTorch ran on the GPU with it:

pip install torch torchvision --index-url https://download.pytorch.org/whl/cu132

Both work, because a CUDA 13.0 build runs on the newer CUDA 13.2 driver: newer drivers run code built with older toolkits. As of December 2026 the cu130 index tops out at torch 2.14.1 with torchvision 0.29.1, and the cu132 index has torch 2.15.0 with torchvision 0.29.2, both with Python 3.12 wheels. Pick one and stay with it, so every device ends up with the same build.

What about plain pip install torch from PyPI? As of December 2026, PyPI's aarch64 torch 2.15.0 is itself a CUDA 13.2 SBSA build, so on JetPack 7.2 it is close to the cu132 wheel. Ultralytics still tells you to install from the explicit index, and so do we: the index URL makes it obvious which build you meant, and PyPI's default can change with the next release.

torchaudio: install it only if you need it, in the same command as torch. It no longer gets a release for every torch release: as of December 2026 the newest is 2.11.0 on the cu130 index and 2.11.1 on cu132 and PyPI, and its metadata asks only for torch 2.11 or newer (2.11.0+cu130 names no torch version at all). So pip happily puts it next to torch 2.14 or 2.15 without checking that the two were built together. Import it and run the functions you use before you ship it.

To silence the compute capability warning in your own code, NVIDIA's moderator gives this filter:

import warnings
warnings.filterwarnings("ignore", message=".*Found GPU.*compute capability.*")

Jetson AI Lab also hosts an SBSA index, https://pypi.jetson-ai-lab.io/sbsa/cu130, with torch 2.9.0 to 2.11.0 for Python 3.12 (torchvision only up to 0.25.0, which pairs with torch 2.10) and CUDA extensions such as flash-attn, xformers and vLLM. jetson-containers describes these SBSA wheels as built for Grace servers (GH200, GB200) and doesn't say which GPU architectures they include, so test one on an Orin before you depend on it.

Step 4b: JetPack 6.2: install from the Jetson AI Lab index

With the venv active:

pip install torch torchvision --index-url https://pypi.jetson-ai-lab.io/jp6/cu126

As of December 2026 this resolves to torch 2.11.0 and torchvision 0.26.0, built for CUDA 12.6 and Python 3.10. The index also serves plain packages such as numpy and sympy from PyPI, so you don't need a second index, and you shouldn't add PyPI as an --extra-index-url: pip would then see PyPI's SBSA torch with the same version number and might prefer it, because its manylinux platform tag ranks above the Jetson wheel's plain linux_aarch64 tag.

IndextorchtorchvisiontorchaudioPython
jp6/cu126 (use this on JetPack 6.2)2.8.0 to 2.11.0up to 0.26.0up to 2.10.03.10
jp6/cu128 (built against CUDA 12.8, which JetPack 6 doesn't ship)2.6.00.21.02.6.0 (Python 3.12 only)3.10, some 3.12
jp6/cu129 (built against CUDA 12.9, which JetPack 6 doesn't ship)2.8.0 to 2.9.10.21.0 to 0.24.02.6.0 to 2.9.13.10, some 3.12

Note the torchaudio gap: there is no torchaudio 2.11.0 on jp6/cu126. If you need torchaudio, install the 2.10 set together, so all three come from the same release:

pip install torch==2.10.0 torchvision==0.25.0 torchaudio==2.10.0 \
  --index-url https://pypi.jetson-ai-lab.io/jp6/cu126

torch and torchvision must always come from the same release. PyTorch's own table pairs 2.10 with 0.25, 2.11 with 0.26, 2.12 with 0.27 and 2.13 with 0.28, and torchvision 0.26 pins torch==2.11.0 exactly. The current torchvision 0.29 is the exception: it asks for torch 2.14 or newer, so it serves both 2.14 and 2.15. A torchvision from PyPI next to a Jetson torch is how people end up with operator torchvision::nms does not exist.

Why not newer than 2.11 on JetPack 6? First, nobody has published a newer Jetson build for CUDA 12.6: as of December 2026, 2.11.0 is the top of the jp6/cu126 index. Second, PyTorch is moving past Python 3.10: the torch 2.15.0 wheels start at Python 3.11, and torchvision's main branch requires 3.11 or newer. JetPack 6's Ubuntu 22.04 ships 3.10, so that gap will only grow. For the newest PyTorch on an Orin, move to JetPack 7.2 (see how to upgrade JetPack).

Step 4c: Or use a container

Containers move the whole stack (Python, PyTorch, CUDA user-space libraries) into an image, and the host only provides the kernel and driver. NVIDIA's jetson-containers tools pick an image that matches your L4T version:

git clone https://github.com/dusty-nv/jetson-containers
bash jetson-containers/install.sh
jetson-containers run $(autotag l4t-pytorch)

autotag finds a compatible image locally, pulls one from a registry, or builds it, and jetson-containers run adds --runtime nvidia and the device mounts for you. The project states it is only tested and supported on JetPack 6.2 (CUDA 12.6) and JetPack 7 (CUDA 13.x).

Two things to know. First, an image built for one L4T release can fail on another, so tag your own images with the JetPack line they were built for. Second, NVIDIA's NGC PyTorch container (nvcr.io/nvidia/pytorch, for example 26.06-py3) also starts on a JetPack 7.2 Orin, but it isn't compiled for 8.7 either: it prints the same compute capability warning as the pip wheels, which NVIDIA's moderator again calls harmless, because Orin runs the 8.0 code directly.

Check that it worked

Run this inside the venv (or the container):

python3 - <<'EOF'
import time, torch
print("torch", torch.__version__, "cuda", torch.version.cuda, "available", torch.cuda.is_available())
print(torch.cuda.get_device_name(0), torch.cuda.get_device_capability(0))
import torchvision
print("torchvision", torchvision.__version__)

n = 4096
a = torch.randn(n, n, device="cuda", dtype=torch.float16)
b = torch.randn(n, n, device="cuda", dtype=torch.float16)
for _ in range(3):
    a @ b
torch.cuda.synchronize()
t = time.time()
for _ in range(20):
    c = a @ b
torch.cuda.synchronize()
dt = (time.time() - t) / 20
print(f"fp16 matmul {n}x{n}: {dt*1000:.1f} ms, {2*n**3/dt/1e12:.2f} TFLOPS")
EOF

What you want to see: available True, the device name Orin, capability (8, 7), a CUDA version of 12.6 on the JetPack 6 wheels or 13.x on PyTorch's wheels, and a torchvision version that pairs with your torch. The matmul figure is a sanity check, not a benchmark to compare against others: it moves with the power mode, the clocks and the temperature. Run it once in your normal power mode, then again after switching to the module's top mode and running sudo jetson_clocks, and you will see the difference the power mode makes. Mode ids differ per module and flash config (MAXN_SUPER is mode 2 on an Orin Nano with the Super config but mode 0 on an Orin NX, and mode 0 on an Orin Nano 8GB is 15W), so check sudo nvpmodel -q and /etc/nvpmodel.conf before you pick one (more in Super mode and nvpmodel).

While it runs, sudo tegrastats in a second terminal should show the GPU load (GR3D_FREQ) jump. If available is True but the GPU stays idle, your code is putting tensors on the CPU.

Finally, check torchvision's compiled operators, the part that breaks when torch and torchvision don't match:

python3 -c "import torch, torchvision; b=torch.rand(10,4,device='cuda'); b[:,2:]+=b[:,:2]; print(torchvision.ops.nms(b, torch.rand(10,device='cuda'), 0.5))"

Shared memory: what it means for PyTorch on a Jetson

On a desktop GPU, model weights live in VRAM and the rest of the system doesn't care. On a Jetson, the CPU and GPU share one pool of LPDDR5 memory: 8GB on an Orin Nano 8GB, 16GB on an Orin NX 16GB, 64GB on an AGX Orin 64GB. Every megabyte the desktop, Chrome, Docker or your ROS nodes hold is a megabyte your model can't have, and a tensor "on the GPU" uses the same RAM as a NumPy array.

In practice: run headless when you can (sudo systemctl set-default multi-user.target, which NVIDIA's Jetson AI Lab says frees about 800MB), keep an eye on memory with tegrastats, and expect out-of-memory errors to look different from a desktop: sometimes a CUDA error, sometimes the kernel's OOM killer ending the process, sometimes an NvMapMemAllocInternalTagged line from the Jetson memory allocator. The LLM guide goes deeper into what fits in each module's memory.

Doing this on many Jetsons

Installing PyTorch on one Jetson is an afternoon. Keeping the same PyTorch on fifty Jetsons in the field is a different job. Having managed hundreds of thousands of Linux devices, we find the device that quietly drifted much harder to catch than the one that was set up wrong.

  • Pin everything, including the index. A requirements file can carry the index URL, so the command can't silently pick another build:
    --index-url https://pypi.jetson-ai-lab.io/jp6/cu126
    torch==2.11.0
    torchvision==0.26.0
    Add hashes (pip install --require-hashes) once the set works, so a re-uploaded wheel can't change under you.
  • Keep your own copy of the wheels. Community indexes move and reorganize: the Jetson AI Lab index went through outages in 2025 and moved from pypi.jetson-ai-lab.dev to pypi.jetson-ai-lab.io, breaking every requirements file that named the old host, and forum users have reported packages disappearing from its indexes since. If a device has to be rebuilt in a year, the wheel it needs should be in storage you control.
  • One image per JetPack line. JetPack 6 and 7 differ in Ubuntu, Python and CUDA major version, so a wheel or container from one doesn't run on the other. Build a container image (or a golden OS image) per line, tag it with the L4T version, and never mix lines inside one release.
  • A JetPack upgrade means reinstalling PyTorch. Within a line (6.2.1 to 6.2.3, or 7.2.1 to 7.2.2) the CUDA major version stays the same and the wheels keep working, but test anyway. Across lines (6.2 to 7.2) everything above the kernel changes.
  • Fail loudly when CUDA is missing. The common pattern device = "cuda" if torch.cuda.is_available() else "cpu" is fine on a laptop and dangerous on a robot: a device with a broken PyTorch keeps running, many times slower, and nobody notices until the robot misses its timing. In production, check at startup and exit with a clear error if torch.cuda.is_available() is False.
  • Watch disk space. pip's cache (~/.cache/pip) and old venvs add up to gigabytes. On microSD cards a full disk is one of the most common reasons a field device stops working. Use pip install --no-cache-dir in images.

Common errors and fixes

The messages below are copied the way they appear, so you can find yours with Ctrl+F.

AssertionError: Torch not compiled with CUDA enabled

Why: You have a CPU-only PyTorch. On a Jetson this usually means pip picked a wheel from PyPI or a mirror instead of the index you intended, or a later pip install of another package (Ultralytics, transformers) replaced your torch with a different build as a dependency.

Fix: Check with pip show torch and python3 -c "import torch; print(torch.__version__, torch.version.cuda)": torch.version.cuda is None on a CPU build. Uninstall (pip uninstall -y torch torchvision torchaudio) and reinstall from the right index for your JetPack (Step 4a or 4b). Install your other packages first and PyTorch last, or pin torch in the same requirements file so nothing replaces it.

The NVIDIA driver on your system is too old (found version 12060)

Why: A CUDA 13 build of PyTorch (from PyPI, cu130 or cu132) on a JetPack 6 Orin. 12060 is the CUDA 12.6 driver that L4T 36 ships. CUDA 13 wheels need the CUDA 13 driver, which on Orin arrives with JetPack 7.2.

Fix: On JetPack 6, install from https://pypi.jetson-ai-lab.io/jp6/cu126 instead (Step 4b). A community write-up runs CUDA 13.2 wheels on JetPack 6.2.2 by loading NVIDIA's CUDA forward-compatibility package cuda-compat-orin-13-2 through LD_LIBRARY_PATH. It works, but it is not NVIDIA's documented path for PyTorch on Jetson: for devices you ship, use the JetPack 6 wheels or move to JetPack 7.2.

UserWarning: Found GPU0 Orin which is of compute capability (CC) 8.7.

Why: PyTorch's aarch64 CUDA 13 wheels are compiled for compute capabilities 8.0, 9.0, 10.0, 11.0 and 12.0, and Orin is 8.7. The 8.0 code runs on 8.7, so PyTorch works; it only warns.

Fix: Nothing to fix. NVIDIA's forum moderator calls it a harmless warning and says the PyTorch team will remove it. To hide it, add warnings.filterwarnings("ignore", message=".*Found GPU.*compute capability.*") before importing torch.

ImportError: libcusparseLt.so.0: cannot open shared object file: No such file or directory

Why: The PyTorch wheel was built with cuSPARSELt, and JetPack 6 doesn't install it. The Jetson-specific wheels load CUDA libraries from the system instead of bringing them along.

Fix: Install the Jetson build of cuSPARSELt. In NVIDIA's redistributable archive (developer.download.nvidia.com/compute/cusparselt/redist/libcusparse_lt/) that is the linux-aarch64 folder; linux-sbsa is the server build. Unpack the archive, copy its lib/ files into /usr/local/cuda/lib64/, then run sudo ldconfig. NVIDIA's "Installing PyTorch for Jetson Platform" page points to an install script in PyTorch's repository, but that script only handles CUDA 11.8 and 12.1 to 12.4, so it does nothing useful on JetPack 6's CUDA 12.6. Run ldd $(python3 -c "import importlib.util as u,os;print(os.path.dirname(u.find_spec('torch').origin))")/lib/libtorch_cuda.so | grep "not found" to see every missing library at once (it finds the folder without importing torch, which is what fails here).

libcudss.so.0: cannot open shared object file: No such file or directory

Why: Newer Jetson PyTorch wheels (2.8 and later) link against cuDSS, NVIDIA's sparse direct solver library, which JetPack 6 doesn't include.

Fix: Install the Tegra build of cuDSS with the five commands in Step 2 (from Ultralytics' Jetson guide), then import torch again. If the next import fails on another library, forum reports show it is often libcusparseLt.so.0 (see the entry above): check every library at once with ldd as above, and make sure nvidia-jetpack is installed.

libopenblas.so.0: cannot open shared object file: No such file or directory

Why: PyTorch's CPU code uses OpenBLAS, and the library isn't installed. It is a prerequisite on NVIDIA's own install page.

Fix: sudo apt-get install -y libopenblas-dev, then try again. If it persists, run ldd on libtorch_cpu.so in the torch package folder to see whether other libraries (MPI, OpenMP) are missing too.

RuntimeError: operator torchvision::nms does not exist

Why: torchvision's compiled operators were built for a different torch than the one installed. On Jetson this happens when torch comes from a Jetson index and torchvision from PyPI, or when a later pip install upgraded one of them.

Fix: Uninstall both and install them together from the same index, with matching versions (2.11 with 0.26, 2.10 with 0.25 and so on): pip install torch==2.11.0 torchvision==0.26.0 --index-url https://pypi.jetson-ai-lab.io/jp6/cu126 on JetPack 6, or the cu130/cu132 index on JetPack 7.2.

A module that was compiled using NumPy 1.x cannot be run in NumPy 2

Why: Something in your environment (an older PyTorch wheel, JetPack's OpenCV, onnxruntime-gpu or a camera SDK) was compiled against NumPy 1.x, and pip installed NumPy 2.x. In a venv with --system-site-packages the conflict can come from the system side.

Fix: Find which module raises it from the traceback. If it is the only NumPy 1 module, pin pip install "numpy<2" in the venv. If two modules need different NumPy majors (forum threads show OpenCV built for NumPy 2 next to a torch built for NumPy 1), split them into separate environments or rebuild one of them; one environment can't satisfy both.

ERROR: Could not find a version that satisfies the requirement torch (from versions: none)

Why: The index you pointed pip at has no torch wheel for your Python version. Typical cases: the JetPack 6 index (jp6/cu126, Python 3.10 wheels) used on JetPack 7.2 with Python 3.12, or an old index URL that has moved.

Fix: Match the index to the JetPack line: jp6/cu126 on JetPack 6, https://download.pytorch.org/whl/cu130 or cu132 on JetPack 7.2. Check python3 --version inside the venv: it must be 3.10 for the JetPack 6 wheels and 3.12 for the JetPack 7.2 route.

NvMapMemAllocInternalTagged: 1075072515 error 12

Why: The Jetson memory allocator (NvMap) failed to allocate GPU memory, error 12 being "out of memory". On JetPack 6, NVIDIA linked a run of these failures during PyTorch inference to the r36.4.7 update, whose security fixes limited how much memory could be allocated.

Fix: Check cat /etc/nv_tegra_release. NVIDIA staff on the forum point to r36.5 (JetPack 6.2.2) for the fix to the r36.4.7 issue, so update to the latest 6.2.x. If you are already there, it is a real memory shortage: free memory (headless boot, fewer processes), use a smaller batch or model, and see the LLM guide for memory tuning.

With more than one Jetson

Once PyTorch runs on more than a few Jetsons, the question becomes which device runs what. PhysicalFleet shows each Jetson's JetPack and NVIDIA library versions (CUDA, TensorRT, cuDNN and more) and points out devices whose versions differ from the rest of the fleet, and its Models tab lists the processes running ML on each machine, with the framework and model where the agent can tell. Your containers and models ship as releases, tried on one Jetson first and rolled out in phases with automatic rollback.

See hardware and model monitoring

Written by PhysicalFleet, as of December 2026. Jetson software moves fast: if something here no longer matches what you see, tell us and we'll fix it.

FAQ

Common questions

Something else? Talk to our team.

Can I just run pip install torch on a Jetson Orin?

On JetPack 7.2, PyPI's aarch64 torch is now a CUDA 13.2 build that can use the Orin GPU, but install from https://download.pytorch.org/whl/cu130 or cu132 so you know which build you get. On JetPack 6, no: the PyPI wheel is built for Arm servers and won't get the GPU; use the Jetson AI Lab jp6/cu126 index.

Why is torch.cuda.is_available() False on my Jetson?

Usually a CPU-only build or a build for the wrong CUDA. Print torch.__version__ and torch.version.cuda: None means a CPU build, and a 13.x CUDA on JetPack 6 means a server wheel that needs the newer driver. Reinstall from the index that matches your JetPack.

Does PyTorch officially support Jetson Orin now?

Since JetPack 7.2, Orin uses the same Arm SBSA CUDA toolkit as servers, and NVIDIA's moderators confirm the upstream PyTorch wheels work on Orin. The wheels aren't compiled specifically for Orin's compute capability 8.7, so they print a warning, but they run on the GPU.

Which PyTorch version can I use on JetPack 6.2?

As of December 2026, the Jetson AI Lab jp6/cu126 index has torch 2.8.0 to 2.11.0 for Python 3.10, with torchvision up to 0.26.0 and torchaudio up to 2.10.0. Newer PyTorch releases are dropping Python 3.10, so for the latest versions move to JetPack 7.2.

Which Python version does JetPack use?

JetPack 6.x is built on Ubuntu 22.04 and comes with Python 3.10. JetPack 7.x is built on Ubuntu 24.04 and comes with Python 3.12. The PyTorch wheel must match that Python version.

Do I have to reinstall PyTorch after upgrading JetPack?

After a major upgrade from JetPack 6 to 7, yes: Ubuntu, Python and the CUDA major version all change, so recreate the venv and install the JetPack 7.2 wheels. Point releases within a line keep the same CUDA major version, so the wheels normally keep working, but rerun the verification script.

Should I install PyTorch in a container or with pip on a Jetson?

Pip in a venv is quickest on one development board. For devices you deploy, a container built for your L4T version gives every Jetson the same stack and keeps the host OS clean; jetson-containers can pick or build a compatible l4t-pytorch image for you.

Can PyTorch use the DLA on Jetson Orin?

No, PyTorch runs on the Orin GPU and CPU. The deep learning accelerators on Orin NX and AGX Orin are used through TensorRT, for example by exporting a model to a TensorRT engine built for a DLA core.

From the lab bench. To the entire fleet.

Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.

Free for up to 3 machines · Then pay as you go