Skip to content

Commit

Permalink
fixed end of line error in __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JackZ-db committed Jun 7, 2024
1 parent a1442d1 commit d8fb44c
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions llmfoundry/callbacks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
# Copyright 2024 MosaicML LLM Foundry authors
# SPDX-License-Identifier: Apache-2.0

from composer.callbacks import SystemMetricsMonitor

from llmfoundry.utils.builders import build_callback


def test_system_metrics_monitor_callback_builds():
callback = build_callback(
'system_metrics_monitor',
kwargs={},
train_config={'train_loader': {}},
)
assert isinstance(callback, SystemMetricsMonitor)
root@48eca11b-847e-4283-9557-ac7141834b29-0:/llm-foundry# cat llm-foundry/callbacks/__init__.py
cat: llm-foundry/callbacks/__init__.py: No such file or directory
root@48eca11b-847e-4283-9557-ac7141834b29-0:/llm-foundry# cat llmfoundry/callbacks/__init__.py
# Copyright 2022 MosaicML LLM Foundry authors
# SPDX-License-Identifier: Apache-2.0

Expand Down

0 comments on commit d8fb44c

Please sign in to comment.