Skip to content

Commit

Permalink
removed unnecessary print (#6884)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmytro Pykhtar <dpykhtar@nvidia.com>
  • Loading branch information
dimapihtar authored Jun 21, 2023
1 parent 63d9b2c commit 24837af
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ def training_step(self, dataloader_iter, batch_idx):
if self.rampup_batch_size:
num_microbatch_calculator = apex.transformer.pipeline_parallel.utils._GLOBAL_NUM_MICROBATCHES_CALCULATOR
current_global_batch_size = num_microbatch_calculator.current_global_batch_size
logging.info(current_global_batch_size)
# do validation and save the checkpoint when gbs is changed
if self.prev_global_batch_size != current_global_batch_size and self.prev_global_batch_size:
self.trainer.should_stop = True
Expand Down

0 comments on commit 24837af

Please sign in to comment.