Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(cfg): Add validation for save_strategy and eval_strategy #633

Merged
merged 3 commits into from
Sep 28, 2023

Conversation

NanoCode012
Copy link
Collaborator

This PR should fix the ambiguity in configs when users have conflicting save_strategy with save_steps or eval_strategy and eval_steps.

This also cleans the check for eval and save to use same condition format.

@NanoCode012
Copy link
Collaborator Author

Rebased. Can merge when tests done.

@NanoCode012 NanoCode012 merged commit 383f88d into axolotl-ai-cloud:main Sep 28, 2023
4 checks passed
@NanoCode012 NanoCode012 deleted the fix/strategy_save_eval branch September 28, 2023 01:14
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
…-ai-cloud#633)

* Fix(cfg): Check save_strategy cfg conflict with save_steps

* Fix(cfg): Check evaluation_strategy cfg conflict with eval_steps

* chore: add extra check for steps only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants