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
2
2
on :
3
3
- pull_request
4
4
5
+ env :
6
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7
+
5
8
jobs :
6
9
e2e :
7
10
runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Experiments for the following algorithms:
44
44
45
45
- [ HyperBand] ( ./hp-tuning/hyperband.yaml )
46
46
47
- - [ PBT] ( ./hp-tuning/pbt.yaml )
47
+ - [ PBT] ( ./hp-tuning/simple- pbt.yaml )
48
48
49
49
### Neural Architecture Search
50
50
Original file line number Diff line number Diff line change 43
43
containers :
44
44
- name : training-container
45
45
image : docker.io/kubeflowkatib/simple-pbt:latest
46
- imagePullPolicy : Always
47
46
command :
48
47
- " python3"
49
48
- " /opt/pbt/pbt_test.py"
Original file line number Diff line number Diff line change 136
136
docker build --platform linux/amd64 -t " ${REGISTRY} /darts-cnn-cifar10-gpu:${TAG} " -f examples/${VERSION} /trial-images/darts-cnn-cifar10/Dockerfile.gpu .
137
137
138
138
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 .
140
140
fi
141
141
142
142
echo -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"
89
89
ENAS_CPU=" enas-cnn-cifar10-cpu"
90
90
DARTS_GPU=" darts-cnn-cifar10-gpu"
91
91
DARTS_CPU=" darts-cnn-cifar10-cpu"
92
+ SIMPLE_PBT=" simple-pbt"
92
93
93
94
echo -e " Update Katib Trial training container images\n"
94
95
update_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}:$
98
99
update_yaml_files " ./" " ${OLD_PREFIX}${ENAS_CPU} :.*" " ${NEW_PREFIX}${ENAS_CPU} :${TAG} "
99
100
update_yaml_files " ./" " ${OLD_PREFIX}${DARTS_GPU} :.*" " ${NEW_PREFIX}${DARTS_GPU} :${TAG} "
100
101
update_yaml_files " ./" " ${OLD_PREFIX}${DARTS_CPU} :.*" " ${NEW_PREFIX}${DARTS_CPU} :${TAG} "
102
+ update_yaml_files " ./" " ${OLD_PREFIX}${SIMPLE_PBT} :.*" " ${NEW_PREFIX}${SIMPLE_PBT} :${TAG} "
101
103
102
104
echo " Katib images have been updated"
Original file line number Diff line number Diff line change 77
77
"multivariate-tpe" : "examples/v1beta1/hp-tuning/multivariate-tpe.yaml" ,
78
78
"cmaes" : "examples/v1beta1/hp-tuning/cma-es.yaml" ,
79
79
"hyperband" : "examples/v1beta1/hp-tuning/hyperband.yaml" ,
80
- "pbt" : "examples/v1beta1/hp-tuning/pbt.yaml" ,
80
+ "pbt" : "examples/v1beta1/hp-tuning/simple- pbt.yaml" ,
81
81
"enas" : "examples/v1beta1/nas/enas-cpu.yaml" ,
82
82
"darts" : "examples/v1beta1/nas/darts-cpu.yaml" ,
83
83
"pytorchjob" : "examples/v1beta1/kubeflow-training-operator/pytorchjob-mnist.yaml" ,
You can’t perform that action at this time.
0 commit comments