Skip to content

Conversation

@albertvillanova
Copy link
Member

@albertvillanova albertvillanova commented Mar 6, 2025

Support transformers 4.49.0.

EDIT:
This PR does not pass images parameter to processor.apply_chat_template if it is None.

As discussed in issue in transformers:

Fix #897.
Close huggingface/transformers#36578.

@albertvillanova albertvillanova changed the title Support transformers 4.49. Support transformers 4.49.0 Mar 6, 2025
@albertvillanova
Copy link
Member Author

After discussion in:

we should not pass images to processor.apply_chat_template.

@albertvillanova albertvillanova merged commit 8f3f939 into huggingface:main Mar 7, 2025
3 checks passed
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.

TypeError: LlavaProcessor: got multiple values for keyword argument 'images' Support transformers 4.49.0

2 participants