Open hudson-ai opened 2 months ago
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 transformers.Cache
API?
@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.