Skip to content

Commit

Permalink
Internal change.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 686564643
  • Loading branch information
cpgaffney1 authored and Orbax Authors committed Oct 16, 2024
1 parent 8ef917e commit 71344e4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,8 @@ def create_zeros(shape_dtype_tup):
zeros_pytree = create_zeros(tuple(shape_dtypes))
in_tree = tuple(zeros_pytree)

multihost.sync_global_processes('local_restore_pre_broadcast')

start_broadcast = time.time()
shared_states, _ = multislice.broadcast_one_replica_to_all(
in_tree,
Expand Down

0 comments on commit 71344e4

Please sign in to comment.