NVIDIA L4T PyTorch

Hi

I’m using JetPack 4.6.
I used the image below.
sudo docker pull nvcr.io/nvidia/l4t-pytorch:r32.6.1-pth1.9-py3

I fail to import PyTorch inside the container!
I added a log to the attachment.
help me! Two days have passed since I was worried. I asked a question because I couldn’t solve it.
I want to run YOLO v5.

キャプチャ

Hi,

Could you try the following command and launch the container again?

$ export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:$LD_LIBRARY_PATH

Thanks.

Hi

Thank you.
I removed the container and then tried your advice.
But it didn’t work.
Help me!

Hi @uchida-k, can you please confirm your JetPack-L4T version with cat /etc/nv_tegra_release ?

Do you have CUDA Toolkit installed and can find libcurand.so.10 on your device outside of container?

$ ls -ll /usr/local/cuda/lib64/
total 2259940
lrwxrwxrwx 1 root root        17 Mar  1  2021 libcublasLt.so -> libcublasLt.so.10
lrwxrwxrwx 1 root root        25 Mar  1  2021 libcublasLt.so.10 -> libcublasLt.so.10.2.3.300
-rw-r--r-- 1 root root  33562824 Mar  1  2021 libcublasLt.so.10.2.3.300
-rw-r--r-- 1 root root  36011742 Mar  1  2021 libcublasLt_static.a
lrwxrwxrwx 1 root root        15 Mar  1  2021 libcublas.so -> libcublas.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libcublas.so.10 -> libcublas.so.10.2.3.300
-rw-r--r-- 1 root root  81096256 Mar  1  2021 libcublas.so.10.2.3.300
-rw-r--r-- 1 root root  96903266 Mar  1  2021 libcublas_static.a
-rw-r--r-- 1 root root    679636 Mar  1  2021 libcudadevrt.a
lrwxrwxrwx 1 root root        17 Mar  1  2021 libcudart.so -> libcudart.so.10.2
lrwxrwxrwx 1 root root        21 Mar  1  2021 libcudart.so.10.2 -> libcudart.so.10.2.300
-rw-r--r-- 1 root root    490664 Mar  1  2021 libcudart.so.10.2.300
-rw-r--r-- 1 root root    888074 Mar  1  2021 libcudart_static.a
lrwxrwxrwx 1 root root        14 Mar  1  2021 libcufft.so -> libcufft.so.10
lrwxrwxrwx 1 root root        22 Mar  1  2021 libcufft.so.10 -> libcufft.so.10.1.2.300
-rw-r--r-- 1 root root 201494704 Mar  1  2021 libcufft.so.10.1.2.300
-rw-r--r-- 1 root root 192531512 Mar  1  2021 libcufft_static.a
-rw-r--r-- 1 root root 210524874 Mar  1  2021 libcufft_static_nocallback.a
lrwxrwxrwx 1 root root        15 Mar  1  2021 libcufftw.so -> libcufftw.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libcufftw.so.10 -> libcufftw.so.10.1.2.300
-rw-r--r-- 1 root root    503192 Mar  1  2021 libcufftw.so.10.1.2.300
-rw-r--r-- 1 root root     31970 Mar  1  2021 libcufftw_static.a
lrwxrwxrwx 1 root root        18 Mar  1  2021 libcuinj64.so -> libcuinj64.so.10.2
lrwxrwxrwx 1 root root        22 Mar  1  2021 libcuinj64.so.10.2 -> libcuinj64.so.10.2.300
-rw-r--r-- 1 root root   1535464 Mar  1  2021 libcuinj64.so.10.2.300
-rw-r--r-- 1 root root     33242 Mar  1  2021 libculibos.a
lrwxrwxrwx 1 root root        16 Mar  1  2021 libcupti.so -> libcupti.so.10.2
lrwxrwxrwx 1 root root        20 Mar  1  2021 libcupti.so.10.2 -> libcupti.so.10.2.175
-rw-r--r-- 1 root root   4526616 Mar  1  2021 libcupti.so.10.2.175
lrwxrwxrwx 1 root root        15 Mar  1  2021 libcurand.so -> libcurand.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libcurand.so.10 -> libcurand.so.10.1.2.300
-rw-r--r-- 1 root root  62698584 Mar  1  2021 libcurand.so.10.1.2.300
-rw-r--r-- 1 root root  62767380 Mar  1  2021 libcurand_static.a
lrwxrwxrwx 1 root root        17 Mar  1  2021 libcusolver.so -> libcusolver.so.10
lrwxrwxrwx 1 root root        25 Mar  1  2021 libcusolver.so.10 -> libcusolver.so.10.3.0.300
-rw-r--r-- 1 root root 218927328 Mar  1  2021 libcusolver.so.10.3.0.300
-rw-r--r-- 1 root root 123895098 Mar  1  2021 libcusolver_static.a
lrwxrwxrwx 1 root root        17 Mar  1  2021 libcusparse.so -> libcusparse.so.10
lrwxrwxrwx 1 root root        25 Mar  1  2021 libcusparse.so.10 -> libcusparse.so.10.3.1.300
-rw-r--r-- 1 root root 141252584 Mar  1  2021 libcusparse.so.10.3.1.300
-rw-r--r-- 1 root root 149512102 Mar  1  2021 libcusparse_static.a
-rw-r--r-- 1 root root   8319056 Mar  1  2021 liblapack_static.a
-rw-r--r-- 1 root root    909274 Mar  1  2021 libmetis_static.a
lrwxrwxrwx 1 root root        13 Mar  1  2021 libnppc.so -> libnppc.so.10
lrwxrwxrwx 1 root root        21 Mar  1  2021 libnppc.so.10 -> libnppc.so.10.2.1.300
-rw-r--r-- 1 root root    503184 Mar  1  2021 libnppc.so.10.2.1.300
-rw-r--r-- 1 root root     26846 Mar  1  2021 libnppc_static.a
lrwxrwxrwx 1 root root        15 Mar  1  2021 libnppial.so -> libnppial.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libnppial.so.10 -> libnppial.so.10.2.1.300
-rw-r--r-- 1 root root  11509472 Mar  1  2021 libnppial.so.10.2.1.300
-rw-r--r-- 1 root root  14410930 Mar  1  2021 libnppial_static.a
lrwxrwxrwx 1 root root        15 Mar  1  2021 libnppicc.so -> libnppicc.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libnppicc.so.10 -> libnppicc.so.10.2.1.300
-rw-r--r-- 1 root root   4914920 Mar  1  2021 libnppicc.so.10.2.1.300
-rw-r--r-- 1 root root   5722536 Mar  1  2021 libnppicc_static.a
lrwxrwxrwx 1 root root        16 Mar  1  2021 libnppicom.so -> libnppicom.so.10
lrwxrwxrwx 1 root root        24 Mar  1  2021 libnppicom.so.10 -> libnppicom.so.10.2.1.300
-rw-r--r-- 1 root root   1453728 Mar  1  2021 libnppicom.so.10.2.1.300
-rw-r--r-- 1 root root   1093680 Mar  1  2021 libnppicom_static.a
lrwxrwxrwx 1 root root        16 Mar  1  2021 libnppidei.so -> libnppidei.so.10
lrwxrwxrwx 1 root root        24 Mar  1  2021 libnppidei.so.10 -> libnppidei.so.10.2.1.300
-rw-r--r-- 1 root root   8175688 Mar  1  2021 libnppidei.so.10.2.1.300
-rw-r--r-- 1 root root  10762478 Mar  1  2021 libnppidei_static.a
lrwxrwxrwx 1 root root        14 Mar  1  2021 libnppif.so -> libnppif.so.10
lrwxrwxrwx 1 root root        22 Mar  1  2021 libnppif.so.10 -> libnppif.so.10.2.1.300
-rw-r--r-- 1 root root  54362944 Mar  1  2021 libnppif.so.10.2.1.300
-rw-r--r-- 1 root root  58471042 Mar  1  2021 libnppif_static.a
lrwxrwxrwx 1 root root        14 Mar  1  2021 libnppig.so -> libnppig.so.10
lrwxrwxrwx 1 root root        22 Mar  1  2021 libnppig.so.10 -> libnppig.so.10.2.1.300
-rw-r--r-- 1 root root  28761920 Mar  1  2021 libnppig.so.10.2.1.300
-rw-r--r-- 1 root root  31432462 Mar  1  2021 libnppig_static.a
lrwxrwxrwx 1 root root        14 Mar  1  2021 libnppim.so -> libnppim.so.10
lrwxrwxrwx 1 root root        22 Mar  1  2021 libnppim.so.10 -> libnppim.so.10.2.1.300
-rw-r--r-- 1 root root   7163640 Mar  1  2021 libnppim.so.10.2.1.300
-rw-r--r-- 1 root root   7396476 Mar  1  2021 libnppim_static.a
lrwxrwxrwx 1 root root        15 Mar  1  2021 libnppist.so -> libnppist.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libnppist.so.10 -> libnppist.so.10.2.1.300
-rw-r--r-- 1 root root  20877336 Mar  1  2021 libnppist.so.10.2.1.300
-rw-r--r-- 1 root root  23399160 Mar  1  2021 libnppist_static.a
lrwxrwxrwx 1 root root        15 Mar  1  2021 libnppisu.so -> libnppisu.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libnppisu.so.10 -> libnppisu.so.10.2.1.300
-rw-r--r-- 1 root root    486576 Mar  1  2021 libnppisu.so.10.2.1.300
-rw-r--r-- 1 root root     11458 Mar  1  2021 libnppisu_static.a
lrwxrwxrwx 1 root root        15 Mar  1  2021 libnppitc.so -> libnppitc.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libnppitc.so.10 -> libnppitc.so.10.2.1.300
-rw-r--r-- 1 root root   3112480 Mar  1  2021 libnppitc.so.10.2.1.300
-rw-r--r-- 1 root root   3205362 Mar  1  2021 libnppitc_static.a
lrwxrwxrwx 1 root root        13 Mar  1  2021 libnpps.so -> libnpps.so.10
lrwxrwxrwx 1 root root        21 Mar  1  2021 libnpps.so.10 -> libnpps.so.10.2.1.300
-rw-r--r-- 1 root root   9539760 Mar  1  2021 libnpps.so.10.2.1.300
-rw-r--r-- 1 root root  10690508 Mar  1  2021 libnpps_static.a
lrwxrwxrwx 1 root root        15 Mar  1  2021 libnvblas.so -> libnvblas.so.10
lrwxrwxrwx 1 root root        23 Mar  1  2021 libnvblas.so.10 -> libnvblas.so.10.2.3.300
-rw-r--r-- 1 root root    540232 Mar  1  2021 libnvblas.so.10.2.3.300
lrwxrwxrwx 1 root root        16 Mar  1  2021 libnvgraph.so -> libnvgraph.so.10
lrwxrwxrwx 1 root root        22 Mar  1  2021 libnvgraph.so.10 -> libnvgraph.so.10.2.300
-rw-r--r-- 1 root root 165012616 Mar  1  2021 libnvgraph.so.10.2.300
-rw-r--r-- 1 root root 168141386 Mar  1  2021 libnvgraph_static.a
-rw-r--r-- 1 root root   7430712 Mar  1  2021 libnvperf_host.so
-rw-r--r-- 1 root root   1096016 Mar  1  2021 libnvperf_target.so
lrwxrwxrwx 1 root root        25 Mar  1  2021 libnvrtc-builtins.so -> libnvrtc-builtins.so.10.2
lrwxrwxrwx 1 root root        29 Mar  1  2021 libnvrtc-builtins.so.10.2 -> libnvrtc-builtins.so.10.2.300
-rw-r--r-- 1 root root   4794168 Mar  1  2021 libnvrtc-builtins.so.10.2.300
lrwxrwxrwx 1 root root        16 Mar  1  2021 libnvrtc.so -> libnvrtc.so.10.2
lrwxrwxrwx 1 root root        20 Mar  1  2021 libnvrtc.so.10.2 -> libnvrtc.so.10.2.300
-rw-r--r-- 1 root root  20432800 Mar  1  2021 libnvrtc.so.10.2.300
lrwxrwxrwx 1 root root        18 Mar  1  2021 libnvToolsExt.so -> libnvToolsExt.so.1
lrwxrwxrwx 1 root root        22 Mar  1  2021 libnvToolsExt.so.1 -> libnvToolsExt.so.1.0.0
-rw-r--r-- 1 root root     44088 Mar  1  2021 libnvToolsExt.so.1.0.0
drwxr-xr-x 2 root root      4096 Jul 26  2021 stubs

