Skip to content

Commit 29199d7

Browse files
committed
Update
1 parent 2d4d609 commit 29199d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pytorch_lightning/trainer/connectors/callback_connector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ def on_trainer_init(
8282
if process_position != 0:
8383
rank_zero_deprecation(
8484
f"Setting `Trainer(process_position={process_position})` is deprecated in v1.5 and will be removed"
85-
" in v1.7. Please pass `pytorch_lightning.callbacks.progress.ProgressBar` with"
85+
" in v1.7. Please pass `pytorch_lightning.callbacks.progress.TQDMProgressBar` with"
8686
" `process_position` directly to the Trainer's `callbacks` argument instead."
8787
)
8888

8989
if progress_bar_refresh_rate is not None:
9090
rank_zero_deprecation(
9191
f"Setting `Trainer(progress_bar_refresh_rate={progress_bar_refresh_rate})` is deprecated in v1.5 and"
92-
" will be removed in v1.7. Please pass `pytorch_lightning.callbacks.progress.ProgressBar` with"
92+
" will be removed in v1.7. Please pass `pytorch_lightning.callbacks.progress.TQDMProgressBar` with"
9393
" `refresh_rate` directly to the Trainer's `callbacks` argument instead. Or, to disable the progress"
9494
" bar pass `enable_progress_bar = False` to the Trainer."
9595
)

pytorch_lightning/trainer/trainer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def __init__(
294294
295295
.. deprecated:: v1.5
296296
``process_position`` has been deprecated in v1.5 and will be removed in v1.7.
297-
Please pass :class:`~pytorch_lightning.callbacks.progress.ProgressBar` with ``process_position``
297+
Please pass :class:`~pytorch_lightning.callbacks.progress.TQDMProgressBar` with ``process_position``
298298
directly to the Trainer's ``callbacks`` argument instead.
299299
300300
progress_bar_refresh_rate: How often to refresh progress bar (in steps). Value ``0`` disables progress bar.
@@ -303,7 +303,7 @@ def __init__(
303303
304304
.. deprecated:: v1.5
305305
``progress_bar_refresh_rate`` has been deprecated in v1.5 and will be removed in v1.7.
306-
Please pass :class:`~pytorch_lightning.callbacks.progress.ProgressBar` with ``refresh_rate``
306+
Please pass :class:`~pytorch_lightning.callbacks.progress.TQDMProgressBar` with ``refresh_rate``
307307
directly to the Trainer's ``callbacks`` argument instead. To disable the progress bar,
308308
pass ``enable_progress_bar = False`` to the Trainer.
309309

0 commit comments

Comments
 (0)