Skip to content

Commit

Permalink
exp run: jobs should default to 1 (iterative#5785)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla authored Apr 8, 2021
1 parent 02d9684 commit a984f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dvc/command/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,7 @@ def _add_run_common(parser):
"-j",
"--jobs",
type=int,
default=1,
help="Run the specified number of experiments at a time in parallel.",
metavar="<number>",
)
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/command/test_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def test_experiments_run(dvc, scm, mocker):
"name": None,
"queue": False,
"run_all": False,
"jobs": None,
"jobs": 1,
"tmp_dir": False,
"checkpoint_resume": None,
"reset": False,
Expand Down

0 comments on commit a984f95

Please sign in to comment.