Skip to content

Commit 21bae14

Browse files
committed
reset default refresh_rate to 100
1 parent 0cb2953 commit 21bae14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lightning/pytorch/callbacks/progress/rich_progress.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ class RichProgressBar(ProgressBar):
283283
284284
Args:
285285
refresh_rate: Determines at which rate (per second) the progress bars get updated.
286-
Set it to ``0`` to disable the display. Default: 10
286+
Set it to ``0`` to disable the display. Default: 100
287287
leave: Leaves the finished progress bar in the terminal at the end of the epoch. Default: False
288288
theme: Contains styles used to stylize the progress bar.
289289
console_kwargs: Args for constructing a `Console`
@@ -301,7 +301,7 @@ class RichProgressBar(ProgressBar):
301301

302302
def __init__(
303303
self,
304-
refresh_rate: int = 10,
304+
refresh_rate: int = 100,
305305
leave: bool = False,
306306
theme: RichProgressBarTheme = RichProgressBarTheme(),
307307
console_kwargs: Optional[dict[str, Any]] = None,

0 commit comments

Comments
 (0)