Log start iter (#1119)

log start iter
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-12-13 12:50:12 -08:00
1 parent 008cc8f144
commit 21e0ec6cd8
1 file changed
+2 -2
+2 -2
View File
@@ -382,12 +382,12 @@ class LocalWriter:
Args: Args:
step: current train step step: current train step
""" """
valid_step = step > 0 and step % GLOBAL_BUFFER["steps_per_log"] == 0 valid_step = step % GLOBAL_BUFFER["steps_per_log"] == 0
if valid_step: if valid_step:
if not self.has_printed and self.config.max_log_size: if not self.has_printed and self.config.max_log_size:
CONSOLE.log( CONSOLE.log(
f"Printing max of {self.config.max_log_size} lines. " f"Printing max of {self.config.max_log_size} lines. "
"Set flag çççç[yellow]--logging.local-writer.max-log-size=0[/yellow] " "Set flag [yellow]--logging.local-writer.max-log-size=0[/yellow] "
"to disable line wrapping." "to disable line wrapping."
) )
latest_map, new_key = self._consolidate_events() latest_map, new_key = self._consolidate_events()