apollo icon indicating copy to clipboard operation
apollo copied to clipboard

how to get `trtexec`?

Open josh-wende opened this issue 2 years ago • 1 comments

Hi,

I was trying to pre-compile some tensorRT engines with trtexec, but it does not exist in apollo. Is there a way to modify the tensorRT installation to include this executable?

Thanks in advance for any help.

josh-wende avatar Jan 31 '24 02:01 josh-wende

Apollo use tensorRT API to build engine.trtexec is not required.

https://github.com/ApolloAuto/apollo/blob/3859bee50e92d81e94f64ec4a3b3d4241978e8f5/modules/perception/common/inference/tensorrt/rt_net.cc#L912-L926

install tensorRT

If you must use trtexec, you need to install it manually. link

daohu527 avatar Feb 01 '24 07:02 daohu527