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

long inference time of using TensorrtExecutionProvider #97

Open
noahzn opened this issue Nov 15, 2024 · 0 comments
Open

long inference time of using TensorrtExecutionProvider #97

noahzn opened this issue Nov 15, 2024 · 0 comments

Comments

@noahzn
Copy link

noahzn commented Nov 15, 2024

Hi, since we can not guarantee that the same numbers of keypoints are extracted and matched, using TensorrtExecutionProvider will generate cached files for the first time and these caches will be used later for faster inference. However, when the network meets some new inputs that are not in the optimized ranges of cached files, the engine will generate new cached files and this may take more than 1 minutes. This is very dangerous as we are running the network online. Do you have any idea how we can solve this issue? I have also raised a similar issue in the ONNX repo. microsoft/onnxruntime#22822

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

No branches or pull requests

1 participant