Install older version of pyotrch on jetpack 4.5.1

Is it at all possible to install pytorch 1.4 and torchvision 0.5.0 on jetpack 4.5.1?
i understand that there are no pre-built pip wheel installers for this so i’ll have to build from source, but is it possible in the first place? because i tried it before and i remember that the build process failed.

Any help would be appreciated


Please give it a try.
You can find the compile instruction in this topic.

The patch for PyTorch v1.4 on Jetson can be found below.
Although it is originally tested on JetPack4.4, it should also work with JetPack4.5.1.


@AastaLLL Hi,
I applied the patch and followed the instructions in the mentioned topic and at some point during the building process i some errors related to Cudnn.

Here is the log for the error log.txt (45.0 KB)

Hi @Amr_Elgendy, I believe that version of PyTorch isn’t compatible with cuDNN8, which is why there are only pip wheels provided for newer versions of PyTorch.

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