Skip to content

Commit

Permalink
Include directory path in create_directory barrier key.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 658790764
  • Loading branch information
Orbax Authors committed Aug 5, 2024
1 parent f84f454 commit f892887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkpoint/orbax/checkpoint/checkpoint_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def _create_root_directory(
logging.info('Created directory=%s', directory)
multihost.sync_global_processes(
multihost.unique_barrier_key(
'CheckpointManager:create_directory',
'CheckpointManager:create_directory:' + str(directory),
prefix=multiprocessing_options.barrier_sync_key_prefix,
suffix=None,
),
Expand Down

0 comments on commit f892887

Please sign in to comment.