Skip to content

Commit

Permalink
pass steps_per_print to tput timer (microsoft#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffra authored Jul 24, 2020
1 parent eb74c3f commit ec94341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepspeed/pt/deepspeed_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def __init__(self,
self.tput_timer = ThroughputTimer(
batch_size=self.train_micro_batch_size_per_gpu(),
num_workers=self.dp_world_size,
steps_per_output=self.steps_per_print(),
monitor_memory=False)

self.training_dataloader = self.deepspeed_io(
Expand Down

0 comments on commit ec94341

Please sign in to comment.