Skip to content

Commit

Permalink
evaluation_strategy was fully deprecated in recent release (#2169) [s…
Browse files Browse the repository at this point in the history
…kip ci]
  • Loading branch information
winglian authored Dec 12, 2024
1 parent 214022b commit 7b97876
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/axolotl/utils/callbacks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,7 @@ def on_step_end(
control: TrainerControl,
**kwargs,
):
if (
args.evaluation_strategy == IntervalStrategy.STEPS
and state.global_step == 1
):
if args.eval_strategy == IntervalStrategy.STEPS and state.global_step == 1:
control.should_evaluate = True
return control

Expand Down

0 comments on commit 7b97876

Please sign in to comment.