transformers
>3-5x faster torch.compile forward compilation for autoregressive decoder models
#32227
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
19
Changes
View On
GitHub
>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
requested a review
from
gante
2 years ago
fxmarty
requested a review
from
LysandreJik
2 years ago
fxmarty
commented on 2024-07-25
draft
43598760
apply changes to all relevant archs
7f4a078c
fxmarty
force pushed
to
7f4a078c
2 years ago
rerun ci - check_docstrings.py failing?
947e04af
fix docstring
8d3d27c8
ArthurZucker
commented on 2024-07-26
Merge branch 'main' into prepare-4d-causal-mask-in-generate
1ecb89ca
move 2D->4D mask creation to modeling file
7c90be78
repo consistency
292aaa9b
fix the batch size = 1 case - calling contiguous is not enough
27335118
nit
c465b775
fxmarty
requested a review
from
ArthurZucker
2 years ago
style
f2c1987d
gante
approved these changes on 2024-07-30
propagate to gemma/gemma-2
5f3d84a2
prepare inputs for gemma generation
ed884328
ArthurZucker
commented on 2024-07-31
implement test and tiny fix in gemma2
f8471e81
Update src/transformers/models/bloom/modeling_bloom.py
c6fe110a
fix copies
c1b83886
ci pass
23b5c7bd
fix gemma's test_compile_static_cache tests
b03b1bdc
flacky
4f689f05
retrigger ci
952d4369
fxmarty
merged
92abe603
into main
2 years ago
fxmarty
deleted the prepare-4d-causal-mask-in-generate branch
2 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
gante
ArthurZucker
sanchit-gandhi
LysandreJik
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub