Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson Orin Nano
• Jetpack 6.2
• Driver Version: 540.4.0
• CUDA Version: 12.6
• Issue Type( questions, new requirements, bugs)
Hello,
I want to try the NanoSAM example from the Jetson AI Lab.
I execute sudo jetson-containers build $(autotag nanosam).
It breaks at this step:
Step 5/6 : RUN cd /opt && git clone --depth=1 GitHub - NVIDIA-AI-IOT/torch2trt: An easy to use PyTorch to TensorRT converter && cd torch2trt && cp /tmp/patches/flattener.py torch2trt && pip3 install . && sed ‘s|^set(CUDA_ARCHITECTURES.*|#|g’ -i CMakeLists.txt && sed ‘s|Catch2_FOUND|False|g’ -i CMakeLists.txt && cmake -B build -DCUDA_ARCHITECTURES=${CUDA_ARCHITECTURES} . && cmake --build build --target install && ldconfig && pip3 install nvidia-pyindex && pip3 install onnx-graphsurgeon
—> Running in 0f608dfdd2e4
Cloning into ‘torch2trt’…
Using pip 25.0.1 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-build-tracker-1cjjmp7j
Initialized build tracking at /tmp/pip-build-tracker-1cjjmp7j
Created build tracker: /tmp/pip-build-tracker-1cjjmp7j
Entered build tracker: /tmp/pip-build-tracker-1cjjmp7j
Created temporary directory: /tmp/pip-install-0ruoniag
Created temporary directory: /tmp/pip-ephem-wheel-cache-yg6n3vus
Looking in indexes: jp6/cu126 index
Processing /opt/torch2trt
Added file:///opt/torch2trt to build tracker ‘/tmp/pip-build-tracker-1cjjmp7j’
Running setup.py (path:/opt/torch2trt/setup.py) egg_info for package from file:///opt/torch2trt
Created temporary directory: /tmp/pip-pip-egg-info-cfv0uzw2
Preparing metadata (setup.py): started
Running command python setup.py egg_info
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “/opt/torch2trt/setup.py”, line 2, in
import tensorrt
File “/usr/local/lib/python3.10/dist-packages/tensorrt/init.py”, line 75, in
from .tensorrt import *
ImportError: libnvdla_compiler.so: cannot open shared object file: No such file or directory
error: subprocess-exited-with-error
I made sure that the /usr/lib/aarch64-linux-gnu/nvidia/libnvdla_compiler.so is available on the host system.