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
46342a74
Unverified
Commit
46342a74
authored
Mar 05, 2020
by
SparkSnail
Committed by
GitHub
Mar 05, 2020
Browse files
Fix pai pipeline (#2123)
parent
475a57d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/generate_ts_config.py
test/generate_ts_config.py
+3
-3
No files found.
test/generate_ts_config.py
View file @
46342a74
...
...
@@ -36,11 +36,11 @@ def update_training_service_config(args):
config
[
args
.
ts
][
'paiConfig'
][
'token'
]
=
args
.
pai_token
if
args
.
nni_docker_image
is
not
None
:
config
[
args
.
ts
][
'trial'
][
'image'
]
=
args
.
nni_docker_image
if
args
.
nni
M
anager
NFSM
ount
P
ath
is
not
None
:
if
args
.
nni
_m
anager
_nfs_m
ount
_p
ath
is
not
None
:
config
[
args
.
ts
][
'trial'
][
'nniManagerNFSMountPath'
]
=
args
.
nni_manager_nfs_mount_path
if
args
.
container
NFSM
ount
P
ath
is
not
None
:
if
args
.
container
_nfs_m
ount
_p
ath
is
not
None
:
config
[
args
.
ts
][
'trial'
][
'containerNFSMountPath'
]
=
args
.
container_nfs_mount_path
if
args
.
pai
S
torage
P
lugin
is
not
None
:
if
args
.
pai
_s
torage
_p
lugin
is
not
None
:
config
[
args
.
ts
][
'trial'
][
'paiStoragePlugin'
]
=
args
.
pai_storage_plugin
if
args
.
vc
is
not
None
:
config
[
args
.
ts
][
'trial'
][
'virtualCluster'
]
=
args
.
vc
...
...
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