Skip to content

Commit

Permalink
fix: multi-gpu training
Browse files Browse the repository at this point in the history
  • Loading branch information
sehoffmann committed Mar 20, 2024
1 parent 172550d commit 676044d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dmlcloud/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ def _pre_stage(self):
for handler in self.logger.handlers:
handler.flush()

self.table._print_header()
if is_root():
self.table._print_header()

def _post_stage(self):
self.stop_time = datetime.now()
Expand Down

0 comments on commit 676044d

Please sign in to comment.