Installing Pytorch in Orin ( issue)

Installing PyTorch from wheel fails.
Followed instructions in

for both 1.11 and 1.12
Also did:
sudo apt-get install python3-pip libopenblas-base libopenmpi-dev libomp-dev
(1) cannot install torchvision :
python3 (after export BUILD_VERSION=0.12.0)
OSError: cannot open shared object file: No such file or directory
Below exists in the system:

sudo find . -name*

How do I get ? I cant seem to find it from web search.

Moving this post to Jetson forum

Hi @amaunder, which Jetson and version of JetPack-L4T are you using? is the version that is from Ubuntu 18.04, and is the version from Ubuntu 20.04

Note that you can also run the l4t-pytorch container if you have trouble installing PyTorch.

I am using Orin . Linux 20.04. I downloaded the torch for 5.0.2 as recommend in the link mentioned for this version. Below are the details of my jetson box. I am using Python 3.8

I think, it does look to me that I am using Torch lib that is older. unfortunately, I would not like to use the container deployment.
Is there a torch wheel that uses ?? Shouldnt 1.11 and 1.12 be created with!!! Is there a patch you can suggest?

NVIDIA Jetson AGX Orin
L4T 35.1.0 [ JetPack 5.0.2 ]
Ubuntu 20.04.4 LTS
Kernel Version: 5.10.104-tegra
CUDA 11.4.239
CUDA Architecture: 8.7
OpenCV version: 4.5.4
OpenCV Cuda: NO
VPI: 2.1.6
Vulcan: 1.3.203

Yes, they were and those are the wheels that I use on JetPack 5 as well (with You could try making a symbolic link from → Or you can use these newer PyTorch wheels for JetPack 5:

I get the following error:
ERROR: HTTP error 404 while getting

ERROR: Could not install requirement because of HTTP error 404 Client Error: Not Found for url: for URL

(2) Is there a problem with the part of the command in the document:
export “LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH”;

(3) I did put a link . It got stuck in OSError: cannot open shared object file: No such file or directory
I unzipped the wheel and the version file ( inside the zip points to Cuda 10 whereas in Orin we have 11.4.
Can this be a problem that all libraries are messed up?

It would seem that the PyTorch wheel you are using was built for JetPack 4, not JetPack 5. Please double-check the URL that you downloaded.

See this directory for the downloads:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.