-
Notifications
You must be signed in to change notification settings - Fork 31.1k
Fix Whisper CI #34541
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
Fix Whisper CI #34541
Conversation
src/transformers/generation/utils.py
Outdated
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.
if generation_config.max_length is not the same as the default value (20), let's not change it!!!!
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.
should we not change has_default_max_length directly? 🤗
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.
I would rather avoid changing its original definition in this PR as it is also used in several places.
|
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. |
ArthurZucker
left a comment
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, this fixes quite some tests no? Can we make sure with a tiny pipeline that by default we generate more than 20 tokens?
src/transformers/generation/utils.py
Outdated
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.
should we not change has_default_max_length directly? 🤗
Do you mean a new test case that will |
|
merge it as it will unblock whisper CI (170 -> 20 failures) + (quite) some pipeline tests |
update Co-authored-by: ydshieh <[email protected]>
Revert "Fix Whisper CI (huggingface#34541)" This reverts commit eb81144.
What does this PR do?