Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
Signed-off-by: Cheng Su <[email protected]>
  • Loading branch information
c21 committed Apr 15, 2024
1 parent 01b30fb commit bb5103d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ def initialize_progress_bars(self, index: int, verbose_progress: bool) -> int:
"""
is_all_to_all = isinstance(self.op, AllToAllOperator)
# Only show 1:1 ops when in verbose progress mode.
enabled = DataContext.get_current().enable_progress_bars and (
verbose_progress or is_all_to_all
enabled = is_all_to_all or (
DataContext.get_current().enable_progress_bars and verbose_progress
)
self.progress_bar = ProgressBar(
"- " + self.op.name,
Expand Down

0 comments on commit bb5103d

Please sign in to comment.