transformers
Remove many output_attentions and other traced outputs on 100+ models
#43590
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
191
Changes
View On
GitHub
Remove many output_attentions and other traced outputs on 100+ models
#43590
vasqu
merged 191 commits into
main
from
update_all_decorators
first batch, let's see
e253ef21
propagate changes
41838630
fixup broken tests
49b15479
simplify more models
93822578
hack
e6c4b897
fix attentions
6c002b5e
Merge branch 'main' into update_all_decorators
0ca6f96a
I'm bullied by the new fix-repo
b327b19d
this one too
807b17f6
fix-repo
f0916ead
...fix-repo?
24bf3b53
change up
15bf2d7d
fixup merges with main
a0569c85
propagate changes again
8ae95c5a
more changes
389dde9b
fixes
21b65efe
revert CLAP to the back burner
37e28419
more changes
6affc73f
some broken clap stuff
b5f39966
New batch of models
2b53f631
something forgotten?
7867d98a
biiig batch + handle explicit None values for output_attentions in ge…
6c226169
make fixup
becb6752
Merge branch 'main' into update_all_decorators
41257e2a
remove dummy record outputs
7961fba2
Merge branch 'main' into update_all_decorators
21473589
batch, with some difficult ones (dpt)
531919cc
ugly fix
77e4af89
update
67dc0e92
fix
79cdb8cf
propagate changes
7b62ce53
some more modifs
bf77c9e8
fixup
6d24a2bc
Merge branch 'main' into update_all_decorators
edb124e0
be careful about this stuff
fe0df51f
style
cb2d2c80
fix repo
4f4b25ac
fix more
4c51e57b
loose booleans
3002e8a4
missing docstring
ba87a9f7
fix import
6137c6bd
Fix many merge conflicts hopefully not breaking anything (merge with …
96f4f73f
fixing fixing
ee962364
hacky kosmos2.5...
7f81eb12
upgrade
21ec95bc
simplifyyy
492d5a25
and another one
764541ba
propagate many changes
84b1322e
upgraaade
6864ff26
fix
082de92c
ay
059afac5
fixes, many
a4d35356
fiiix
e53623f5
more more updates
73aac507
might slow things down?
4f003268
fix fix
a34d300a
fiix
dbbc8e9e
Merge branch 'main' into update_all_decorators
93763827
fix
e79d92a4
fiiix meeeerge confliiiicts
aeb63ffc
style
20090162
modular
aac3dc8f
Merge branch 'main' into update_all_decorators
92036840
modular
3d968856
small update...
c6415a2d
tests broken
15f8fe2b
remapping a bunch of kwargs to encoder_kwargs to avoid contamination
81aafcf3
Merge branch 'main' into update_all_decorators
af2dc853
style
18279059
modular mess up
45fedbd3
more fixes
6cd2ef64
fix more things
e1aa0154
more fixes
5fca01df
style
43ffe227
molbap
marked this pull request as ready for review
99 days ago
molbap
requested a review
from
vasqu
99 days ago
molbap
requested a review
from
zucchini-nlp
99 days ago
molbap
changed the title
Remove all output_attentions and the like
Remove many output_attentions and other traced outputs on 100+ models
99 days ago
Cyrilvallez
commented on 2026-02-16
zucchini-nlp
commented on 2026-02-16
address comments 1
e4525591
argh
2add677f
fiiix
6ed2c4e9
broken kosmos2 why
4fc5abf0
decorators
f8a35e50
done
93a18381
fixup docs,
303140e6
last fixes?
20e04ed0
bring back typing!
8adbf039
Merge branch 'main' into update_all_decorators
47313445
modularities
dc95ece1
modulaaar
566e1d2d
style
f8e995c5
fix compile
6bf065bd
zucchini-nlp
approved these changes on 2026-02-18
autodocstringss
b9ed56c2
Merge branch 'main' into update_all_decorators
235875dd
vasqu
approved these changes on 2026-02-23
The greatest decorator upgrade
6c01379d
fix modular
f71cd4cf
few fixes
93c1c5d2
Merge branch 'main' into update_all_decorators
73e92ca4
fixup wrong decorators
fb86e68b
fix gemma
0fde2ff5
fix align
a4043d9e
revert numba changes
9c9f9429
fixup pp v2 modular
572d4b04
remove unnecessary merge with defaults and return tuple + refactor ko…
9890f73c
oops
c693ee8c
fixup repo
68cbdb79
pass kwargs on idefics properly
5b0e2197
new should have beens
f382c167
dang copy pasting is not my strong suite
7ba0b70c
... no comment
5dacd51a
fixup some pretrained stuff
748eb9f9
Merge branch 'main' into update_all_decorators
511ba7e6
refactor zamba models properly + fixup gradient ckpting within merged…
2fc22d5a
style
a2d92d28
ArthurZucker
commented on 2026-03-02
several fixups
22b2e286
style + fixup
e5620be4
ArthurZucker
commented on 2026-03-03
fix repo
e8f2f6c5
interesting
0c1d62b8
small fixes
f8e9001d
fix align and other small fixes
780ed8e8
fix repo
b96e5cab
this time
ca463694
p1
9b000483
p2
032f3392
fix encoder got cache during generate
3021ea85
let's try this
5b47a274
fix
d7c7b696
revert higgs
4ce04807
fixup models
eb064c4f
fix
555c5706
that copy is bad
5c931db4
new round of fixes
27a08f56
fixup some backbones
63f0f0cc
style
33d24820
Merge branch 'main' into update_all_decorators
f0ef4d10
Merge branch 'main' into update_all_decorators
d138b475
fix xlstm training inplace op
4f5b1de9
fix repo
c9d4b1a8
revert the kwargs renames
7c6b0e04
wrong decorator application
27f539d1
style
d26056fe
fix defaults for vision args
28038bd2
fix concistency
206f2b15
remove the user requested workaround, always return
1d7046a2
style
fb19136b
some type annotations
8112bc52
p1
96dfc6a0
p2
5cb72457
fix repo
90e392da
readd the workaround
b9b59744
Merge branch 'main' into update_all_decorators
af47d89b
fix git
c08dc4e7
fix vitpose backbone
4be28305
fixup
2c87457d
quick fixes
eb0a5f7f
repo
82dd5092
fix
314415e3
fix these
7b971141
x clip was implemented so wrong ICANT
5e963f85
clipseg fixups
1c8dc741
fix repo
0c1bf96c
Merge branch 'main' into update_all_decorators
a051182d
fixup weird hidden states treatment, backbones are inherently already…
c0fe07fc
style
72800312
fix last tests
19d20c27
change backbones mixin instead with a wrapper always applied to the s…
aecbf091
style
d719a265
force dict
074579fd
cleanup
d5a88efe
missed this one
60f7b1fb
wow this was nasty
e95ff504
refactor a few models
655bc477
fixups
3e407572
readd backbones to common tests
433f8170
vasqu
commented on 2026-03-05
zucchini-nlp
commented on 2026-03-06
Cyrilvallez
commented on 2026-03-06
revert gc changes
59b18b17
fix repo
ce1c616e
explicit decorators
f0cc9795
revert zamba
b034aa5d
fixup the unrelated renaming in dino 3 vit
9b7cef96
Merge branch 'main' into update_all_decorators
12298cd0
fixup some modular stuff
b9890c84
fixup weird zamba2 workaround
38876738
fixup dino stuff
10d278e8
idefics simplifications
14029fe2
huggingface
deleted a comment from
github-actions
on 2026-03-09
huggingface
deleted a comment from
github-actions
on 2026-03-09
small fixes
c1b69cee
huggingface
deleted a comment from
github-actions
on 2026-03-09
fix kosmos 2.5
346cc0ff
fixup
a8b8fd4b
Merge branch 'main' into update_all_decorators
fdaa667f
fix clvp, same failure as main when fixing the return dict stuff
e8b24d1b
same fix as in the other pr
2e30c62a
fixup some ci stuff
b1e7d9f1
style
2c1678fb
revert pr to capturing
d6fb85aa
Merge branch 'main' into update_all_decorators
0a647b51
vasqu
enabled auto-merge
72 days ago
disabled auto-merge
72 days ago
Manually disabled by user
Merge branch 'main' into update_all_decorators
6770beaf
vasqu
enabled auto-merge
72 days ago
vasqu
merged
e2d4ac03
into main
72 days ago
vasqu
deleted the update_all_decorators branch
72 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
vasqu
zucchini-nlp
Cyrilvallez
ArthurZucker
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub