Skip to content

Commit

Permalink
use log no print (Lightning-AI#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon authored and tullie committed Apr 3, 2020
1 parent 21e925b commit bd4e8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/core/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def forward(self, x):
"""
if self.trainer.proc_rank == 0:
print(*args, **kwargs)
log.info(*args, **kwargs)

@abstractmethod
def forward(self, *args, **kwargs):
Expand Down

0 comments on commit bd4e8d2

Please sign in to comment.