From 80191b84bcce9f4ffe500259e969ed1678b93225 Mon Sep 17 00:00:00 2001 From: Mihir Patel Date: Mon, 23 Sep 2024 10:03:56 -0700 Subject: [PATCH] Disable exceptions for MosaicML Logger (#3627) --- composer/loggers/mosaicml_logger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer/loggers/mosaicml_logger.py b/composer/loggers/mosaicml_logger.py index 1fcb612ed5..2094643fb1 100644 --- a/composer/loggers/mosaicml_logger.py +++ b/composer/loggers/mosaicml_logger.py @@ -62,14 +62,14 @@ class MosaicMLLogger(LoggerDestination): Example 2: ``ignore_keys = ["wall_clock/*"]`` would ignore all wall clock metrics. (default: ``None``) - ignore_exceptions: Flag to disable logging exceptions. Defaults to False. + ignore_exceptions: Flag to disable logging exceptions. Defaults to True. """ def __init__( self, log_interval: int = 60, ignore_keys: Optional[list[str]] = None, - ignore_exceptions: bool = False, + ignore_exceptions: bool = True, ) -> None: self.log_interval = log_interval self.ignore_keys = ignore_keys