Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
aspfohl committed Feb 5, 2024
1 parent c3b6b5d commit 2b3ec85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions llmfoundry/callbacks/async_eval_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ def __init__(
eval_run_config: Optional[Dict[str, Any]] = None,
):

self.compute = compute

# Run these during init to fail fast in any of the error cases
for required in ('save_interval', 'save_folder'):
if required not in training_params:
Expand Down Expand Up @@ -437,7 +435,7 @@ def close(self, state: State, logger: Logger) -> None:
# Eval the latest checkpoint
latest_timestamp = state.timestamp.get(self.interval.unit)
if latest_timestamp not in self.checkpoints_evaled:
save_latest_filename = self.training_config.get(
save_latest_filename = self.training_params.get(
'save_latest_filename', None)

if not save_latest_filename:
Expand Down

0 comments on commit 2b3ec85

Please sign in to comment.