From 03de031f9a7876fc6360984a041ea08687a6c016 Mon Sep 17 00:00:00 2001 From: jjanezhang Date: Mon, 24 Jun 2024 16:13:50 -0700 Subject: [PATCH] added docstring --- llmfoundry/utils/mosaicml_logger_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llmfoundry/utils/mosaicml_logger_utils.py b/llmfoundry/utils/mosaicml_logger_utils.py index 2a402ced9e..45186ff22e 100644 --- a/llmfoundry/utils/mosaicml_logger_utils.py +++ b/llmfoundry/utils/mosaicml_logger_utils.py @@ -38,6 +38,7 @@ def maybe_create_mosaicml_logger() -> Optional[MosaicMLLogger]: def no_override_excepthook() -> bool: + """Returns True if the excepthook flag is off. This means we are not automatically catching exceptions for MosaicMl runs.""" return os.environ.get( 'OVERRIDE_EXCEPTHOOK', 'false',