Skip to content

Commit

Permalink
added flush
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Jul 26, 2019
1 parent 0350fb9 commit 17c4e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_tube/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def __hash__(self):
return 'Exp: {}, v: {}'.format(self.name, self.version)

def flush(self):
if self.rank == 0:
if self.rank > 0:
return

if self.all_writers is None:
Expand Down

0 comments on commit 17c4e78

Please sign in to comment.