Similarly, how does this look if you run the same thing inside of container?

There are CSV files on your device which should mount CUDA/cuDNN/TensorRT/ect into the containers:

ls -ll /etc/nvidia-container-runtime/host-files-for-container.d/
total 36
-rw-r--r-- 1 root root    26 May 23  2021 cuda.csv
-rw-r--r-- 1 root root  4250 Jul 13  2021 cudnn.csv
-rw-r--r-- 1 root root 12240 Jul 26  2021 l4t.csv
-rw-r--r-- 1 root root  2653 Jul 21  2021 opencv.csv
-rw-r--r-- 1 root root  1521 Jun 30  2021 tensorrt.csv
-rw-r--r-- 1 root root   325 Aug 11  2020 visionworks.csv

You may need to remove/reinstall the NVIDIA container runtime packages if these mounts are no longer working, or re-flash your device if you continue having issues.

$ apt-cache search nvidia-container*
libnvidia-container-tools - NVIDIA container runtime library (command-line tools)
libnvidia-container0 - NVIDIA container runtime library
nvidia-container-csv-cuda - Jetpack CUDA CSV file
nvidia-container-csv-cudnn - Jetpack CUDNN CSV file
nvidia-container-csv-tensorrt - Jetpack TensorRT CSV file
nvidia-container-csv-visionworks - Jetpack VisionWorks CSV file
nvidia-container-runtime - NVIDIA container runtime
nvidia-container-toolkit - NVIDIA container runtime hook
nvidia-docker2 - nvidia-docker CLI wrapper
nvidia-container - NVIDIA Container Meta Package
nvidia-container-csv-opencv - Jetpack OpenCV CSV file

