Skip to content

Commit

Permalink
remove negation
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Sep 8, 2023
1 parent 0811514 commit 7e9409a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axolotl/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def validate_config(cfg):
raise ValueError(
"`early_stopping_patience` requires save_steps and eval_steps to be set. eval_steps should evenly divide save_steps."
)
if not cfg.save_steps % cfg.eval_steps != 0:
if cfg.save_steps % cfg.eval_steps != 0:
raise ValueError(
"`early_stopping_patience` requires that eval_steps should evenly divide save_steps."
)
Expand Down

0 comments on commit 7e9409a

Please sign in to comment.