You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mine works when I tried using the two GPUs on my desktop machine, but each process was logged individually. Could we have this fixed as I have a customer who wants to use the MLFlow logger in multi-GPU and multi-node settings
def file_logging(self, file_name: str = "launch.log"):
"""Log to file"""
if os.path.exists(file_name):
os.remove(file_name)
filehandler = logging.FileHandler(file_name)
filehandler.setFormatter(self.formatter)
filehandler.setLevel(logging.DEBUG)
self.logger.addHandler(filehandler)
Also, formatter has to be passed from the init routine, ideally by making it self.formatter in line 28. And in the current form, this only logs process one, if this could include the whole logging would be great! LMK if I should open a seperate issue for all that.
Version
0.1.0
On which installation method(s) does this occur?
Source
Describe the issue
Probably need to have it just log on root process.
Minimum reproducible example
No response
Relevant log output
No response
Environment details
No response
The text was updated successfully, but these errors were encountered: