How to install libnvinfer-dev to drive px 2


Hi, I want to compile a C++ code on Nvidia Drive PX 2 to make inference with TensorRT. TensorRT 4.1.1-1 is pre-installed in the machine. However it turns out that only runtime libraries for TensorRT are installed but the header and lib files are not installed therefore I cannot do any compilation since NvInfer.h cannot be found. I tried to run sudo apt-get install libnvinder-dev to have the dev package installed however the repo could not be found.

Is it possible to get the dev package for TensorRT 4 in drive px 2?

Secondly, I know that TensorRT in drive px 2 does not have a Python API. Would installing TensorRT to drive AGX (I might have access to a drive AGX) provide a python API?


TensorRT Version:
GPU Type: 2x Tegra “Parker” (Pascal) + 2x Unknown Pascal
Nvidia Driver Version: could not find
CUDA Version: 9.2
CUDNN Version: not installed (at least no cudnn.h in /usr/local/cuda/include)
Operating System + Version: ubuntu 16
Python Version (if applicable): 3.6
TensorFlow Version (if applicable): not available
PyTorch Version (if applicable): not available
Baremetal or Container (if container which image + tag): unknown

You are using TRT4.1 which is very old release.
We request you to upgrade to latest TRT release.


Could you kindly confirm that any TRT version greater than 5 requires CUDA version >= 10.0 ? Is updating the CUDA version 9 to 10.X or 11.X suggested for drive px 2?

You can find the supported platform details wrt versions here.