transformers
Shard the parameters kept in float32 in their own FSDP2 group
#49501
Merged

Shard the parameters kept in float32 in their own FSDP2 group #49501

3outeille merged 41 commits into main from fsdp-fp32-param-groups
qgallouedec
qgallouedec FSDP2: shard the parameters kept in float32 in their own group
8c1d1156
qgallouedec Test a bf16 training step under FSDP2, and run the FSDP tests on ERNI…
3623fdfd
HuggingFaceDocBuilderDev
ArthurZucker
ArthurZucker commented on 2026-10-12
3outeille build and expand once the tp/ep_plan
6440b726
3outeille unify
79b5fdb0
3outeille clean fsdp
bb63397e
3outeille reorganize to avoid breaking changes
f9158f8d
3outeille better distinction
64eb317a
3outeille Merge branch 'main' into unify-resolve-plan
61a4954d
3outeille revert
5fbf21c9
3outeille Merge branch 'unify-resolve-plan' of github.com:huggingface/transform…
ff70527c
3outeille add tp plan to deepseek v4 (but attention stays replicated)
3f1e4ab9
3outeille Revert "add tp plan to deepseek v4 (but attention stays replicated)"
ff3629c6
3outeille Merge branch 'main' into unify-resolve-plan
b5da03f9
3outeille Fix the merge of main: restore moved imports and the empty tp_plan ov…
d527c29f
3outeille Merge remote-tracking branch 'origin/main' into unify-resolve-plan
523101d8
3outeille cleaner mixin
96332a1e
3outeille cleaner
615fe835
3outeille deprecation cycle
868647f2
3outeille cleaner
a121baea
3outeille revert tp plan
e1d83ef5
3outeille Merge remote-tracking branch 'origin/main' into unify-resolve-plan
2dbcb42c
3outeille Pass the expanded plan in the bare-module colwise_gather_output test
9ef53bbc
tarekziade retrigger to verify fetcher
a1a055ba
3outeille the branch is now pointing to main and not to unify-resolve-plan
b5eb8827
3outeille Refactor expert parallelism registration and improve documentation
0de36597
3outeille comment
bc4b6e0a
3outeille some models missed the tests EP mixin
c47e5dce
3outeille fix copyright
f88b6167
3outeille Merge branch 'cleanup-ep' into unify-resolve-plan
7d3345d8
3outeille move replace_layer_number_by_wildcard and _get_parameter_plan to para…
da4eed4d
3outeille Merge branch 'main' into cleanup-ep
d7591e12
3outeille Merge branch 'cleanup-ep' into unify-resolve-plan
a75a5cb2
3outeille Merge branch 'main' into unify-resolve-plan
6247bd14
3outeille Merge remote-tracking branch 'origin/unify-resolve-plan' into unify-r…
f5824079
qgallouedec Merge remote-tracking branch 'origin/unify-resolve-plan' into fsdp-fp…
1e3bd8e5
qgallouedec Group the float32-kept parameters while resolving the FSDP plan
d35cda87
Cyrilvallez
qgallouedec qgallouedec changed the base branch from main to unify-resolve-plan 5 days ago
qgallouedec
3outeille Find the float32 modules from the names `_resolve_parallel_plans` alr…
27c38f45
3outeille Initialize the ERNIE-4.5-MoE router, and skip parameters without a gr…
639ac786
3outeille 3outeille requested a review from ArthurZucker ArthurZucker 4 days ago
3outeille
ArthurZucker
ArthurZucker approved these changes on 2026-10-29
Base automatically changed from unify-resolve-plan to main 3 days ago
3outeille Merge remote-tracking branch 'origin/main' into fsdp-fp32-param-groups
d0bb814e
github-actions
3outeille Reword the comment on the float32 FSDP2 groups
aa09bc5d
3outeille Swap the words in the float32 FSDP2 group comment
66342ec0
3outeille 3outeille enabled auto-merge 3 days ago
3outeille 3outeille merged e82b00dd into main 3 days ago
3outeille 3outeille deleted the fsdp-fp32-param-groups branch 3 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone