TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

how to remove dependency of python when building TensorRT OSS for custom plugin

Open hitbuyi opened this issue 3 years ago • 1 comments

I build TensorRT-OSS v8.0.1.6 + TensorRT-8.0.1.6.Linux.x86_64-gnu.cuda-11.3.cudnn8.2,for purpose of writing custom ops, it need python, In my deployment, no python is needed, so I want to remove python related code from TensorRT-OSS, is it possible? if so, how to modified CMakeLists.txt TensorRT-OSS?

hitbuyi avatar Sep 23 '22 10:09 hitbuyi

Just don't install the python whl? I believe they need extra steps to build(https://github.com/NVIDIA/TensorRT/tree/main/python).

zerollzeng avatar Sep 24 '22 16:09 zerollzeng

closing since no activity for more than 3 weeks, please reopen if you still have question, thanks!

ttyio avatar Dec 06 '22 02:12 ttyio