diff --git a/torchtnt/utils/tqdm.py b/torchtnt/utils/tqdm.py index 40443bba9b..72d98a91c5 100644 --- a/torchtnt/utils/tqdm.py +++ b/torchtnt/utils/tqdm.py @@ -49,7 +49,7 @@ def create_progress_bar( desc=f"{desc} {current_epoch}", total=total, initial=num_steps_completed, - bar_format="{l_bar}{bar}{r_bar}\n", + bar_format="{l_bar}{bar}{r_bar}", file=file, )