-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Fix past_key_values type hint in model output types
#37953
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 past_key_values type hint in model output types
#37953
Conversation
|
Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. The CI will be paused while the PR is in draft mode. When it is ready for review, please click the |
32dd36d to
536e039
Compare
|
LGTM but cc @gante to double-check this is right! Feel free to approve + merge without additional review if you're happy |
|
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. |
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.
Looks mostly good to me, two nits :)
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.
LGTM, this does not "remove" old but rather properly updates the typing! thanks
186af6e to
5257fdf
Compare
6612363 to
8bb4f48
Compare
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.
LGTM, thank you for iterating 💛
What does this PR do?
This PR fixes the
past_key_valuestype hint in model output types to adopt the newCachetype.Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@patrickvonplaten @sgugger @tanreinama