Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wired inference time for tritonserver #7655

Open
qiuzhewei opened this issue Sep 25, 2024 · 1 comment
Open

wired inference time for tritonserver #7655

qiuzhewei opened this issue Sep 25, 2024 · 1 comment

Comments

@qiuzhewei
Copy link

Description
When I use tritonserver to predict a sequential image list, some wired thing about inference time happend. In most cases, the inference time is about 1ms but some inferece time is way greater(i.e. 29ms). When I change backend to 'onnxruntime', the inference time is stable at around 2ms.
f4989f7314215c03bdf9d38cc33b72fec8a42a7cb35aec798aaa6dd0d9d91440L1VzZXJzL3F6dy9MaWJyYXJ5L0FwcGxpY2F0aW9uIFN1cHBvcnQvaURpbmdUYWxrLzQ0ODQ2NjI0OThfdjIvSW1hZ2VGaWxlcy8xNzI3MjU1MzAxNTQ4XzEwNDg0NERELTVDN0MtNDQ4MS1BQURCLUU1NjVGOEQ0ODM2Ny5wbmc=

Triton Information
version: 2.29.0
Using the container
To Reproduce
Almost reproducable for every trt model I converted.

Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Four model in the backend, face detector and landmark model from insighface, two self-trained classification models.
16f18970405e79a9c1100683b39cc272dff6c243038e442ddf0d924ff03487e1L1VzZXJzL3F6dy9MaWJyYXJ5L0FwcGxpY2F0aW9uIFN1cHBvcnQvaURpbmdUYWxrLzQ0ODQ2NjI0OThfdjIvSW1hZ2VGaWxlcy8xNzI3MjU1NzkzMDg3XzhEODAwRkJDLTE5NkUtNENCRi1BOTk0LUQ1OTQwMDU2QTJEOC5wbmc=
87fbe8f32f2f77b9f974fae639438a9c4c29bdc244b0f41cdb7b8767155ef985L1VzZXJzL3F6dy9MaWJyYXJ5L0FwcGxpY2F0aW9uIFN1cHBvcnQvaURpbmdUYWxrLzQ0ODQ2NjI0OThfdjIvSW1hZ2VGaWxlcy8xNzI3MjU1Nzg1NDU1X0I5ODYzMUM1LUI4MTgtNEIxMC04NUE1LTY5QkIyMjNDOTVFOC5wbmc=

Expected behavior
Stable inference time.
c577603e03518383e743c5c210d3fe4f3d6db4848f2c57304a96a4caf6eb30c9L1VzZXJzL3F6dy9MaWJyYXJ5L0FwcGxpY2F0aW9uIFN1cHBvcnQvaURpbmdUYWxrLzQ0ODQ2NjI0OThfdjIvSW1hZ2VGaWxlcy8xNzI3MjU1ODA0NDI2Xzg4Rjg4Qzc4LUNFQUEtNDQ5Mi1CN0Q0LTMwQkIwQTBGRURFMS5wbmc=

@oandreeva-nv
Copy link
Contributor

Hi @qiuzhewei, thanks for reporting. 2.29.0 seems to correspond to 22.12 version of the container. Could you please verify if this is still an issue for later versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants