Skip to content

Commit

Permalink
Update distribution.py (#1891)
Browse files Browse the repository at this point in the history
Fix error after keras-team/keras@0ee33b5
  • Loading branch information
t-kalinowski committed Jul 20, 2024
1 parent a5c8a58 commit 63fe4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
layout_map["d2/output"] = ("data", None)

model_parallel = keras.distribution.ModelParallel(
mesh_2d, layout_map, batch_dim_name="data"
layout_map, batch_dim_name="data"
)

keras.distribution.set_distribution(model_parallel)
Expand Down

0 comments on commit 63fe4ea

Please sign in to comment.