# TensorRT python bindings for Drive AGX Orin

**URL:** <https://forums.developer.nvidia.com/t/tensorrt-python-bindings-for-drive-agx-orin/260289>\
**Category:** DRIVE AGX Orin General\
**Tags:** driveos-dl\
**Created:** [July 19, 2023, 5:58am UTC](https://forums.developer.nvidia.com/t/tensorrt-python-bindings-for-drive-agx-orin/260289 "2023-07-19T05:58:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rohitr](https://forums.developer.nvidia.com/u/rohitr)\
**Post date:** [July 19, 2023, 5:58am UTC](https://forums.developer.nvidia.com/t/tensorrt-python-bindings-for-drive-agx-orin/260289/1 "2023-07-19T05:58:16Z")

</div>

Please provide the following info (tick the boxes after creating this topic):  
**Software Version**  
[\*] 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**  
[\*] 1.9.3.10904  
 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

Hii, I followed approach for generating python bindings suggested by [https://forums.developer.nvidia.com/t/is-there-pre-built-tensorrt-python-package-for-drive-agx-orin/236303](https://forums.developer.nvidia.com/t/is-there-pre-built-tensorrt-python-package-for-drive-agx-orin/236303).

But I am not getting tensorrt wheel file, i.e. tensorrt-\*.whl.  
Can someone suggest any other approach for building TensorRT python package for Drive AGX Orin ??

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [July 19, 2023, 9:56am UTC](https://forums.developer.nvidia.com/t/tensorrt-python-bindings-for-drive-agx-orin/260289/3 "2023-07-19T09:56:11Z")

</div>

Dear @rohitr,  
You need to build it from TRT OSS. The build process is not trivial. Could you share the steps and share the encounters error logs.  
Also, may I know why you are looking for TRT python and not use C++ APIs?

---

<div class="post-metadata">

**Author:** ![rohitr](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rohitr](https://forums.developer.nvidia.com/u/rohitr)\
**Post date:** [July 19, 2023, 11:27am UTC](https://forums.developer.nvidia.com/t/tensorrt-python-bindings-for-drive-agx-orin/260289/4 "2023-07-19T11:27:03Z")

</div>

1)Dear @SivaRamaKrishnaNV , after executing, all steps, mentioned in [[Is there pre-built TensorRT Python package for DRIVE AGX Orin? - #9 by WanchaoYao](https://forums.developer.nvidia.com/t/is-there-pre-built-tensorrt-python-package-for-drive-agx-orin/236303/9)], I am getting wheel file named UNKNOWN-8.6.\*.-cp38-none-linux\_aarch64.whl. Also, I tried to install .whl file mentioned in the forum [[Is there pre-built TensorRT Python package for DRIVE AGX Orin? - #9 by WanchaoYao](https://forums.developer.nvidia.com/t/is-there-pre-built-tensorrt-python-package-for-drive-agx-orin/236303/9)] ([Is there pre-built TensorRT Python package for DRIVE AGX Orin? - #9 by WanchaoYao](https://forums.developer.nvidia.com/t/is-there-pre-built-tensorrt-python-package-for-drive-agx-orin/236303/9)), but it is not working for me.  
2) I needed it for a project, there, for generating inference tensorRT engine, I have to execute python script. [https://github.com/LCH1238/bevdet-tensorrt-cpp](https://github.com/LCH1238/bevdet-tensorrt-cpp)

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [September 21, 2023, 7:08pm UTC](https://forums.developer.nvidia.com/t/tensorrt-python-bindings-for-drive-agx-orin/260289/7 "2023-09-21T19:08:53Z")

</div>

Please note that the TensorRT Python API is now available in the latest release of DRIVE OS 6.0.8.1. Feel free to give it a try.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [October 19, 2023, 2:34am UTC](https://forums.developer.nvidia.com/t/tensorrt-python-bindings-for-drive-agx-orin/260289/9 "2023-10-19T02:34:24Z")

</div>

Closed on October 19, 2023, 2:34am UTC

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