`torch.compile` compatibility with `generate` + static cache #29114
fix compatibility
6d669eea
fxmarty
marked this pull request as draft 2 years ago
working version
48910509
Merge branch 'main' into compile-compatibility-generate
724c6946
cleanup
0a00d6bb
sanity checks
74725498
more sanity
b2147667
working version WITH refactor
b9b627c6
working without API change
0c03b7d4
fxmarty
changed the title WIP: fix `generate` compatibility with torch.compile Make torch.compile compilation >2x faster when using static cache + `generate` 2 years ago
cleanup & tests pass
28cdee0f
more cleaning
190e0cf2
fxmarty
marked this pull request as ready for review 2 years ago
fix test
5019e81b
fix tests
80b9072c
Update src/transformers/generation/utils.py
a660486e
smaller comment
29354629
update comment
5dbcef43
fxmarty
changed the title Make torch.compile compilation >2x faster when using static cache + `generate` `torch.compile` compatibility with `generate` + static cache 2 years ago
gante
approved these changes
on 2024-02-21
update comment
a8c4e103
fxmarty
merged
cc4a664b
into main 2 years ago
fxmarty
deleted the compile-compatibility-generate branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub