transformers
Generate: remove deprecated code due to `Cache` and `cache_position` being default
#31898
Merged

Generate: remove deprecated code due to `Cache` and `cache_position` being default #31898

gante merged 9 commits into huggingface:main from gante:short_prep_inputs
gante
gante
gante commented on 2024-07-10
gante
gante commented on 2024-07-10
gante
gante commented on 2024-07-10
gante
gante commented on 2024-07-10
gante
gante commented on 2024-07-10
gante
gante commented on 2024-07-10
gante gante requested a review from ArthurZucker ArthurZucker 2 years ago
ArthurZucker
ArthurZucker commented on 2024-07-10
HuggingFaceDocBuilderDev
gante gante changed the title Generate: remove deprecated code due to `DynamicCache` and `cache_position` being default Generate: remove deprecated code due to `Cache` and `cache_position` being default 2 years ago
gante gante marked this pull request as ready for review 2 years ago
gante gante requested a review from ArthurZucker ArthurZucker 2 years ago
gante
ArthurZucker
ArthurZucker approved these changes on 2024-07-12
ydshieh
ArthurZucker
ydshieh
gante
ydshieh
gante tmp commit
7d638f7e
gante shorter
32e7aa93
gante nit
ab64f9fb
gante explicit kwargs
5c0f6afb
gante propagate changes
e8e085b1
gante mass propagation with a few manual touches (let's see how CI behaves)
50c8260f
gante fix cacheless case
d0ff984e
gante Update src/transformers/generation/utils.py
8223ec4d
gante make fixup
02f74173
gante gante force pushed to 02f74173 2 years ago
ydshieh
gante
gante gante merged 739a6316 into main 2 years ago
gante gante deleted the short_prep_inputs branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone