transformers
>3-5x faster torch.compile forward compilation for autoregressive decoder models
#32227
Merged

>3-5x faster torch.compile forward compilation for autoregressive decoder models #32227

fxmarty merged 19 commits into main from prepare-4d-causal-mask-in-generate
fxmarty
fxmarty fxmarty requested a review from gante gante 2 years ago
fxmarty fxmarty requested a review from LysandreJik LysandreJik 2 years ago
HuggingFaceDocBuilderDev
fxmarty
fxmarty commented on 2024-07-25
fxmarty draft
43598760
fxmarty apply changes to all relevant archs
7f4a078c
fxmarty fxmarty force pushed to 7f4a078c 2 years ago
fxmarty rerun ci - check_docstrings.py failing?
947e04af
fxmarty fix docstring
8d3d27c8
ArthurZucker
ArthurZucker commented on 2024-07-26
fxmarty
fxmarty Merge branch 'main' into prepare-4d-causal-mask-in-generate
1ecb89ca
fxmarty move 2D->4D mask creation to modeling file
7c90be78
fxmarty repo consistency
292aaa9b
fxmarty fix the batch size = 1 case - calling contiguous is not enough
27335118
fxmarty nit
c465b775
fxmarty fxmarty requested a review from ArthurZucker ArthurZucker 2 years ago
fxmarty style
f2c1987d
gante
gante approved these changes on 2024-07-30
fxmarty
propagate to gemma/gemma-2
5f3d84a2
prepare inputs for gemma generation
ed884328
ArthurZucker
ArthurZucker commented on 2024-07-31
fxmarty
fxmarty implement test and tiny fix in gemma2
f8471e81
fxmarty Update src/transformers/models/bloom/modeling_bloom.py
c6fe110a
fxmarty fix copies
c1b83886
fxmarty ci pass
23b5c7bd
fxmarty fix gemma's test_compile_static_cache tests
b03b1bdc
fxmarty flacky
4f689f05
fxmarty retrigger ci
952d4369
fxmarty
fxmarty fxmarty merged 92abe603 into main 2 years ago
fxmarty fxmarty deleted the prepare-4d-causal-mask-in-generate branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone