transformers
739a6316 - Generate: remove deprecated code due to `Cache` and `cache_position` being default (#31898)

Commit
2 years ago
Generate: remove deprecated code due to `Cache` and `cache_position` being default (#31898) * tmp commit * shorter * nit * explicit kwargs * propagate changes * mass propagation with a few manual touches (let's see how CI behaves) * fix cacheless case * Update src/transformers/generation/utils.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * make fixup --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
Author
Parents
Loading