"ts/webui/src/vscode:/vscode.git/clone" did not exist on "c55300df843ee3f85fd311807a434ee3e812af59"
Unverified Commit 4b5212d4 authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

Fix kubeflow pipeline and reuse command (#4009)

parent a9ebcf4b
...@@ -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
......
...@@ -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 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 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
......
...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment