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

Request for ONNX Export Support for Blip Model in Optimum #1818

Open
n9s8a opened this issue Apr 17, 2024 · 0 comments
Open

Request for ONNX Export Support for Blip Model in Optimum #1818

n9s8a opened this issue Apr 17, 2024 · 0 comments

Comments

@n9s8a
Copy link

n9s8a commented Apr 17, 2024

Hi Team,

I hope this message finds you well.

I've encountered an issue while attempting to export Blip model into the ONNX format using Optimum. I have used below command.

! optimum-cli export onnx -m Salesforce/blip-itm-base-coco --task feature-extraction blip_onnx

It appears that Optimum currently lacks support for this functionality, leading to errors during the export process.

ValueError: Trying to export a blip model, that is a custom or unsupported architecture, but no custom onnx configuration was passed as custom_onnx_configs. Please refer to https://huggingface.co/docs/optimum/main/en/exporters/onnx/usage_guides/export_a_model#custom-export-of-transformers-models for an example on how to export custom models. Please open an issue at https://github.com/huggingface/optimum/issues if you would like the model type blip to be supported natively in the ONNX export

Could you kindly provide insights into when we might expect support for exporting Blip models to ONNX to be implemented in Optimum?

Thank you for considering this request. I look forward to any updates or information you can provide on this matter.

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