Hi @dusty_nv

I appreciate your advice.
I ran “cat /etc/nv_tegra_release” .
R32 (release), REVISION: 7.2, GCID: 30192233, … was output.
Jetpack version is 4.6.2-b5

The libcurand.so.10 file will be checked next Monday.
I’m sorry.

Ah okay - for L4T R32.7.x, please run nvcr.io/nvidia/l4t-pytorch:r32.7.1-pth1.9-py3 container instead

Hi

I’m using http://nvcr.io/nvidia/l4t-pytorch:r32.7.1-pth1.9-py3
I found libcurand.so.10.
I tried ls -ll /usr/local/cuda/lib64/. The result is below.

$ ls -ll /usr/local/cuda/lib64/
合計 2259944
lrwxrwxrwx 1 root root        15  3月  2  2021 libcublas.so -> libcublas.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libcublas.so.10 -> libcublas.so.10.2.3.300
-rw-r--r-- 1 root root  81096256  3月  2  2021 libcublas.so.10.2.3.300
lrwxrwxrwx 1 root root        17  3月  2  2021 libcublasLt.so -> libcublasLt.so.10
lrwxrwxrwx 1 root root        25  3月  2  2021 libcublasLt.so.10 -> libcublasLt.so.10.2.3.300
-rw-r--r-- 1 root root  33562824  3月  2  2021 libcublasLt.so.10.2.3.300
-rw-r--r-- 1 root root  36011742  3月  2  2021 libcublasLt_static.a
-rw-r--r-- 1 root root  96903266  3月  2  2021 libcublas_static.a
-rw-r--r-- 1 root root    679636  3月  2  2021 libcudadevrt.a
lrwxrwxrwx 1 root root        17  3月  2  2021 libcudart.so -> libcudart.so.10.2
lrwxrwxrwx 1 root root        21  3月  2  2021 libcudart.so.10.2 -> libcudart.so.10.2.300
-rw-r--r-- 1 root root    490664  3月  2  2021 libcudart.so.10.2.300
-rw-r--r-- 1 root root    888074  3月  2  2021 libcudart_static.a
lrwxrwxrwx 1 root root        14  3月  2  2021 libcufft.so -> libcufft.so.10
lrwxrwxrwx 1 root root        22  3月  2  2021 libcufft.so.10 -> libcufft.so.10.1.2.300
-rw-r--r-- 1 root root 201494704  3月  2  2021 libcufft.so.10.1.2.300
-rw-r--r-- 1 root root 192531512  3月  2  2021 libcufft_static.a
-rw-r--r-- 1 root root 210524874  3月  2  2021 libcufft_static_nocallback.a
lrwxrwxrwx 1 root root        15  3月  2  2021 libcufftw.so -> libcufftw.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libcufftw.so.10 -> libcufftw.so.10.1.2.300
-rw-r--r-- 1 root root    503192  3月  2  2021 libcufftw.so.10.1.2.300
-rw-r--r-- 1 root root     31970  3月  2  2021 libcufftw_static.a
lrwxrwxrwx 1 root root        18  3月  2  2021 libcuinj64.so -> libcuinj64.so.10.2
lrwxrwxrwx 1 root root        22  3月  2  2021 libcuinj64.so.10.2 -> libcuinj64.so.10.2.300
-rw-r--r-- 1 root root   1535464  3月  2  2021 libcuinj64.so.10.2.300
-rw-r--r-- 1 root root     33242  3月  2  2021 libculibos.a
lrwxrwxrwx 1 root root        16  3月  2  2021 libcupti.so -> libcupti.so.10.2
lrwxrwxrwx 1 root root        20  3月  2  2021 libcupti.so.10.2 -> libcupti.so.10.2.175
-rw-r--r-- 1 root root   4526616  3月  2  2021 libcupti.so.10.2.175
lrwxrwxrwx 1 root root        15  3月  2  2021 libcurand.so -> libcurand.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libcurand.so.10 -> libcurand.so.10.1.2.300
-rw-r--r-- 1 root root  62698584  3月  2  2021 libcurand.so.10.1.2.300
-rw-r--r-- 1 root root  62767380  3月  2  2021 libcurand_static.a
lrwxrwxrwx 1 root root        17  3月  2  2021 libcusolver.so -> libcusolver.so.10
lrwxrwxrwx 1 root root        25  3月  2  2021 libcusolver.so.10 -> libcusolver.so.10.3.0.300
-rw-r--r-- 1 root root 218927328  3月  2  2021 libcusolver.so.10.3.0.300
-rw-r--r-- 1 root root 123895098  3月  2  2021 libcusolver_static.a
lrwxrwxrwx 1 root root        17  3月  2  2021 libcusparse.so -> libcusparse.so.10
lrwxrwxrwx 1 root root        25  3月  2  2021 libcusparse.so.10 -> libcusparse.so.10.3.1.300
-rw-r--r-- 1 root root 141252584  3月  2  2021 libcusparse.so.10.3.1.300
-rw-r--r-- 1 root root 149512102  3月  2  2021 libcusparse_static.a
-rw-r--r-- 1 root root   8319056  3月  2  2021 liblapack_static.a
-rw-r--r-- 1 root root    909274  3月  2  2021 libmetis_static.a
lrwxrwxrwx 1 root root        13  3月  2  2021 libnppc.so -> libnppc.so.10
lrwxrwxrwx 1 root root        21  3月  2  2021 libnppc.so.10 -> libnppc.so.10.2.1.300
-rw-r--r-- 1 root root    503184  3月  2  2021 libnppc.so.10.2.1.300
-rw-r--r-- 1 root root     26846  3月  2  2021 libnppc_static.a
lrwxrwxrwx 1 root root        15  3月  2  2021 libnppial.so -> libnppial.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libnppial.so.10 -> libnppial.so.10.2.1.300
-rw-r--r-- 1 root root  11509472  3月  2  2021 libnppial.so.10.2.1.300
-rw-r--r-- 1 root root  14410930  3月  2  2021 libnppial_static.a
lrwxrwxrwx 1 root root        15  3月  2  2021 libnppicc.so -> libnppicc.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libnppicc.so.10 -> libnppicc.so.10.2.1.300
-rw-r--r-- 1 root root   4914920  3月  2  2021 libnppicc.so.10.2.1.300
-rw-r--r-- 1 root root   5722536  3月  2  2021 libnppicc_static.a
lrwxrwxrwx 1 root root        16  3月  2  2021 libnppicom.so -> libnppicom.so.10
lrwxrwxrwx 1 root root        24  3月  2  2021 libnppicom.so.10 -> libnppicom.so.10.2.1.300
-rw-r--r-- 1 root root   1453728  3月  2  2021 libnppicom.so.10.2.1.300
-rw-r--r-- 1 root root   1093680  3月  2  2021 libnppicom_static.a
lrwxrwxrwx 1 root root        16  3月  2  2021 libnppidei.so -> libnppidei.so.10
lrwxrwxrwx 1 root root        24  3月  2  2021 libnppidei.so.10 -> libnppidei.so.10.2.1.300
-rw-r--r-- 1 root root   8175688  3月  2  2021 libnppidei.so.10.2.1.300
-rw-r--r-- 1 root root  10762478  3月  2  2021 libnppidei_static.a
lrwxrwxrwx 1 root root        14  3月  2  2021 libnppif.so -> libnppif.so.10
lrwxrwxrwx 1 root root        22  3月  2  2021 libnppif.so.10 -> libnppif.so.10.2.1.300
-rw-r--r-- 1 root root  54362944  3月  2  2021 libnppif.so.10.2.1.300
-rw-r--r-- 1 root root  58471042  3月  2  2021 libnppif_static.a
lrwxrwxrwx 1 root root        14  3月  2  2021 libnppig.so -> libnppig.so.10
lrwxrwxrwx 1 root root        22  3月  2  2021 libnppig.so.10 -> libnppig.so.10.2.1.300
-rw-r--r-- 1 root root  28761920  3月  2  2021 libnppig.so.10.2.1.300
-rw-r--r-- 1 root root  31432462  3月  2  2021 libnppig_static.a
lrwxrwxrwx 1 root root        14  3月  2  2021 libnppim.so -> libnppim.so.10
lrwxrwxrwx 1 root root        22  3月  2  2021 libnppim.so.10 -> libnppim.so.10.2.1.300
-rw-r--r-- 1 root root   7163640  3月  2  2021 libnppim.so.10.2.1.300
-rw-r--r-- 1 root root   7396476  3月  2  2021 libnppim_static.a
lrwxrwxrwx 1 root root        15  3月  2  2021 libnppist.so -> libnppist.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libnppist.so.10 -> libnppist.so.10.2.1.300
-rw-r--r-- 1 root root  20877336  3月  2  2021 libnppist.so.10.2.1.300
-rw-r--r-- 1 root root  23399160  3月  2  2021 libnppist_static.a
lrwxrwxrwx 1 root root        15  3月  2  2021 libnppisu.so -> libnppisu.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libnppisu.so.10 -> libnppisu.so.10.2.1.300
-rw-r--r-- 1 root root    486576  3月  2  2021 libnppisu.so.10.2.1.300
-rw-r--r-- 1 root root     11458  3月  2  2021 libnppisu_static.a
lrwxrwxrwx 1 root root        15  3月  2  2021 libnppitc.so -> libnppitc.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libnppitc.so.10 -> libnppitc.so.10.2.1.300
-rw-r--r-- 1 root root   3112480  3月  2  2021 libnppitc.so.10.2.1.300
-rw-r--r-- 1 root root   3205362  3月  2  2021 libnppitc_static.a
lrwxrwxrwx 1 root root        13  3月  2  2021 libnpps.so -> libnpps.so.10
lrwxrwxrwx 1 root root        21  3月  2  2021 libnpps.so.10 -> libnpps.so.10.2.1.300
-rw-r--r-- 1 root root   9539760  3月  2  2021 libnpps.so.10.2.1.300
-rw-r--r-- 1 root root  10690508  3月  2  2021 libnpps_static.a
lrwxrwxrwx 1 root root        18  3月  2  2021 libnvToolsExt.so -> libnvToolsExt.so.1
lrwxrwxrwx 1 root root        22  3月  2  2021 libnvToolsExt.so.1 -> libnvToolsExt.so.1.0.0
-rw-r--r-- 1 root root     44088  3月  2  2021 libnvToolsExt.so.1.0.0
lrwxrwxrwx 1 root root        15  3月  2  2021 libnvblas.so -> libnvblas.so.10
lrwxrwxrwx 1 root root        23  3月  2  2021 libnvblas.so.10 -> libnvblas.so.10.2.3.300
-rw-r--r-- 1 root root    540232  3月  2  2021 libnvblas.so.10.2.3.300
lrwxrwxrwx 1 root root        16  3月  2  2021 libnvgraph.so -> libnvgraph.so.10
lrwxrwxrwx 1 root root        22  3月  2  2021 libnvgraph.so.10 -> libnvgraph.so.10.2.300
-rw-r--r-- 1 root root 165012616  3月  2  2021 libnvgraph.so.10.2.300
-rw-r--r-- 1 root root 168141386  3月  2  2021 libnvgraph_static.a
-rw-r--r-- 1 root root   7430712  3月  2  2021 libnvperf_host.so
-rw-r--r-- 1 root root   1096016  3月  2  2021 libnvperf_target.so
lrwxrwxrwx 1 root root        25  3月  2  2021 libnvrtc-builtins.so -> libnvrtc-builtins.so.10.2
lrwxrwxrwx 1 root root        29  3月  2  2021 libnvrtc-builtins.so.10.2 -> libnvrtc-builtins.so.10.2.300
-rw-r--r-- 1 root root   4794168  3月  2  2021 libnvrtc-builtins.so.10.2.300
lrwxrwxrwx 1 root root        16  3月  2  2021 libnvrtc.so -> libnvrtc.so.10.2
lrwxrwxrwx 1 root root        20  3月  2  2021 libnvrtc.so.10.2 -> libnvrtc.so.10.2.300
-rw-r--r-- 1 root root  20432800  3月  2  2021 libnvrtc.so.10.2.300
drwxr-xr-x 2 root root      4096  5月 18 14:20 stubs

Next,
I tried ls -ll /etc/nvidia-container-runtime/host-files-for-container.d/. The result is below.

$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-pytorch:r32.7.1-pth1.9-py3
root@desktop:/# -ll /etc/nvidia-container-runtime/host-files-for-container.d/
bash: -ll: command not found
root@desktop:/# ls -ll /etc/nvidia-container-runtime/host-files-for-container.d/
ls: cannot access '/etc/nvidia-container-runtime/host-files-for-container.d/': No such file or directory

Could you please tell me how this works fine?
I know how to mount Docker, but I don’t know what I need to mount.
Thank you for your advice.

Hi

I understand the cause.

I flashed Jetpack 4.6.1 again.
and,
I confirmed that it is R32.7.1 with the cat / etc / nv_tegra_release command.
I chose a suitable l4t-pytorch by referring to the following.

I used nvcr.io/nvidia/l4t-pytorch: r32.7.1-pth1.9-py3.
Then I was able to execute it without any problems.
Thank you everyone.