Open trxcllnt opened 6 months ago
@trxcllnt the NVIDIA Container Toolkit Injects GPU driver libraries from the host into the container. With this in mind, it is unlikely that emulated containers will work as expected.
(Note that this is not to say that the code to run ldconfig does not need some adjustment. Could you please confirm your NVIDIA Container Toolkit version?)
$ apt policy nvidia-container-toolkit
nvidia-container-toolkit:
Installed: 1.14.6-1
Candidate: 1.14.6-1
Version table:
*** 1.14.6-1 600
600 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 Packages
Possibly related: https://github.com/NVIDIA/nvidia-container-toolkit/issues/373, https://github.com/NVIDIA/nvidia-container-toolkit/issues/123
It looks like the ldcache is incorrect when emulating an ARM container on an x86 host:
The above commands without the
--gpus all
flag have the correct output: