Skip to content

Commit

Permalink
add barrier before RUN_START
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhiyuLi-goog committed Jan 10, 2025
1 parent ebec01a commit eaf7e0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mixture_of_experts_pretraining/mlperf_logging_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def on_train_begin(self, args, state, control, **kwargs):
)
# device warmup should be done here
self.mllogger.end(key=constants.INIT_STOP, value="")

barrier()
self.mllogger.start(constants.RUN_START, value="")
self.mllogger.start(
constants.BLOCK_START,
Expand Down

0 comments on commit eaf7e0f

Please sign in to comment.