Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
cache_position
initialisation for generation with `use_cache=Fa…
…lse` (#30485) * Fix cache_position init for generation * Update src/transformers/generation/utils.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Fix cache position update --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
- Loading branch information