I see the following error during the build:
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python3.8/dist-packages/torch/init.py”, line 198, in
_load_global_deps()
File “/usr/local/lib/python3.8/dist-packages/torch/init.py”, line 151, in _load_global_deps
ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
File “/usr/lib/python3.8/ctypes/init.py”, line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: libcurand.so.10: cannot open shared object file: No such file or directory
Nvidia container runtime has been set as default.
From the documentation here (NVIDIA L4T Base | NVIDIA NGC), I understand that CUDA and other libraries are not mounted from the host starting from JetPack 5 and are being installed in the containers themselves. Where is this happening?
Hi @virtual.ramblings, JetPack 5.0.1 / L4T R34.1.1 was a Developer Preview build and the jetpack container image isn’t available for it - it’s recommended to upgrade to one of the newer versions of JetPack 5.x.
The build scripts from jetson-containers set the args in the Dockerfiles dynamically, so the URLs to the base image and PyTorch wheels will be replaced with the appropriate versions for the JetPack release that you are running.