How to install cuDNN 8.4.1

I install cuda 11.8 manually on my agx xavier than i need to install cuDNN rn for installing torchvision. I have R35.1 and I can’t use SDK manager for the installation because I use seeed technology version. Installation L4T of this model is different.
Hence, I need install cuDNN right now and I could not see installation guide for jetsons on documentation. There is way for linux but I guess, jetson way should be different.

Also cuDNN download archive hasn’t got v8.4.1 for download link Ubuntu20.04 aarch64-jetson one.
Where can I download cuDNN ?
Regards.

Can you flash the device then use the SDK Manager’s option to install components over Ethernet by providing the username and password for the device?

With that option you should just need the device connected to your local network. This way you can decouple the flashing method from installing the SDK components (you just un-check the Jetson Linux components in the SDK Manager’s Step 2)

Hi,

Could you share how you install CUDA 11.8 on Jetson?

Our JetPack supports up to CUDA 11.4 currently.
Do you use the package from the CUDA website and install it manually?

Thanks.

I figure out. i installed 11.4 then. and now i could not cudnn right now.

sudo apt-get -f install libcudnn8=8.4.1.50-1+cuda11.4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 cuda-drivers-470 : Depends: libnvidia-compute-470 (>= 470.82.01) but it is not going to be installed
                    Depends: libnvidia-gl-470 (>= 470.82.01) but it is not going to be installed
                    Depends: nvidia-utils-470 (>= 470.82.01) but it is not going to be installed
 libnvidia-decode-470 : Depends: libnvidia-compute-470 (= 470.82.01-0ubuntu1) but it is not going to be installed
 libnvidia-ifr1-470 : Depends: libnvidia-gl-470 but it is not going to be installed
 nvidia-compute-utils-470 : Depends: libnvidia-compute-470 but it is not going to be installed
 nvidia-driver-470 : Depends: libnvidia-gl-470 (= 470.82.01-0ubuntu1) but it is not going to be installed
                     Depends: libnvidia-compute-470 (= 470.82.01-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

and then…

sudo apt --fix-broken install 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dpkg-repack
  gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libdebian-installer4
  libtimezonemap-data libtimezonemap1 os-prober python3-icu python3-pam rdate
  tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libnvidia-compute-470 libnvidia-gl-470 nvidia-utils-470
The following NEW packages will be installed:
  libnvidia-compute-470 libnvidia-gl-470 nvidia-utils-470
0 upgraded, 3 newly installed, 0 to remove and 322 not upgraded.
9 not fully installed or removed.
Need to get 0 B/154 MB of archives.
After this operation, 402 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 file:/var/cuda-repo-ubuntu2004-11-4-local  libnvidia-compute-470 470.82.01-0ubuntu1 [16,9 MB]
Get:2 file:/var/cuda-repo-ubuntu2004-11-4-local  libnvidia-gl-470 470.82.01-0ubuntu1 [137 MB]
Get:3 file:/var/cuda-repo-ubuntu2004-11-4-local  nvidia-utils-470 470.82.01-0ubuntu1 [361 kB]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 184158 files and directories currently installed.)
Preparing to unpack .../libnvidia-compute-470_470.82.01-0ubuntu1_arm64.deb ...
Unpacking libnvidia-compute-470:arm64 (470.82.01-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu2004-11-4-local/./libnvidia-comp
ute-470_470.82.01-0ubuntu1_arm64.deb (--unpack):
 trying to overwrite '/usr/lib/aarch64-linux-gnu/libcuda.so', which is also in packa
ge nvidia-l4t-cuda 35.1.0-20220810203728
Preparing to unpack .../libnvidia-gl-470_470.82.01-0ubuntu1_arm64.deb ...
dpkg-query: no packages found matching libnvidia-gl-450
Unpacking libnvidia-gl-470:arm64 (470.82.01-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu2004-11-4-local/./libnvidia-gl-4
70_470.82.01-0ubuntu1_arm64.deb (--unpack):
 trying to overwrite '/usr/share/glvnd/egl_vendor.d/10_nvidia.json', which is also i
n package nvidia-l4t-3d-core 35.1.0-20220810203728
Preparing to unpack .../nvidia-utils-470_470.82.01-0ubuntu1_arm64.deb ...
Unpacking nvidia-utils-470 (470.82.01-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu2004-11-4-local/./nvidia-utils-4
70_470.82.01-0ubuntu1_arm64.deb (--unpack):
 trying to overwrite '/usr/bin/nvidia-xconfig', which is also in package nvidia-l4t-
x11 35.1.0-20220810203728
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cuda-repo-ubuntu2004-11-4-local/./libnvidia-compute-470_470.82.01-0ubuntu1_arm
64.deb
 /var/cuda-repo-ubuntu2004-11-4-local/./libnvidia-gl-470_470.82.01-0ubuntu1_arm64.de
b
 /var/cuda-repo-ubuntu2004-11-4-local/./nvidia-utils-470_470.82.01-0ubuntu1_arm64.de
b
E: Sub-process /usr/bin/dpkg returned an error code (1)

I could not install cudnn.

Hi,

Please install the cuDNN package that supports the Jetson device.
The package you used is for the desktop environment.

This can be done via JetPack or manually install with our apt server.
https://repo.download.nvidia.com/jetson/

Thanks.

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