Conversion of onnx to tensorrt

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
2.1.0
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Issue Description
Hi team, How can we convert onnx model to tensorrt engine? Is there any tool to do so?
Please help!

Dear @akshay.tupkar ,
Please use /usr/src/tensort/bin/trtexec for model conversion and benchmarking. You can also use TensorRT APIe directly. Please see trtexec source code if you want to use APIs.

If you plan to use DW, please check DriveWorks SDK Reference: TensorRT Optimizer Tool

1 Like

dear @SivaRamaKrishnaNV thanks a lot
what is the difference between trtexec and tensorRT optiization tool? Do they work same?

TensorRT optimization tool uses TRT APIs internally and generates model which is compatible with DW DNN APIs.

Dear @SivaRamaKrishnaNV
The source code for tensorRT optimizer has not been provided?

The source code is not available in public release.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.