Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Jun 5, 2024
1 parent a066bfc commit 7dfb6f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions llmfoundry/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,7 @@ def make_dataclass_and_log_config(
for key in extraneous_keys:
raise ValueError(
f'Unused parameter {key} found in cfg. Please check your yaml to ensure this parameter is necessary. Please place any variables under the `variables` key.',
category=DeprecationWarning,
)
unstructured_config['variables'][key] = unstructured_config.pop(key)

dataclass_dict_config: DictConfig = om.structured(
dataclass_constructor(**unstructured_config),
Expand Down

0 comments on commit 7dfb6f8

Please sign in to comment.