How to install cuDNN

Please provide the following info (tick the boxes after creating this topic):

Software Version
DRIVE OS 7.0.3
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Thor Developer Kit (940-63960-0010-000)
DRIVE AGX Thor Developer Kit (940-63960-0012-000)
other

Host Machine Version
native Ubuntu Linux 24.04 Host installed with DRIVE OS Docker Containers
other

Issue Description
Hello!

I have several questions on how to install cuDNN to DRIVE Thor. I am referring to the documentation: Installing NVIDIA DriveOS for NVIDIA Developer Users — NVIDIA DriveOS 7.0 Linux Installation Guide

  • Is it the correct document for installing cuDNN on DRIVE Thor?
  • The document says the packages are downloaded to /drive_flashing, but there is no such directory by default. Is it supposed to create it by myself?

The following additional NVIDIA DriveOS packages are hosted on NGC and can be downloaded to the /drive_flashing directory inside the container:

  • The document refers to nv-driveos* prefix, but there is no such prefixed resources. What does the document mean?
You can install packages that have a nv-driveos* prefix by using the DRIVEInstaller utility:
  • The instal ccommand written in the document assumes that the package is compressed as .tgz, but some packages are .deb and .tar.gz and so on. Is it possible to apply this command for no-tgz files?
./driveinstaller --installtype install --pkgpath <path/to/file>.tgz

I look forward to hearing from you.

You can find the cudnn debian at https://registry.ngc.nvidia.com/orgs/drive/teams/driveos-sdk/resources/driveos_sdk_thor/files . Could you check download it and copy to target to check installing?

looks like doc issue. We will fix it. Thanks for brining it our attention.

1 Like

@SivaRamaKrishnaNV

You can find the cudnn debian at https://registry.ngc.nvidia.com/orgs/drive/teams/driveos-sdk/resources/driveos_sdk_thor/files . Could you check download it and copy to target to check installing?

Thank you. I could find cudnn-xxx.deb file.

Do you mean I should copy the .deb file to DRIVE Thor and run sudo dpkg -i cudnn-xxx.deb on Thor, instread of using ./drive_installer on the host Ubuntu?

I have an additional question:

Where can I find cudnn header file (something like cudnn.h) for development?

Dear @ryuta.kambe ,
Header files are not included in target. If you need any header files, please copy them from the docker container.

Dear @SivaRamaKrishnaNV

If you need any header files, please copy them from the docker container.

Thank you, I understand.

So basically, building applications on Thor is not supposed, rather developing on the DriveOS docker container on Ubuntu and copying the executables to Thor is the recommended way, right?

Correct.

Thank you!