-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Uniformize kwargs for Pixtral processor #33521
Uniformize kwargs for Pixtral processor #33521
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating this!
src/transformers/processing_utils.py
Outdated
for img in imgs: | ||
if not _is_valid_images_input_for_processor(img): | ||
return False | ||
# If not a list of tuple, we have been given a single image or batched tensor of images |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
# If not a list of tuple, we have been given a single image or batched tensor of images | |
# If not a list or tuple, we have been given a single image or batched tensor of images |
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. |
38ab7df
to
5084749
Compare
* add uniformized pixtral and kwargs * update doc * fix _validate_images_text_input_order * nit
What does this PR do?
Adds uniformized processors kwargs following #31911 for Pixtral
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@amyeroberts @molbap @ArthurZucker