G-Tsuan
September 20, 2024, 9:17pm
1
I recently bought a Jetson Nano Orin and has been following the tutorial “jetson-inference/README.md at master · dusty-nv/jetson-inference · GitHub ”. When I tried to install PyTorch according to the instruction here (jetson-inference/docs/pytorch-transfer-learning.md at master · dusty-nv/jetson-inference · GitHub ), the system was crashed. I attached the system log files. Can somebody please help me figure out what the problem may be?
syslog.txt (2.8 MB)
note.txt (64.2 KB)
Hi,
Do you use JetPack 6?
If yes, please install our prebuilt for JetPack 6 in the below link:
Below are pre-built PyTorch pip wheel installers for Jetson Nano, TX1/TX2, Xavier, and Orin with JetPack 4.2 and newer.
Download one of the PyTorch binaries from below for your version of JetPack, and see the installation instructions to run on your Jetson. These pip wheels are built for ARM aarch64 architecture, so run these commands on your Jetson (not on a host PC). You can also use the containers from jetson-containers .
PyTorch pip wheels
JetPack 6
PyTorch v2.3.0 JetPack 6.0 (L4T R36.2…
Thanks.
G-Tsuan
September 23, 2024, 8:09pm
4
Thank you for the reply.
Yes, I use JetPack 6. When I went to PyTorch for Jetson as suggested to download torch 2.3, I got this problem
“ERROR: torch-2.3.0-cp310-cp310-linux_aarch64.whl is not a supported wheel on this platform.”
I also tried PyTorch v2.2.0 and PyTorch v2.1.0, same problems occurred.
“ERROR: torch-2.2.0a0+6a974be.nv23.11-cp310-cp310-linux_aarch64.whl is not a supported wheel on this platform.”
“ERROR: torch-2.1.0-cp310-cp310-linux_aarch64.whl is not a supported wheel on this platform.”
Any further suggestions? Thank you.
Hi,
It should work.
Please follow the below command to install PyTorch:
Hi,
Please try the below command:
$ wget https://developer.download.nvidia.com/compute/redist/jp/v60/pytorch/torch-2.4.0a0+07cecf4168.nv24.05.14710581-cp310-cp310-linux_aarch64.whl -O torch-2.4.0a0+07cecf4168.nv24.05.14710581-cp310-cp310-linux_aarch64.whl
$ pip3 install torch-2.4.0a0+07cecf4168.nv24.05.14710581-cp310-cp310-linux_aarch64.whl
If the error keeps showing, please share the output of the below command with us.
$ md5sum torch-2.4.0a0+07cecf4168.nv24.05.14710581-cp310-cp310-linux_aa…
And the below command for TorchVision and TorchAudio:
Hi,
The below command works in our environment.
Please give it a try.
$ wget https://nvidia.box.com/shared/static/9si945yrzesspmg9up4ys380lqxjylc3.whl -O torchaudio-2.3.0+952ea74-cp310-cp310-linux_aarch64.whl
$ pip3 install torchaudio-2.3.0+952ea74-cp310-cp310-linux_aarch64.whl
$ wget https://nvidia.box.com/shared/static/u0ziu01c0kyji4zz3gxam79181nebylf.whl -O torchvision-0.18.0a0+6043bc2-cp310-cp310-linux_aarch64.whl
$ pip3 install torchvision-0.18.0a0+6043bc2-cp310-cp310-linux_aarch64.whl
T…
Thanks.
G-Tsuan
September 25, 2024, 3:28pm
6
Unfortunately, it still doesn’t work.
Same problems when I installed Pytorch Audio and Vision as you suggested.
There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks
Hi,
It looks like you are using a virtual environment.
Which Python version do you use?
Our prebuilt package is built with Python 3.10.
Thanks.