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
dfba3aed
Unverified
Commit
dfba3aed
authored
Sep 06, 2021
by
SparkSnail
Committed by
GitHub
Sep 06, 2021
Browse files
Support aml in hybrid pipeline (#4124)
parent
31fa1811
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
pipelines/integration-test-hybrid.yml
pipelines/integration-test-hybrid.yml
+4
-0
test/config/training_service_v2.yml
test/config/training_service_v2.yml
+6
-1
test/nni_test/nnitest/generate_ts_config.py
test/nni_test/nnitest/generate_ts_config.py
+4
-0
No files found.
pipelines/integration-test-hybrid.yml
View file @
dfba3aed
...
@@ -85,6 +85,10 @@ jobs:
...
@@ -85,6 +85,10 @@ jobs:
--remote_pwd $(password_in_docker) \
--remote_pwd $(password_in_docker) \
--remote_port $(docker_port) \
--remote_port $(docker_port) \
--nni_manager_ip $(manager_ip) \
--nni_manager_ip $(manager_ip) \
--subscription_id $(subscription_id) \
--resource_group $(resource_group) \
--workspace_name $(workspace_name) \
--compute_target $(compute_target) \
--config_version v2
--config_version v2
python3 nni_test/nnitest/run_tests.py --config config/integration_tests_config_v2.yml --ts hybrid
python3 nni_test/nnitest/run_tests.py --config config/integration_tests_config_v2.yml --ts hybrid
displayName
:
Integration test
displayName
:
Integration test
...
...
test/config/training_service_v2.yml
View file @
dfba3aed
...
@@ -6,4 +6,9 @@ hybrid:
...
@@ -6,4 +6,9 @@ hybrid:
user
:
user
:
password
:
password
:
port
:
port
:
-
platform
:
local
-
platform
:
local
\ No newline at end of file
-
platform
:
aml
subscriptionId
:
resourceGroup
:
workspaceName
:
computeTarget
:
test/nni_test/nnitest/generate_ts_config.py
View file @
dfba3aed
...
@@ -120,6 +120,10 @@ def update_training_service_config(args):
...
@@ -120,6 +120,10 @@ def update_training_service_config(args):
config
[
args
.
ts
][
'trainingService'
][
0
][
'machineList'
][
0
][
'host'
]
=
args
.
remote_host
config
[
args
.
ts
][
'trainingService'
][
0
][
'machineList'
][
0
][
'host'
]
=
args
.
remote_host
config
[
args
.
ts
][
'trainingService'
][
0
][
'machineList'
][
0
][
'password'
]
=
args
.
remote_pwd
config
[
args
.
ts
][
'trainingService'
][
0
][
'machineList'
][
0
][
'password'
]
=
args
.
remote_pwd
config
[
args
.
ts
][
'trainingService'
][
0
][
'machineList'
][
0
][
'port'
]
=
args
.
remote_port
config
[
args
.
ts
][
'trainingService'
][
0
][
'machineList'
][
0
][
'port'
]
=
args
.
remote_port
config
[
args
.
ts
][
'trainingService'
][
2
][
'subscriptionId'
]
=
args
.
subscription_id
config
[
args
.
ts
][
'trainingService'
][
2
][
'resourceGroup'
]
=
args
.
resource_group
config
[
args
.
ts
][
'trainingService'
][
2
][
'workspaceName'
]
=
args
.
workspace_name
config
[
args
.
ts
][
'trainingService'
][
2
][
'computeTarget'
]
=
args
.
compute_target
config
[
args
.
ts
][
'nni_manager_ip'
]
=
args
.
nni_manager_ip
config
[
args
.
ts
][
'nni_manager_ip'
]
=
args
.
nni_manager_ip
dump_yml_content
(
TRAINING_SERVICE_FILE_V2
,
config
)
dump_yml_content
(
TRAINING_SERVICE_FILE_V2
,
config
)
...
...
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