File tree Expand file tree Collapse file tree 6 files changed +8
-4
lines changed
test/e2e/v1beta1/hack/aws Expand file tree Collapse file tree 6 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: E2E Test with simple-pbt
22on :
33 - pull_request
44
5+ env :
6+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7+
58jobs :
69 e2e :
710 runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Experiments for the following algorithms:
4444
4545- [ HyperBand] ( ./hp-tuning/hyperband.yaml )
4646
47- - [ PBT] ( ./hp-tuning/pbt.yaml )
47+ - [ PBT] ( ./hp-tuning/simple- pbt.yaml )
4848
4949### Neural Architecture Search
5050
Original file line number Diff line number Diff line change 4343 containers :
4444 - name : training-container
4545 image : docker.io/kubeflowkatib/simple-pbt:latest
46- imagePullPolicy : Always
4746 command :
4847 - " python3"
4948 - " /opt/pbt/pbt_test.py"
Original file line number Diff line number Diff line change 136136 docker build --platform linux/amd64 -t " ${REGISTRY} /darts-cnn-cifar10-gpu:${TAG} " -f examples/${VERSION} /trial-images/darts-cnn-cifar10/Dockerfile.gpu .
137137
138138 echo -e " \nBuilding dynamic learning rate training container example for PBT...\n"
139- docker build --platform linux/amd64 -t " ${REGISTRY} /simple-pbt:${TAG} " -f examples/${VERSION} /trial-images/pbt/Dockerfile .
139+ docker build --platform linux/amd64 -t " ${REGISTRY} /simple-pbt:${TAG} " -f examples/${VERSION} /trial-images/simple- pbt/Dockerfile .
140140fi
141141
142142echo -e " \nBuilding Tensorflow with summaries mnist training container example...\n"
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ ENAS_GPU="enas-cnn-cifar10-gpu"
8989ENAS_CPU=" enas-cnn-cifar10-cpu"
9090DARTS_GPU=" darts-cnn-cifar10-gpu"
9191DARTS_CPU=" darts-cnn-cifar10-cpu"
92+ SIMPLE_PBT=" simple-pbt"
9293
9394echo -e " Update Katib Trial training container images\n"
9495update_yaml_files " ./" " ${OLD_PREFIX}${MXNET_MNIST} :.*" " ${NEW_PREFIX}${MXNET_MNIST} :${TAG} "
@@ -98,5 +99,6 @@ update_yaml_files "./" "${OLD_PREFIX}${ENAS_GPU}:.*" "${NEW_PREFIX}${ENAS_GPU}:$
9899update_yaml_files " ./" " ${OLD_PREFIX}${ENAS_CPU} :.*" " ${NEW_PREFIX}${ENAS_CPU} :${TAG} "
99100update_yaml_files " ./" " ${OLD_PREFIX}${DARTS_GPU} :.*" " ${NEW_PREFIX}${DARTS_GPU} :${TAG} "
100101update_yaml_files " ./" " ${OLD_PREFIX}${DARTS_CPU} :.*" " ${NEW_PREFIX}${DARTS_CPU} :${TAG} "
102+ update_yaml_files " ./" " ${OLD_PREFIX}${SIMPLE_PBT} :.*" " ${NEW_PREFIX}${SIMPLE_PBT} :${TAG} "
101103
102104echo " Katib images have been updated"
Original file line number Diff line number Diff line change 7777 "multivariate-tpe" : "examples/v1beta1/hp-tuning/multivariate-tpe.yaml" ,
7878 "cmaes" : "examples/v1beta1/hp-tuning/cma-es.yaml" ,
7979 "hyperband" : "examples/v1beta1/hp-tuning/hyperband.yaml" ,
80- "pbt" : "examples/v1beta1/hp-tuning/pbt.yaml" ,
80+ "pbt" : "examples/v1beta1/hp-tuning/simple- pbt.yaml" ,
8181 "enas" : "examples/v1beta1/nas/enas-cpu.yaml" ,
8282 "darts" : "examples/v1beta1/nas/darts-cpu.yaml" ,
8383 "pytorchjob" : "examples/v1beta1/kubeflow-training-operator/pytorchjob-mnist.yaml" ,
You can’t perform that action at this time.
0 commit comments