Trtexec missing in ngc DeepStream container

• Hardware Platform: Jetson NX
• DeepStream Version: 5.1
• JetPack Version: 4.5.1
• TensorRT Version: 7.8
• Issue Type: question
• NGC Container:

I am trying to convert onnx model to Tensorrt engine but trtexec is not available inside the container.


The binary is binding by the tensorrt.csv file located at /etc/nvidia-container-runtime/host-files-for-container.d/.
Please remember to launch the container with --runtime nvidia to enable the binding.

For example, we can find the trtexec with the following command:

$ sudo docker run -it --rm --net=host --runtime nvidia  -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-5.1 -v /tmp/.X11-unix/:/tmp/.X11-unix
root@Xavier32G:/opt/nvidia/deepstream/deepstream-5.1# ll /usr/src/tensorrt/bin/trtexec
-rwxr-xr-x 1 root root 293672 Jun  6  2020 /usr/src/tensorrt/bin/trtexec*


Thank you for the information,

How does this works for the no-jetson containers, for example I am currently testing with and there is no trtexec available on the host system.


The binary will be added to our future container release.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.