Skip to content
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

Idefics: generate fix #29320

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Idefics: generate fix #29320

merged 2 commits into from
Feb 28, 2024

Conversation

gante
Copy link
Member

@gante gante commented Feb 27, 2024

What does this PR do?

idefics generate calls were broken as a result of #29114 (changed interface in _update_model_kwargs_for_generation, which idefics overwrite). An example of failing CI, in another PR: https://app.circleci.com/pipelines/github/huggingface/transformers/85633/workflows/d9db77d3-abb4-46cc-948b-9aa9f80b1dfd/jobs/1108730

This PR fixes it 🤗

👉 cc @amyeroberts, as you're working on updating the test fetcher. #29114 was an example of failure for the test fetcher. Happy to help on generate test fetching if an extra hand or pointers are needed

@gante gante requested a review from ArthurZucker February 27, 2024 15:30
@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
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Nice cleanup!

@gante gante merged commit 7628b3a into huggingface:main Feb 28, 2024
18 checks passed
@gante gante deleted the idefics_generate_fix branch February 28, 2024 11:34
@gante gante mentioned this pull request Feb 28, 2024
5 tasks
@fxmarty
Copy link
Contributor

fxmarty commented Feb 28, 2024

@gante sorry about that, should have checked for redefinitions

@gante
Copy link
Member Author

gante commented Feb 28, 2024

@fxmarty no worries, actually it was our tests' job to catch that 😉 The test fetched failed here

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.

4 participants