Skip to content

Commit 334a830

Browse files
fmassawconstab
authored andcommitted
Add representative batch size
Otherwise we can't shard on the batch dimension. With this change everything works up to executing the solver
1 parent da850fa commit 334a830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example_ds3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ def init_weights(
825825
),
826826
)
827827

828-
bs = 1
828+
bs = 8 * mesh.shape[0]
829829
seqlen = 1024
830830
dim = 4096
831831

0 commit comments

Comments
 (0)