Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable exceptions for MosaicML Logger #3627

Merged
merged 6 commits into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading