Skip to content

Conversation

@yonigozlan
Copy link
Member

What does this PR do?

Fix modeling and processor tests after last-minute changes

@github-actions github-actions bot marked this pull request as draft March 18, 2025 15:35
@github-actions
Copy link
Contributor

Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. When it is ready for review, please click the Ready for review button (at the bottom of the PR page).

@yonigozlan yonigozlan marked this pull request as ready for review March 18, 2025 15:35
@HuggingFaceDocBuilderDev

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.

Copy link
Member

@Cyrilvallez Cyrilvallez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!


def test_chat_template_accepts_processing_kwargs(self):
# override to use slow image processor to return numpy arrays
processor = self.processor_class.from_pretrained(self.tmpdirname, use_fast=False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh cool, i think if we're already moving to fast by default, we can update all the base tests to be use_fast=False. There is a huge pile of chat templates tests 👀

I can take care of it in subsequent PRs

@yonigozlan yonigozlan merged commit 30580f0 into huggingface:main Mar 18, 2025
11 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.

5 participants