Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix flush
  • Loading branch information
ETOgaosion committed Jun 11, 2025
commit 82082d8f2dc81a71eef5b548d4094810b5284d1a
2 changes: 1 addition & 1 deletion verl/utils/logger/aggregate_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ def log_with_rank(message: str, rank, logger: logging.Logger, level=logging.INFO
log_only_rank_0 (bool, optional): If True, only log for rank 0. Defaults to False.
"""
if not log_only_rank_0 or rank == 0:
logger.log(level, f"[Rank {rank}] {message}", flush=True)
logger.log(level, f"[Rank {rank}] {message}")
Loading