Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: akoumpa <[email protected]>
  • Loading branch information
akoumpa committed Feb 13, 2025
1 parent 4af46b9 commit 08f0c82
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nemo/lightning/nemo_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ def setup(self, trainer: Union[pl.Trainer, fl.Fabric], resume_if_exists: bool =
logging.error(
"nemo logger received explicit_log_dir: % and at least one of dir: %"
"or version: %. Please note that dir, name, and version will be ignored.".format(
self.explicit_log_dir,
self.log_dir,
self.version
self.explicit_log_dir, self.log_dir, self.version
)
)
if is_global_rank_zero() and Path(self.explicit_log_dir).exists():
Expand Down Expand Up @@ -189,7 +187,7 @@ def _setup_trainer_loggers(self, trainer, dir, version):
logger._wandb_init["dir"] = Path(dir) / logger.save_dir
logging.warning(
"\"update_logger_directory\" is True. Overwriting wandb logger \"save_dir\" to %".format(
logger._save_dir,
logger._save_dir,
)
)

Expand Down

0 comments on commit 08f0c82

Please sign in to comment.