-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Transformers past_key_values
deprecated
#986
Comments
agree, also T5 from expects past_key_values as Tuple |
@usholanb, interesting, thanks for sharing! If I'm reading this right, does that mean that we can't continue to support T5 if we move onto the new |
@Harsha-Nori I don't know. I haven't switched to transformers.Cache myself. Just sharing my concern since this message is making me worried for no clear reason |
Getting a new error in CI: "HybridCache not subscriptable" -- may very well be due to them finally making some breaking changes with the Cache API. https://github.com/guidance-ai/guidance/actions/runs/11050523063 |
With
transformers
version4.44.0
(latest at time of writing), I get a warning regarding the use ofpast_key_values
in theTransformersEngine
.The warning is clearly wrong (as
4.44.0
>4.43
), but if this usage is truly going to be removed, we need to fix our caching logic.The text was updated successfully, but these errors were encountered: