Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Jun 5, 2024
1 parent ac56dc5 commit a066bfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion llmfoundry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
'utils',
]

__version__ = '0.9.0.dev0'
__version__ = '0.10.0.dev0'
4 changes: 2 additions & 2 deletions llmfoundry/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ def make_dataclass_and_log_config(
unstructured_config['variables'] = {}

for key in extraneous_keys:
warnings.warn(
f'Unused parameter {key} found in cfg. Please check your yaml to ensure this parameter is necessary. Interpreting {key} as a variable for logging purposes. Top-level variables are deprecated and will not be supported in future releases. Please place any variables under the `variables` key.',
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)
Expand Down

0 comments on commit a066bfc

Please sign in to comment.