Skip to content

Commit

Permalink
removed exception from logger (#3464)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjanezhang authored Jul 9, 2024
1 parent 7656db4 commit 91519e8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions composer/loggers/mosaicml_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ def log_hyperparameters(self, hyperparameters: dict[str, Any]):
def log_metrics(self, metrics: dict[str, Any], step: Optional[int] = None) -> None:
self.log_metadata(metrics)

def log_exception(self, exception: Exception):
self.log_metadata({'exception': exception_to_json_serializable_dict(exception)})
self._flush_metadata(force_flush=True)

def after_load(self, state: State, logger: Logger) -> None:
# Log model data downloaded and initialized for run events
log.debug(f'Logging model initialized time to metadata')
Expand Down

0 comments on commit 91519e8

Please sign in to comment.