CUDA-PointPillars icon indicating copy to clipboard operation
CUDA-PointPillars copied to clipboard

Support for older TRT 5.1.4

Open lazatsoc opened this issue 2 years ago • 1 comments

Hi, would it be possible to run the model on an older version of TRT/CUDNN/CUDA? We are using the DRIVE AGX with Drive Software 10.0 with TRT 5.1.4. Even the latest Drive SDK does not provide TRT 8.4.0. so it seems like a problem right now. If it can be done, can you please provide some instructions on how to do this? Thanks.

lazatsoc avatar Jun 06 '22 16:06 lazatsoc

I have managed to compile the demo with TRT 6.5 without too much trouble. The only modification needed is described in https://github.com/NVIDIA-AI-IOT/CUDA-PointPillars/issues/33#issuecomment-1111113025

However, compilation with the even older TRT 5.1 seems a bit trickier. Specifically, following the same procedure produces the following error:

CUDA-PointPillars/include/pointpillar.h:23:10: fatal error: NvInferRuntime.h: No such file or directory #include "NvInferRuntime.h"

Indeed, the include directory of TRT 5.1 does not include a NvInferRuntime.h as it is shown here:

https://github.com/NVIDIA/TensorRT/tree/release/5.1/include

But it was introduced in TRT 6.0

https://github.com/NVIDIA/TensorRT/tree/release/6.0/include

Could you please provide a workaround to this issue, if there is one?

Thanks.

lazatsoc avatar Jun 23 '22 12:06 lazatsoc