Skip to content

Conversation

@FreshMindAI
Copy link

Cross-check Hub pipeline_tag with transformers_info.auto_model when available. The auto_model is derived from the model's architecture and is more reliable than the pipeline_tag which can be outdated.

This fixes LLaVA models tagged as image-to-text on the Hub being rejected by the OpenVINO exporter which only supports image-text-to-text for llava.

Fixes #2400

What does this PR do?

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

Who can review?

Cross-check Hub pipeline_tag with transformers_info.auto_model when
available. The auto_model is derived from the model's architecture and
is more reliable than the pipeline_tag which can be outdated.

This fixes LLaVA models tagged as image-to-text on the Hub being
rejected by the OpenVINO exporter which only supports
image-text-to-text for llava.

Fixes huggingface#2400
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

Successfully merging this pull request may close these issues.

Support for LLaVA image-to-text task in OpenVINO export

2 participants