Skip to content

Commit

Permalink
Disable exceptions for MosaicML Logger (#3627)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 committed Sep 23, 2024
1 parent 7e12e1f commit 80191b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer/loggers/mosaicml_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80191b8

Please sign in to comment.