transformers
Detect and fix most `_init_weights()` issues - make it work for composite models
#37070
Merged

Detect and fix most `_init_weights()` issues - make it work for composite models #37070

Cyrilvallez merged 40 commits into main from fix-all-init-weights
Cyrilvallez
github-actions
github-actions github-actions marked this pull request as draft 1 year ago
Cyrilvallez Cyrilvallez marked this pull request as ready for review 1 year ago
github-actions github-actions requested a review from ydshieh ydshieh 1 year ago
ydshieh
Cyrilvallez Cyrilvallez force pushed from 8574b67a to 759c5c8b 1 year ago
HuggingFaceDocBuilderDev
Cyrilvallez Cyrilvallez force pushed from 1ceba43f to f21633f2 1 year ago
Cyrilvallez Cyrilvallez force pushed from c84f00b5 to 39ddd6e9 1 year ago
Cyrilvallez Cyrilvallez changed the title Detect and fix all `_init_weights()` issues Detect and fix most `_init_weights()` issues - make it work for composite models 1 year ago
Cyrilvallez
Cyrilvallez commented on 2025-04-02
Cyrilvallez Cyrilvallez force pushed from 13ee1dad to 8e55a6f1 1 year ago
ydshieh ydshieh removed review request from ydshieh ydshieh 1 year ago
Cyrilvallez Cyrilvallez force pushed from 6ef2c6da to e5d5eccb 1 year ago
Cyrilvallez Update test_modeling_common.py
47c8e54b
Cyrilvallez Fix Llama and its modular children
abe04889
Cyrilvallez Update test_modeling_common.py
4749c0dd
Cyrilvallez qwen3
49d76252
Cyrilvallez first try at prioritizing models
80e52d75
Cyrilvallez Update test_modeling_common.py
155969d8
Cyrilvallez Update test_modeling_common.py
9a154505
Cyrilvallez Update test_modeling_common.py
62725b44
Cyrilvallez test
b5eb6cd0
Cyrilvallez fix
d0a016a3
Cyrilvallez fix
dceab888
Cyrilvallez more models
32518528
Cyrilvallez more
15bcf974
Cyrilvallez more
997ba7e2
Cyrilvallez more
05519112
Cyrilvallez smarter init for composite models!
eb4bfd3c
Cyrilvallez fix post rebase
2082647e
Cyrilvallez smol
9a83073c
Cyrilvallez fix missing args
4fc6898f
Cyrilvallez more
fa736c93
Cyrilvallez typo
7001d130
Cyrilvallez Super elegant and efficient init for submodels
b0839654
Cyrilvallez Update modeling_utils.py
7adb98c1
Cyrilvallez style
bf9b49f7
Cyrilvallez last fixes
e4141c0a
Cyrilvallez cleanup
a04f7d59
Cyrilvallez finalize cleanup
8ed50ab8
Cyrilvallez CIs
a9c303ec
Cyrilvallez improve docstring
23eb8c19
Cyrilvallez Update modeling_utils.py
1aa8914c
Cyrilvallez llama4
28f86573
Cyrilvallez style
ce281b83
Cyrilvallez CIs
c135488c
Cyrilvallez style
f41f9cc9
Cyrilvallez add dpt
6f6364ca
Cyrilvallez granite speech
ce665b86
Cyrilvallez Cyrilvallez force pushed from bc884aef to ce665b86 1 year ago
Cyrilvallez qwen 2.5 omni
e3ccb5f4
Cyrilvallez better fix
1034c8c3
Cyrilvallez Parse the config file instead
25d47e44
Cyrilvallez CIs
4400c527
Cyrilvallez
github-actions
Cyrilvallez
Cyrilvallez Cyrilvallez merged 4e538409 into main 1 year ago
Cyrilvallez Cyrilvallez deleted the fix-all-init-weights branch 1 year ago
ArthurZucker
ArthurZucker commented on 2025-04-28

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone