Where is TensorRT located in Ubuntu 16.04? I have installed via dpkg in the way prescribed in the user guide without error. Installation Guide :: NVIDIA Deep Learning TensorRT Documentation
$ dpkg -l | grep TensorRT
ii graphsurgeon-tf 5.0.2-1+cuda10.0 amd64 GraphSurgeon for TensorRT package
ii libnvinfer-dev 5.0.2-1+cuda10.0 amd64 TensorRT development libraries and headers
ii libnvinfer-samples 5.0.2-1+cuda10.0 all TensorRT samples and documentation
ii libnvinfer5 5.0.2-1+cuda10.0 amd64 TensorRT runtime libraries
ii python-libnvinfer 5.0.2-1+cuda10.0 amd64 Python bindings for TensorRT
ii python-libnvinfer-dev 5.0.2-1+cuda10.0 amd64 Python development package for TensorRT
ii python3-libnvinfer 5.0.2-1+cuda10.0 amd64 Python 3 bindings for TensorRT
ii python3-libnvinfer-dev 5.0.2-1+cuda10.0 amd64 Python 3 development package for TensorRT
ii tensorrt 5.0.2.6-1+cuda10.0 amd64 Meta package of TensorRT
ii uff-converter-tf 5.0.2-1+cuda10.0 amd64 UFF converter for TensorRT package
I am now attempting to install onnx-tensorrt, the make/install instructions are:
“Suppose your TensorRT library is located at /opt/tensorrt. Build the onnx2trt executable and the libnvonnxparser* libraries using CMake:”
mkdir build
cd build
cmake .. -DTENSORRT_ROOT=/opt/tensorrt
make -j8
sudo make install
(GitHub - onnx/onnx-tensorrt: ONNX-TensorRT: TensorRT backend for ONNX)
What should I use for DTENSORRT_ROOT? there is nothing at /opt/tensorrt, using find, I note that there exists a candidate at /usr/src/tensorrt:
$ sudo find / -name tensorrt 2> /dev/null
/usr/src/tensorrt
/usr/lib/python2.7/dist-packages/tensorrt
/usr/lib/python3.5/dist-packages/tensorrt
/usr/share/doc/tensorrt