Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
019eef75
Unverified
Commit
019eef75
authored
Apr 22, 2021
by
SparkSnail
Committed by
GitHub
Apr 22, 2021
Browse files
Fix set_cluster_metadata error (#3564)
parent
d965808e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
nni/tools/nnictl/launcher.py
nni/tools/nnictl/launcher.py
+4
-4
No files found.
nni/tools/nnictl/launcher.py
View file @
019eef75
...
@@ -375,10 +375,6 @@ def launch_experiment(args, experiment_config, mode, experiment_id, config_versi
...
@@ -375,10 +375,6 @@ def launch_experiment(args, experiment_config, mode, experiment_id, config_versi
except
Exception
:
except
Exception
:
raise
Exception
(
ERROR_INFO
%
'Rest server stopped!'
)
raise
Exception
(
ERROR_INFO
%
'Rest server stopped!'
)
exit
(
1
)
exit
(
1
)
if
config_version
==
1
and
mode
!=
'view'
:
# set platform configuration
set_platform_config
(
experiment_config
[
'trainingServicePlatform'
],
experiment_config
,
args
.
port
,
\
experiment_id
,
rest_process
)
# start a new experiment
# start a new experiment
print_normal
(
'Starting experiment...'
)
print_normal
(
'Starting experiment...'
)
...
@@ -400,6 +396,10 @@ def launch_experiment(args, experiment_config, mode, experiment_id, config_versi
...
@@ -400,6 +396,10 @@ def launch_experiment(args, experiment_config, mode, experiment_id, config_versi
except
Exception
:
except
Exception
:
raise
Exception
(
ERROR_INFO
%
'Restful server stopped!'
)
raise
Exception
(
ERROR_INFO
%
'Restful server stopped!'
)
exit
(
1
)
exit
(
1
)
if
config_version
==
1
and
mode
!=
'view'
:
# set platform configuration
set_platform_config
(
experiment_config
[
'trainingServicePlatform'
],
experiment_config
,
args
.
port
,
\
experiment_id
,
rest_process
)
if
experiment_config
.
get
(
'nniManagerIp'
):
if
experiment_config
.
get
(
'nniManagerIp'
):
web_ui_url_list
=
[
'http://{0}:{1}'
.
format
(
experiment_config
[
'nniManagerIp'
],
str
(
args
.
port
))]
web_ui_url_list
=
[
'http://{0}:{1}'
.
format
(
experiment_config
[
'nniManagerIp'
],
str
(
args
.
port
))]
else
:
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment