Hi @yeh0102, we provide pre-built PyTorch wheels for the default version of Python that comes with Ubuntu, and on JetPack 5 / Ubuntu 20.04 that is Python 3.8 (on JetPack 4 / Ubuntu 18.04 that’s Python 3.6). So for Python 3.9 you would need to build it from source. There are build instructions in this thread that you can loosely follow: PyTorch for Jetson (you may still need to apply this patch)
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Installing PyTorch 2.x on Python 3.9 in Xavier | 2 | 990 | October 26, 2023 | |
What's with the old/broken version of PyTorch for Orin? | 2 | 716 | June 7, 2023 | |
Installing older version of Pytorch | 4 | 2081 | October 18, 2021 | |
Pytorch for JetPack6.0 | 4 | 607 | May 11, 2024 | |
Jetson AGX Xavier Pytorch Wheel files for latest Python 3.8/3.9 versions with CUDA 10.2 support | 5 | 4580 | January 7, 2022 | |
Pytorch with Cuda 11.8 on Jetson ORIN AGX ( aarch64 ) | 5 | 2010 | February 13, 2024 | |
How to install the right version of pytorch to AGX ORIN with the jetpack=5.1.3 | 4 | 37 | May 25, 2025 | |
Pytorch for JP 6.2 running cuda 12.6 | 4 | 300 | May 29, 2025 | |
Remote branch 2.1.0 not found in upstream error while installing Pytorch 2.1.0 for Python version 3.9 from Build Source | 13 | 560 | May 15, 2024 | |
Install torch on latest Jetpack 6.2 | 4 | 102 | April 25, 2025 |