-j/--job-workers option added for controlling the number of joblib parallel worker processes used in hyperopt

docs refreshed
This commit is contained in:
hroff-1902
2019-04-23 00:30:09 +03:00
parent d3e956f7cc
commit 7c8e26c717
4 changed files with 41 additions and 23 deletions

View File

@@ -315,6 +315,17 @@ class Arguments(object):
dest='print_all',
default=False
)
parser.add_argument(
'-j', '--job-workers',
help='The number of concurrently running jobs for hyperoptimization '
'(hyperopt worker processes). '
'If -1 (default), all CPUs are used, for -2, all CPUs but one are used, etc. '
'If 1 is given, no parallel computing code is used at all.',
dest='hyperopt_jobs',
default=-1,
type=int,
metavar='JOBS',
)
def _build_subcommands(self) -> None:
"""