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

exp run: remove exp reset in favor of exp run --reset #5442

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

pmrowla
Copy link
Contributor

@pmrowla pmrowla commented Feb 10, 2021

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

Related to #5413

  • dvc exp reset command is removed
  • dvc exp run --reset option can be used to reset/restart checkpoints

@pmrowla pmrowla self-assigned this Feb 10, 2021
@pmrowla pmrowla added the ui user interface / interaction label Feb 10, 2021
@pmrowla pmrowla requested a review from dberenbaum February 10, 2021 06:24
Copy link
Collaborator

@dberenbaum dberenbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -98,11 +95,11 @@ def test_experiments_run(dvc, scm, mocker, args, reset):
"jobs": None,
"tmp_dir": False,
"checkpoint_resume": None,
"reset": reset,
"reset": False,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is a "reset": True case needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command unit tests are mainly for making sure the CLI parsing works. The actual reset=true/false functionality is tested in tests/func/experiments.

@pmrowla pmrowla merged commit e3ee960 into iterative:master Feb 11, 2021
@pmrowla pmrowla deleted the exp-reset-flag branch February 11, 2021 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui user interface / interaction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants