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 older version of Pytorch | 4 | 2139 | October 18, 2021 | |
| Jetson AGX Xavier Pytorch Wheel files for latest Python 3.8/3.9 versions with CUDA 10.2 support | 5 | 4652 | January 7, 2022 | |
| Installing PyTorch 2.x on Python 3.9 in Xavier | 2 | 1056 | October 26, 2023 | |
| What's with the old/broken version of PyTorch for Orin? | 2 | 740 | June 7, 2023 | |
| How to install pytorch in jetson xavier | 6 | 9469 | October 18, 2021 | |
| Pytorch Installation failure in AGX Xavier with Jetpack 5 | 4 | 1396 | May 18, 2022 | |
| Torch is not a supported wheel on TX2 | 3 | 1173 | October 18, 2021 | |
| Pytorch for JetPack6.0 | 4 | 739 | May 11, 2024 | |
| Install PyTorch with Python 3.8 on Jetpack 4.4.1 | 14 | 18159 | July 14, 2021 | |
| Pytorch GPU support for python 3.7 on Jetson Nano | 3 | 7610 | October 15, 2021 |