transformers
[`distributed`] Add a new parallel plan for unit sharding
#48848
Merged

[`distributed`] Add a new parallel plan for unit sharding #48848

ArthurZucker merged 30 commits into main from replicate-modulo-tp
ArthurZucker
ArthurZucker initial draft
281d01df
ArthurZucker draft 1.
40569a13
ArthurZucker update
6b865e98
ArthurZucker up
9a15232a
ArthurZucker this should be better?
332beee1
ArthurZucker let's introduce the unit dimension?
d7543fe2
ArthurZucker inherit
89d72b7b
ArthurZucker add rowise
9992df7b
ArthurZucker update
8367d347
ArthurZucker small fix
b72a5957
ArthurZucker Test unit sharding layouts
b3176ffd
HuggingFaceDocBuilderDev
ArthurZucker Build the unit sharding tests on a real single-layer Llama
27cfbf8f
github-actions
3outeille
3outeille commented on 2026-09-16
kaixuanliu
ArthurZucker
ArthurZucker Merge main into replicate-modulo-tp; fix unit styles backward, addres…
a8cdfde8
ArthurZucker Move unit mesh construction to TransformersDeviceMesh
cad271b2
ArthurZucker Merge branch 'main' into replicate-modulo-tp
d5a8cbd6
ArthurZucker Merge branch 'main' into replicate-modulo-tp
97693e80
ArthurZucker no needs config
0106fb11
ArthurZucker Revert "no needs config"
5ed846a7
ArthurZucker Rename single-letter x locals in TP styles, fix unit rowwise comments
7c1a105c
ArthurZucker TP: pass config/mesh_manager to the styles instead of setting them on…
2cedd8de
ArthurZucker ArthurZucker force pushed from fc93b7bd to 2cedd8de 4 days ago
ArthurZucker update and revert
02ef71eb
ArthurZucker Merge branch 'main' into replicate-modulo-tp
8a178ceb
3outeille
3outeille commented on 2026-11-25
ArthurZucker [distributed] Ensure unit TP test exercises _ScaleBackward path
4ad0d958
ArthurZucker ArthurZucker enabled auto-merge 2 days ago
3outeille Merge branch 'main' into replicate-modulo-tp
046c8ee3
ArthurZucker Shorten noisy comment in core_model_loading to pass CI
d432185d
ArthurZucker Merge branch 'main' into replicate-modulo-tp
34cb7af3
ArthurZucker Pass config/mesh_manager to every TP style's shard_param
52b763b7
ArthurZucker Pass the TP mesh to every style's shard_param
e3eb994b
ArthurZucker Handle per-head attention parameters in the unit TP styles
9b39a293
disabled auto-merge 2 days ago
Manually disabled by user
ArthurZucker
ArthurZucker Revert per-head unit-sharding hack; keep the unit test to q/k/v/o
f8cf0d45
ArthurZucker ArthurZucker merged 762cbe1a into main 2 days ago
ArthurZucker ArthurZucker deleted the replicate-modulo-tp branch 2 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone