-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Whisper: fix static cache CI #35852
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
Whisper: fix static cache CI #35852
Conversation
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.
Nice that the slack ping worked!
gante
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.
In general LGTM, but I have a question
| input_features = input_features.to(torch_device) | ||
| eager_generated_ids = model.generate(input_features, max_new_tokens=64) | ||
|
|
||
| # Using statiic cache compiles forward for each decoding step, so we don't have to manually compile |
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.
| # Using statiic cache compiles forward for each decoding step, so we don't have to manually compile | |
| # Using static cache compiles forward for each decoding step, so we don't have to manually compile |
|
Merging after tests are fixed on |
|
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. |
* fix * remove overriden method * small change
* fix * remove overriden method * small change
* fix * remove overriden method * small change
What does this PR do?
Some tests started failing after #35164. This PR fixes it by:
_sampleprepare_inputs_for_generationRan tests:
pytest -k greedy tests/models(moshi is failing even onmain)pytest tests/models/whisper/test_modeling_whisper.py