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

Which framework maximizes inference speed ? #877

Closed
SimJeg opened this issue Dec 16, 2022 · 2 comments
Closed

Which framework maximizes inference speed ? #877

SimJeg opened this issue Dec 16, 2022 · 2 comments

Comments

@SimJeg
Copy link

SimJeg commented Dec 16, 2022

Hello,

Do you have somewhere a speed comparison of the different CLIP models with the following matrix ?

  • hardware : T4, V100, A40, A100 etc.
  • model : ViT-B, ViT-L, ViT-H etc.
  • batch size
  • tensor type
  • framework : pytorch JIT, TensorRT, AiTemplate, FasterTransformer by NVIDIA etc.

I am especially interested by the last dimension : which framework / compiler is currently the best to maximize speed of vision transformers ?

Thank you,
Simon

@jemmyshin
Copy link
Member

jemmyshin commented Dec 17, 2022

Hello Simon,

Thank you for your interest in CLIP-as-service. We currently do not have the exact comparison you are looking for, however we do have benchmarks of the different models. You can find them here.

We are in the process of evaluating various inference frameworks, such as AITemplate/dynamo, to determine the most suitable one for each model. Unfortunately, we do not have enough hardware to test the metrics on different hardwares, and some frameworks do not perform well on certain hardware (AITemplate on V100).

@SimJeg
Copy link
Author

SimJeg commented Dec 18, 2022 via email

@ZiniuYu ZiniuYu closed this as completed Mar 2, 2023
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

3 participants