Unverified Commit ed401808 authored by kvartet's avatar kvartet Committed by GitHub
Browse files

Fix typo in nni/experiment/launcher.py (#3701)

parent e269db6d
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"[2021-03-05 12:12:19] Creating experiment, Experiment ID: wdt0le3v\n", "[2021-03-05 12:12:19] Creating experiment, Experiment ID: wdt0le3v\n",
"[2021-03-05 12:12:19] Statring web server...\n", "[2021-03-05 12:12:19] Starting web server...\n",
"[2021-03-05 12:12:20] Setting up...\n", "[2021-03-05 12:12:20] Setting up...\n",
"[2021-03-05 12:12:20] Web UI URLs: http://127.0.0.1:8080 http://10.0.1.5:8080 http://172.17.0.1:8080\n" "[2021-03-05 12:12:20] Web UI URLs: http://127.0.0.1:8080 http://10.0.1.5:8080 http://172.17.0.1:8080\n"
] ]
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"[2021-03-05 12:12:19] Creating experiment, Experiment ID: wdt0le3v\n", "[2021-03-05 12:12:19] Creating experiment, Experiment ID: wdt0le3v\n",
"[2021-03-05 12:12:19] Statring web server...\n", "[2021-03-05 12:12:19] Starting web server...\n",
"[2021-03-05 12:12:20] Setting up...\n", "[2021-03-05 12:12:20] Setting up...\n",
"[2021-03-05 12:12:20] Web UI URLs: http://127.0.0.1:8080 http://10.0.1.5:8080 http://172.17.0.1:8080\n" "[2021-03-05 12:12:20] Web UI URLs: http://127.0.0.1:8080 http://10.0.1.5:8080 http://172.17.0.1:8080\n"
] ]
......
...@@ -39,7 +39,7 @@ def start_experiment(exp_id: str, config: ExperimentConfig, port: int, debug: bo ...@@ -39,7 +39,7 @@ def start_experiment(exp_id: str, config: ExperimentConfig, port: int, debug: bo
try: try:
_logger.info('Creating experiment, Experiment ID: %s', colorama.Fore.CYAN + exp_id + colorama.Style.RESET_ALL) _logger.info('Creating experiment, Experiment ID: %s', colorama.Fore.CYAN + exp_id + colorama.Style.RESET_ALL)
start_time, proc = _start_rest_server(config, port, debug, exp_id, mode=mode) start_time, proc = _start_rest_server(config, port, debug, exp_id, mode=mode)
_logger.info('Statring web server...') _logger.info('Starting web server...')
_check_rest_server(port) _check_rest_server(port)
platform = 'hybrid' if isinstance(config.training_service, list) else config.training_service.platform platform = 'hybrid' if isinstance(config.training_service, list) else config.training_service.platform
_save_experiment_information(exp_id, port, start_time, platform, _save_experiment_information(exp_id, port, start_time, platform,
...@@ -74,7 +74,7 @@ def start_experiment_retiarii(exp_id: str, config: ExperimentConfig, port: int, ...@@ -74,7 +74,7 @@ def start_experiment_retiarii(exp_id: str, config: ExperimentConfig, port: int,
pipe_file = pipe.connect() pipe_file = pipe.connect()
nni.runtime.protocol._in_file = pipe_file nni.runtime.protocol._in_file = pipe_file
nni.runtime.protocol._out_file = pipe_file nni.runtime.protocol._out_file = pipe_file
_logger.info('Statring web server...') _logger.info('Starting web server...')
_check_rest_server(port) _check_rest_server(port)
platform = 'hybrid' if isinstance(config.training_service, list) else config.training_service.platform platform = 'hybrid' if isinstance(config.training_service, list) else config.training_service.platform
_save_experiment_information(exp_id, port, start_time, platform, _save_experiment_information(exp_id, port, start_time, platform,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment