Skip to content

Commit 20910ef

Browse files
committed
misc
1 parent 178bc11 commit 20910ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchtitan/distributed/parallel_dims.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ def build_mesh(self) -> DeviceMesh:
7979
efsdp: FSDP in the EP region.
8080
etp: TP in the EP region.
8181
82-
Note: All the dimensions above are created by unflattening the world mesh.
82+
Note: Most dimensions above are created by unflattening the world mesh, except for loss,
83+
which is created by flattening the batch and cp dimensions.
8384
This API performs the following unflatten operations:
8485
8586
["pp", "batch", "cp", "tp"]
86-
["pp", "loss", "tp"]
8787
["pp", "dp_replicate", "fsdp", "tp"]
8888
["pp", "dp_replicate", "efsdp", "ep", "etp"]
8989

0 commit comments

Comments
 (0)