[pipeline] allow image-text-to-text generate from text inputs#37696
[pipeline] allow image-text-to-text generate from text inputs#37696zucchini-nlp wants to merge 1 commit intohuggingface:mainfrom
Conversation
|
Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. The CI will be paused while the PR is in draft mode. When it is ready for review, please click the |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
Hello @zucchini-nlp ! I have this PR that I completely forgot about #35616, but it looks like it solves this issue. Added your tests to it, sorry about that! |
|
@yonigozlan oh oke, cool. Can it be merged soon? Gemma3 team was asking why it doesn't work so would be nice to include in next release |
|
Yes I asked for core maintainer approval, should be merged soon :) |
What does this PR do?
As per title, passing empty list of images triggers
image_processorcall which in turn fails. It's because we usually check forNonenessin processors