add sdpa to OPT #33298

avishaiElmakies
add sdpa to OPT
35e1a643
chore: remove redundant whitespace in OPTDecoder class
908e39bd
fixup
c84a4dd1
bug fix
be32f920
add sdpa and attention generate test
80639948
fixup
248029a6
amyeroberts
amyeroberts commented on 2024-09-05
Refactor OPTAttention forward method for improved readability and mai…
b66e3d85
undo refactor for _shape and key,val states
579d60e8
add OPT to doc, fixup didn't find it for some reason
b1053765
change order
c3496328
avishaiElmakies
amyeroberts
change default attn_implemntation in testing to eager
6dba8b00
avishaiElmakies Merge branch 'main' into spda_opt
989625ba
amyeroberts amyeroberts added run-slow
[run-slow] opt
1d21751f
change test_eager_matches_sdpa_generate to the one llama
7233fda5
Update default attention implementation in testing common
9bacdeb2
[run-slow] opt
5b38f784
avishaiElmakies
remove uneeded print
3f24a047
[run-slow] opt
2efd25aa
refactor model testers to have attn_implementation="eager"
bdd9cb23
[run-slow] opt
f80e3b3c
HuggingFaceDocBuilderDev
vasqu
vasqu
vasqu commented on 2024-09-21
vasqu
avishaiElmakies
vasqu
vasqu
avishaiElmakies
vasqu
avishaiElmakies
convert test_eager_matches_sdpa_generate to opt-350M
7ea22eb7
bug fix when creating mask for opt
b5547e7c
Merge branch 'main' into spda_opt
eaa80282
[run-slow] opt
668e291c
avishaiElmakies
vasqu
vasqu
vasqu commented on 2024-09-22
if layer head mask default to eager
d9d3bb3a
if head mask is not none fall to eager
388d663f
[run-slow] opt
e735ec4b
vasqu
vasqu
vasqu commented on 2024-09-22
avishaiElmakies
amyeroberts
amyeroberts commented on 2024-09-25
avishaiElmakies Update src/transformers/models/opt/modeling_opt.py
f94d5742
molbap Clean up Unpack imports (#33631)
e734d9d1
molbap Fix DPT /Dinov2 sdpa regression on main (#33660)
34593ba9
molbap handle dependency errors in check_imports (#33622)
6889d696
chengchengpei add back self.max_position_embeddings = config.max_position_embedding…
d488c33b
Isotr0py Fix Llava conversion for LlavaQwen2ForCausalLM with Clip vision tower…
99909159
yonigozlan Uniformize kwargs for Udop processor and update docs (#33628)
3720ecab
gante Generation: deprecate `PreTrainedModel` inheriting from `GenerationMi…
9b11d289
jiqing-feng Enable BNB multi-backend support (#31098)
d3f8417e
tibor-reiss Fix error string after refactoring into get_chat_template (#33652)
52a0a757
yonigozlan uniformize git processor (#33668)
400927e7
ArthurZucker Modular `transformers`: modularity and inheritance for new model addi…
3b0d24c8
ArthurZucker Fix CIs post merging modular transformers (#33681)
ef64c818
mnauf Fixed docstring for cohere model regarding unavailability of prune_he…
6cd88aae
gante Generation tests: update imagegpt input name, remove unused functions…
4a457c18
sizhky Improve Error Messaging for Flash Attention 2 on CPU (#33655)
4deac160
gante Gemma2: fix config initialization (`cache_implementation`) (#33684)
1f7d50a0
umarbutler Fix ByteLevel alphabet missing when Sequence pretokenizer is used (#3…
3e798fa9
yonigozlan Uniformize kwargs for image-text-to-text processors (#32544)
9665ecca
jmamou 🚨🚨 Setting default behavior of assisted decoding (#33657)
e1839b97
dvrogozh tests: fix pytorch tensor placement errors (#33485)
37da2d61
ArthurZucker bump tokenizers, fix added tokens fast (#32535)
58c2b2b7
NielsRogge [Pixtral] Improve docs, rename model (#33491)
f0bb0a8f
ArthurZucker fix code quality after merge
34a9142c
bfineran HFQuantizer implementation for compressed-tensors library (#31704)
6aeec65b
avishaiElmakies
avishaiElmakies Merge branch 'main' into spda_opt
3e69375e
avishaiElmakies
update model card for opt
a9b18dc9
add batch size to inference table
9876dbba
vasqu
[slow-run] opt
ff35bbc2
avishaiElmakies
vasqu
avishaiElmakies
amyeroberts
[run-slow] opt
cfd1209a
avishaiElmakies
vasqu
amyeroberts
avishaiElmakies
Rocketknight1
vasqu
ArthurZucker
vasqu
avishaiElmakies
ArthurZucker ArthurZucker merged a265600c into main 1 year ago
ArthurZucker
avishaiElmakies avishaiElmakies deleted the spda_opt branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone