cuDNN version incompatibility

RuntimeError: cuDNN version incompatibility: PyTorch was compiled against (8, 6, 0) but found runtime version (8, 4, 1). PyTorch already comes bundled with cuDNN. One option to resolving this error is to ensure PyTorch can find the bundled cuDNN.

JetPack Version: 5.0.2-b231
PyTorch Vesion: 2.0.0+nv23.5

I follow instructions from your PyTorch for Jetson

Can you help me?

Hi @jelena1, for JetPack 5.0.2 / L4T R35.1 you should be able to use the PyTorch wheels from here:

I’ve updated that PyTorch thread to indicate that the PyTorch 2.0 wheels are built for JetPack 5.1+, sorry about that. If you would like to use those, please upgrade your version of JetPack-L4T.

Thank you.
I’ve installed [torch-1.13.0a0+410ce96a.nv22.12-cp38-cp38-linux_aarch64.whl] but now I’ve got:
print('cuDNN version: ' + str(torch.backends.cudnn.version()))

cuDNN version: None