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

Evaluate lower onnx latency for Gdino #18

Open
rhysdg opened this issue Jul 31, 2024 · 1 comment
Open

Evaluate lower onnx latency for Gdino #18

rhysdg opened this issue Jul 31, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rhysdg
Copy link
Owner

rhysdg commented Jul 31, 2024

  • Currently we're looking at about ~3x slower
  • Time has been reduced almost by half with TensorrtExecutionProvider in comparison to straight onnx with the CUDA execution provider - headed through an opset analysis etc
@rhysdg rhysdg added the bug Something isn't working label Jul 31, 2024
@rhysdg rhysdg self-assigned this Jul 31, 2024
@rhysdg
Copy link
Owner Author

rhysdg commented Jul 31, 2024

  • Tracking at a comparable ~0.25s now with custom ops etc - gdino vanila in pytorch is also 0.25. Making progress

  • 150ms is now available with the TensorRT excecution provider after warmup

  • Worth noting that this is with an Ampere GPU - T4's in colab have horrendous performance

  • FP16 takes a heavy hit in inference quality for TRT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant