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
9353fab8
"vscode:/vscode.git/clone" did not exist on "cc8d627e32e57a7e21f89efcae6f409e0843ca9e"
Unverified
Commit
9353fab8
authored
Oct 13, 2020
by
SparkSnail
Committed by
GitHub
Oct 13, 2020
Browse files
Fix remote mode bug (#2950)
parent
e5a208ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
tools/nni_cmd/launcher.py
tools/nni_cmd/launcher.py
+4
-1
No files found.
tools/nni_cmd/launcher.py
View file @
9353fab8
...
...
@@ -138,7 +138,10 @@ def set_remote_config(experiment_config, port, config_file_name):
'''Call setClusterMetadata to pass trial'''
#set machine_list
request_data
=
dict
()
request_data
[
'remote_config'
]
=
experiment_config
[
'remoteConfig'
]
if
experiment_config
.
get
(
'remoteConfig'
):
request_data
[
'remote_config'
]
=
experiment_config
[
'remoteConfig'
]
else
:
request_data
[
'remote_config'
]
=
{
'reuse'
:
False
}
request_data
[
'machine_list'
]
=
experiment_config
[
'machineList'
]
if
request_data
[
'machine_list'
]:
for
i
in
range
(
len
(
request_data
[
'machine_list'
])):
...
...
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