-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Enable ONNX export for VisionDecoderEncoderModel
#14812
Comments
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
I believe progress on this ticket will be welcome by the communitiy. |
Hey @albertoandreottiATgmail thanks for the interest! This is next up on my list now that we've just merged the ViT export in #15658 :) |
Hi @lewtun is there any way (or script) to export trocr to onnx ? |
Hi all, any updates on this? I've also tried to convert TrOCR to ONNX without success. Thanks in advance :) cc @lewtun |
Re-opening this issue as it hasn't been resolved yet |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Adding another feature request for this: NielsRogge/Transformers-Tutorials#183 |
Any updates on this one? Thank you |
Hi folks, @mht-sharma will be tackling this issue - stay tuned :) |
@mht-sharma Any updates? Thank you. |
@BakingBrains you can see the PR from @mht-sharma linked above - we should be able to get this merged pretty soon! |
@lewtun and @mht-sharma Thank you. |
🚀 Feature request
As discussed on the forums, it would be nice if one could export
VisionDecoderEncoderModel
classes using thetransformers.onnx
package.Motivation
It is currently not possible to export
VisionDecoderEncoderModel
classes (or vision models more generally), unless the end user is willing to write their ownOnnxConfig
. It might make sense to first explore what is involved in exporting ViT before tackling this more complex example.Looking at this a bit more closely, I can see that
transformers.onnx
currently has a tight integration with tokenizers (e.g. to generate dummy inputs), so some refactoring will be necessary to support other modalities.The text was updated successfully, but these errors were encountered: