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
4b5212d4
"ts/webui/src/vscode:/vscode.git/clone" did not exist on "c55300df843ee3f85fd311807a434ee3e812af59"
Unverified
Commit
4b5212d4
authored
Aug 04, 2021
by
SparkSnail
Committed by
GitHub
Aug 04, 2021
Browse files
Fix kubeflow pipeline and reuse command (#4009)
parent
a9ebcf4b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
pipelines/integration-test-frameworkcontroller.yml
pipelines/integration-test-frameworkcontroller.yml
+4
-4
pipelines/integration-test-kubeflow.yml
pipelines/integration-test-kubeflow.yml
+4
-4
ts/nni_manager/training_service/reusable/environments/kubernetes/kubeflowEnvironmentService.ts
...ble/environments/kubernetes/kubeflowEnvironmentService.ts
+3
-1
No files found.
pipelines/integration-test-frameworkcontroller.yml
View file @
4b5212d4
...
@@ -42,10 +42,10 @@ jobs:
...
@@ -42,10 +42,10 @@ jobs:
cd test
cd test
python3 nni_test/nnitest/generate_ts_config.py \
python3 nni_test/nnitest/generate_ts_config.py \
--ts frameworkcontroller \
--ts frameworkcontroller \
--keyvault_vaultname
NNIKeyVault
\
--keyvault_vaultname
$(keyvault_vaultname})
\
--keyvault_name
AzureStorageAccountKey
\
--keyvault_name
$(keyvault_name)
\
--azs_account
nniazurestorage
\
--azs_account
$(azs_account)
\
--azs_share
nni
\
--azs_share
$(azs_share)
\
--nni_docker_image nnidev/nni-nightly \
--nni_docker_image nnidev/nni-nightly \
--nni_manager_ip $(manager_ip)
--nni_manager_ip $(manager_ip)
python3 nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts frameworkcontroller --exclude multi-phase,multi-thread
python3 nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts frameworkcontroller --exclude multi-phase,multi-thread
...
...
pipelines/integration-test-kubeflow.yml
View file @
4b5212d4
...
@@ -52,10 +52,10 @@ jobs:
...
@@ -52,10 +52,10 @@ jobs:
cd test
cd test
python3 nni_test/nnitest/generate_ts_config.py \
python3 nni_test/nnitest/generate_ts_config.py \
--ts kubeflow \
--ts kubeflow \
--keyvault_vaultname
NNIK
ey
V
ault \
--keyvault_vaultname
$(k
ey
v
ault
_vaultname)
\
--keyvault_name
AzureStorageAccountKey
\
--keyvault_name
$(keyvault_name)
\
--azs_account
nniazurestorage
\
--azs_account
$(azs_account)
\
--azs_share
nni
\
--azs_share
$(azs_share)
\
--nni_docker_image nnidev/nni-nightly \
--nni_docker_image nnidev/nni-nightly \
--nni_manager_ip $(manager_ip)
--nni_manager_ip $(manager_ip)
python3 nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts kubeflow --exclude multi-phase,multi-thread
python3 nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts kubeflow --exclude multi-phase,multi-thread
...
...
ts/nni_manager/training_service/reusable/environments/kubernetes/kubeflowEnvironmentService.ts
View file @
4b5212d4
...
@@ -81,7 +81,9 @@ export class KubeflowEnvironmentService extends KubernetesEnvironmentService {
...
@@ -81,7 +81,9 @@ export class KubeflowEnvironmentService extends KubernetesEnvironmentService {
if
(
this
.
createStoragePromise
)
{
if
(
this
.
createStoragePromise
)
{
await
this
.
createStoragePromise
;
await
this
.
createStoragePromise
;
}
}
environment
.
command
=
`mv envs outputs/envs && cd outputs &&
${
environment
.
command
}
`
;
const
expFolder
=
`
${
this
.
CONTAINER_MOUNT_PATH
}
/nni/
${
this
.
experimentId
}
`
;
environment
.
command
=
`cd
${
expFolder
}
&&
${
environment
.
command
}
\
1>
${
expFolder
}
/envs/
${
environment
.
id
}
/trialrunner_stdout 2>
${
expFolder
}
/envs/
${
environment
.
id
}
/trialrunner_stderr`
;
if
(
this
.
config
.
deprecated
&&
this
.
config
.
deprecated
.
useActiveGpu
!==
undefined
)
{
if
(
this
.
config
.
deprecated
&&
this
.
config
.
deprecated
.
useActiveGpu
!==
undefined
)
{
environment
.
useActiveGpu
=
this
.
config
.
deprecated
.
useActiveGpu
;
environment
.
useActiveGpu
=
this
.
config
.
deprecated
.
useActiveGpu
;
}
}
...
...
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