-
Notifications
You must be signed in to change notification settings - Fork 454
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
ORTOptimizer for the model type table-transformer #1761
Comments
Hi @zachmayer thanks for interest in adding the Here are the steps to follow:
Check more detail in the very good first issue here #351. Let me know if you require additional details 🙂 |
I made a PR here for segformers. once that's merged I'll add table transformers! |
segformers PR merged! |
@mht-sharma — I don't see a modeling ORT for table-transformers (like there was with segformers). Does this mean I'll need to make one? https://github.com/huggingface/optimum/blob/main/optimum/onnxruntime/modeling_ort.py |
I took a shot at this. What do you think? #1900 |
Feature request
I'd like to add support for the new microsoft table transformers to ORTOptimizer
Motivation
These table transformers are object detection models. They have a backbone that's a CNN, so at the very least I think we could optimize the CNN part of these models?
Your contribution
Here is my sample script:
Which raises
NotImplementedError: Tried to use ORTOptimizer for the model type table-transformer, but it is not available yet. Please open an issue or submit a PR at https://github.com/huggingface/optimum.
I'm more than happy to make PR, if someone could share some example PRs I could use as a template or give me some guidance as to how to start.
The text was updated successfully, but these errors were encountered: