Hello,
I saw that with jetpack 5.1.2 i’ts easier to upgrade cuda. With jetpack 6.0 will come with cuda 12.1 I think to do compatibility with pytorch 2.1.0.
In cuda page I can see jetson repository to upgrade, but with cudnn and tensorrt not appear, so I need also cudnn to compile pytorch.
I’m doing my tutorial: Start with Jetson AGX Orin Developer Kit. - HackMD
All compile and install good in miniconda with python 3.11 but driver GPU is very old.
torch.cuda.is_available()
/home/jetson/miniconda3/envs/prueba/lib/python3.11/site-packages/torch/cuda/init.py:138: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 11040). Please update your GPU driver by downloading and installing a new version from the URL: Official Drivers | NVIDIA Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at /home/jetson/Projects/pytorch/c10/cuda/CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() > 0
Solved with:
export PATH=/usr/local/cuda-12.2/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-12.2/compat${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
How to build cudnn and tensorrt for cuda 12.2?