From 04257666394edc3a2b98ba4f24b6f2cda5da026f Mon Sep 17 00:00:00 2001 From: chicm-ms <38930155+chicm-ms@users.noreply.github.com> Date: Tue, 11 Dec 2018 16:06:40 +0800 Subject: [PATCH] Fix nnictl multiThread option (#467) --- tools/nni_cmd/launcher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/nni_cmd/launcher.py b/tools/nni_cmd/launcher.py index 7fa5f8b974..485329d3d2 100644 --- a/tools/nni_cmd/launcher.py +++ b/tools/nni_cmd/launcher.py @@ -203,6 +203,8 @@ def set_experiment(experiment_config, mode, port, config_file_name): request_data['description'] = experiment_config['description'] if experiment_config.get('multiPhase'): request_data['multiPhase'] = experiment_config.get('multiPhase') + if experiment_config.get('multiThread'): + request_data['multiThread'] = experiment_config.get('multiThread') if experiment_config.get('advisor'): request_data['advisor'] = experiment_config['advisor'] else: