Skip to content

pytorch for jetson nano orin does not work #173

Closed Answered by Stefano0513
Stefano0513 asked this question in Q&A
Discussion options

You must be logged in to vote

I solved the problem, in case anyone else needs it, here is the solution:
The problem is that torchvision is compiled with a different version from pythorch [11.8 and 11.4], uninstall torchvision with "pip3 uninstall torchvision" then with "sudo nano /etc/profile" and/or "sudo nano ~/.bashrc" change all PATH containing references to cuda, in cuda-11.4, in this way when following the guide ( https://forums.developer.nvidia.com/t/pytorch-for-jetson/72048 ) torchvision compiles automatically, it will compile on the 11.4 version of cuda which in this case is the version that pytorch is compiled with. Once the installation is finished, test it: $ python3 ; >>import torchvision ; At this point …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by SkalskiP
Comment options

You must be logged in to vote
1 reply
@Stefano0513
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants