Hi, I am trying to use CUDA and TensorRT inside the docker container with my Jetson Xavier with base image is nvcr.io/nvidia/l4t-tensorrt:r8.4.1-runtime. But it failed to mount Cuda and TensorRT to the container. I figured it out that it is missing files: cuda.csv, cudnn.csv, tensorrt.csv in /etc/nvidia-container-runtime/host-files-for-container.d/ :
$ ll /etc/nvidia-container-runtime/host-files-for-container.d/
total 24
drwxr-xr-x 2 root root 4096 Nov 25 06:48 ./
drwxr-xr-x 3 root root 4096 Jan 27 03:19 ../
-rw-r--r-- 1 root root 15870 Aug 25 14:38 l4t.csv
Can you help me how to mount CUDA and TensorRT correctly in the docker container or how to restore the missing csv files?
Thank you!
JetPack 5.x, only l4t.csv gets used (because CUDA/cuDNN/TensorRT/ect are installed inside the containers on JetPack 5 for portability). Does that answer your question?
This means you need to use l4t-tensorrt instead of l4t-base, or install the cuda and tensorrt deps inside manually.
Sorry about that, we’re currently working on it - I did try running l4t-jetpack:r35.1.0 on JetPack 5.1 though, and it seemed to work (just some quick/basic checks I did)