Skip to content

Commit

Permalink
eval run config
Browse files Browse the repository at this point in the history
  • Loading branch information
aspfohl committed Jan 23, 2024
1 parent 8a8107b commit 5122239
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions llmfoundry/callbacks/async_eval_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,10 @@ def validate_interval(interval: Union[str, int, Time],
def validate_eval_run_config(
eval_run_config: Optional[Dict[str, Any]]) -> Dict[str, Any]:

if eval_run_config is None:
if not eval_run_config:
return {}
else:
run_config = eval_run_config.copy()

if not run_config:
return {}
run_config = eval_run_config.copy()

supported_keys = {'image', 'command', 'compute', 'scheduling'}
found_unsupported = set()
Expand Down

0 comments on commit 5122239

Please sign in to comment.