# Sample program for using triton inference

**URL:** <https://forums.developer.nvidia.com/t/sample-program-for-using-triton-inference/282992>\
**Category:** DeepStream SDK\
**Created:** [February 16, 2024, 3:04am UTC](https://forums.developer.nvidia.com/t/sample-program-for-using-triton-inference/282992 "2024-02-16T03:04:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![edit\_or](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@edit\_or](https://forums.developer.nvidia.com/u/edit_or)\
**Post date:** [February 16, 2024, 3:04am UTC](https://forums.developer.nvidia.com/t/sample-program-for-using-triton-inference/282992/1 "2024-02-16T03:04:25Z")

</div>

Please provide complete information as applicable to your setup.

\*\*• Hardware Platform (Jetson / GPU)\*\*RTX3080  
**• DeepStream Version** 6.4  
I am wondering whether deepstream-app can be used together with triton local inference. My plan is as follows.  
(1)Use deepstream-app upto stream-mux so that my config file has only sources and streammux.  
(2)PGIE, Tracker and SGIEs are done using triton local inference.  
(3)Then all metas are pushed back to osd for display or we can use rtsp for remote display.  
Is it possible?  
All inference and tracking are done in TensorRT.  
Because using deepstream pipeline has limitations for making changes.  
Using that way we have more freedom to make changes to code.

---

<div class="post-metadata">

**Author:** ![edit\_or](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@edit\_or](https://forums.developer.nvidia.com/u/edit_or)\
**Post date:** [February 16, 2024, 3:04am UTC](https://forums.developer.nvidia.com/t/sample-program-for-using-triton-inference/282992/2 "2024-02-16T03:04:42Z")

</div>

We have benefits like we can do multiple instances of model if required, etc. Now I even have difficulties to make changes of objectmetas for sgies. Pls see in my earlier [queries](https://forums.developer.nvidia.com/t/detecting-pose-of-a-specific-person-using-poseclassificationnet/281945/3).  
Any samples for that?

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [February 19, 2024, 2:05am UTC](https://forums.developer.nvidia.com/t/sample-program-for-using-triton-inference/282992/4 "2024-02-19T02:05:51Z")

</div>

> [@edit\_or](#):
>
> Is it possible?

yes, please refer to [nvinferserver](https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvinferserver.html). which leverage triton to do inference.  
please refer to deepstream-test1 for nvinferserver sample.

---

<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:** [March 4, 2024, 2:06am UTC](https://forums.developer.nvidia.com/t/sample-program-for-using-triton-inference/282992/5 "2024-03-04T02:06:24Z")

</div>

Closed on March 4, 2024, 2:06am UTC

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