TensorRT Backend Installation Error
See original GitHub issueDescription A clear and concise description of what the bug is.
Hello,
I am trying to install tensorRT backend. First, I clone this repo https://github.com/triton-inference-server/tensorrt_backend Then follow the steps.
cmake -DCMAKE_INSTALL_PREFIX:PATH=pwd
/install -DTRITON_BACKEND_REPO_TAG=r21.07 -DTRITON_CORE_REPO_TAG=r21.07 -DTRITON_COMMON_REPO_TAG=r21.07 …
when I run $make install command, I got an error like this:
[ 60%] Building CXX object CMakeFiles/triton-tensorrt-backend.dir/src/tensorrt.cc.o /home/user/Downloads/tritonserver2.12.0-jetpack4.6/backends/tensorrt_backend/src/tensorrt.cc:36:10: fatal error: triton/common/nvtx.h: No such file or directory #include “triton/common/nvtx.h” ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. CMakeFiles/triton-tensorrt-backend.dir/build.make:81: recipe for target ‘CMakeFiles/triton-tensorrt-backend.dir/src/tensorrt.cc.o’ failed make[2]: *** [CMakeFiles/triton-tensorrt-backend.dir/src/tensorrt.cc.o] Error 1 CMakeFiles/Makefile2:165: recipe for target ‘CMakeFiles/triton-tensorrt-backend.dir/all’ failed make[1]: *** [CMakeFiles/triton-tensorrt-backend.dir/all] Error 2 Makefile:148: recipe for target ‘all’ failed
What should I do?
I think, I have to give the tensorRT path to the cmake command but I couldnt find the TensorRT path. I am using Jetpack 4.6 and TensorRT 8.0.1.6 is installed on my Jetson.
Where can I find the TensorRT path ? And what else should I do to install tensorRT backend.
Thanks
Triton Information What version of Triton are you using? r21.07 Are you using the Triton container or did you build it yourself? Build myself To Reproduce Steps to reproduce the behavior.
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Expected behavior A clear and concise description of what you expected to happen.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
I think your tensorrt_backend is not in r21.07 branch,you should keep branch consistent with common\backend\core.
@zhenxingsh is right. @sarperkilic please fix the branch names to be consistent with the version you are building for