Skip to content

Commit

Permalink
run
Browse files Browse the repository at this point in the history
  • Loading branch information
horheynm committed Aug 22, 2024
1 parent c57f891 commit 19bc630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llmcompressor/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def configure_logger(config: Optional[LoggerConfig] = None):
# log as json to the file for easier parsing
logger.add(log_file, level=log_file_level.upper(), serialize=True)

if logger_config.metrics_disabled or "METRIC" in logger._core.levels.keys():
if logger_config.metrics_disabled or "METRIC" in logger._core.levels:
return
# initialize metric logger on loguru
_initialize_metric_logging()
Expand Down

0 comments on commit 19bc630

Please sign in to comment.