Skip to content

Commit 12b39a7

Browse files
authored
Changed smoothing in tqdm to decrease variability of time remaining between training / eval (#1194)
1 parent 61177cd commit 12b39a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/trainer/trainer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def run_pretrain_routine(self, model: LightningModule):
909909
# init progress bar
910910
pbar = tqdm(leave=True, position=2 * self.process_position,
911911
disable=not self.show_progress_bar, dynamic_ncols=True,
912-
file=sys.stdout)
912+
file=sys.stdout, smoothing=0)
913913
self.main_progress_bar = pbar
914914

915915
# clear cache before training

0 commit comments

Comments
 (0)