-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'kubeflow:master' into specify-cpu-arch
- Loading branch information
Showing
56 changed files
with
1,185 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: E2E Test with darts-cnn-cifar10 | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 120 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Test Env | ||
uses: ./.github/workflows/template-setup-e2e-test | ||
with: | ||
kubernetes-version: ${{ matrix.kubernetes-version }} | ||
|
||
- name: Run e2e test with ${{ matrix.experiments }} experiments | ||
uses: ./.github/workflows/template-e2e-test | ||
with: | ||
experiments: ${{ matrix.experiments }} | ||
# Comma Delimited | ||
trial-images: darts-cnn-cifar10-cpu | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Detail: https://hub.docker.com/r/kindest/node | ||
# TODO (tenzen-y): We need to consider running tests on more kubernetes versions. | ||
# kubernetes-version: ["v1.20.15", "v1.21.12", "v1.22.9", "v1.23.6", "v1.24.1"] | ||
kubernetes-version: ["v1.21.12", "v1.22.9", "v1.23.6"] | ||
# Comma Delimited | ||
experiments: ["darts-cpu"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: E2E Test with enas-cnn-cifar10 | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 120 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Test Env | ||
uses: ./.github/workflows/template-setup-e2e-test | ||
with: | ||
kubernetes-version: ${{ matrix.kubernetes-version }} | ||
|
||
- name: Run e2e test with ${{ matrix.experiments }} experiments | ||
uses: ./.github/workflows/template-e2e-test | ||
with: | ||
experiments: ${{ matrix.experiments }} | ||
# Comma Delimited | ||
trial-images: enas-cnn-cifar10-cpu | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Detail: https://hub.docker.com/r/kindest/node | ||
# TODO (tenzen-y): We need to consider running tests on more kubernetes versions. | ||
# kubernetes-version: ["v1.20.15", "v1.21.12", "v1.22.9", "v1.23.6", "v1.24.1"] | ||
kubernetes-version: ["v1.21.12", "v1.22.9", "v1.23.6"] | ||
# Comma Delimited | ||
experiments: ["enas-cpu"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: E2E Test for katib-ui | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 120 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Test Env | ||
uses: ./.github/workflows/template-setup-e2e-test | ||
with: | ||
kubernetes-version: ${{ matrix.kubernetes-version }} | ||
|
||
- name: Set Up KinD Cluster | ||
run: ./test/e2e/v1beta1/scripts/gh-actions/setup-kind.sh true | ||
|
||
- name: Start Katib | ||
run: ./test/e2e/v1beta1/scripts/gh-actions/setup-katib.sh true false | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Detail: https://hub.docker.com/r/kindest/node | ||
# TODO (tenzen-y): We need to consider running tests on more kubernetes versions. | ||
# kubernetes-version: ["v1.20.15", "v1.21.12", "v1.22.9", "v1.23.6", "v1.24.1"] | ||
kubernetes-version: ["v1.21.12", "v1.22.9", "v1.23.6"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: E2E Test with mxnet-mnist | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 120 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Test Env | ||
uses: ./.github/workflows/template-setup-e2e-test | ||
with: | ||
kubernetes-version: ${{ matrix.kubernetes-version }} | ||
|
||
- name: Run e2e test with ${{ matrix.experiments }} experiments | ||
uses: ./.github/workflows/template-e2e-test | ||
with: | ||
experiments: ${{ matrix.experiments }} | ||
# Comma Delimited | ||
trial-images: mxnet-mnist | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Detail: https://hub.docker.com/r/kindest/node | ||
# TODO (tenzen-y): We need to consider running tests on more kubernetes versions. | ||
# kubernetes-version: ["v1.20.15", "v1.21.12", "v1.22.9", "v1.23.6", "v1.24.1"] | ||
kubernetes-version: ["v1.21.12", "v1.22.9", "v1.23.6"] | ||
# Comma Delimited | ||
experiments: | ||
# suggestion-hyperopt | ||
- "random,tpe,never-resume" | ||
- "median-stop,from-volume-resume" | ||
# others | ||
- "grid,bayesian-optimization,tpe" | ||
- "multivariate-tpe,cma-es,hyperband" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: E2E Test with pytorch-mnist | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 120 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Test Env | ||
uses: ./.github/workflows/template-setup-e2e-test | ||
with: | ||
kubernetes-version: ${{ matrix.kubernetes-version }} | ||
|
||
- name: Run e2e test with ${{ matrix.experiments }} experiments | ||
uses: ./.github/workflows/template-e2e-test | ||
with: | ||
experiments: ${{ matrix.experiments }} | ||
training-operator: true | ||
# Comma Delimited | ||
trial-images: pytorch-mnist | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Detail: https://hub.docker.com/r/kindest/node | ||
# TODO (tenzen-y): We need to consider running tests on more kubernetes versions. | ||
# kubernetes-version: ["v1.20.15", "v1.21.12", "v1.22.9", "v1.23.6", "v1.24.1"] | ||
kubernetes-version: ["v1.21.12", "v1.22.9", "v1.23.6"] | ||
# Comma Delimited | ||
experiments: | ||
- "file-metrics-collector,pytorchjob-mnist" | ||
- "median-stop-with-json-format,file-metrics-collector-with-json-format" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Template for e2e tests. | ||
|
||
inputs: | ||
cluster_name: | ||
required: false | ||
type: string | ||
default: katib-e2e-cluster | ||
experiments: | ||
required: true | ||
type: string | ||
training-operator: | ||
required: false | ||
type: boolean | ||
trial-images: | ||
required: true | ||
type: string | ||
katib-ui: | ||
required: true | ||
type: boolean | ||
default: false | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Set Up KinD Cluster | ||
shell: bash | ||
run: ./test/e2e/v1beta1/scripts/gh-actions/setup-kind.sh ${{ inputs.katib-ui }} ${{ inputs.trial-images }} ${{ inputs.cluster_name }} ${{ inputs.experiments }} | ||
|
||
- name: Set Up Katib | ||
shell: bash | ||
run: ./test/e2e/v1beta1/scripts/gh-actions/setup-katib.sh ${{ inputs.katib-ui }} ${{ inputs.training-operator }} | ||
|
||
- name: Run E2E Experiment | ||
shell: bash | ||
run: ./test/e2e/v1beta1/scripts/gh-actions/run-e2e-experiment.sh ${{ inputs.experiments }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Template for e2e tests. | ||
|
||
inputs: | ||
kubernetes-version: | ||
required: true | ||
type: string | ||
cluster_name: | ||
required: false | ||
type: string | ||
default: katib-e2e-cluster | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Set Up KinD Cluster | ||
uses: helm/kind-action@v1.2.0 | ||
with: | ||
version: v0.13.0 | ||
node_image: kindest/node:${{ inputs.kubernetes-version }} | ||
cluster_name: ${{ inputs.cluster_name }} | ||
wait: 120s | ||
|
||
- name: Set Up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Set Up Go env | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: E2E Test with tf-mnist-with-summaries | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 120 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Test Env | ||
uses: ./.github/workflows/template-setup-e2e-test | ||
with: | ||
kubernetes-version: ${{ matrix.kubernetes-version }} | ||
|
||
- name: Run e2e test with ${{ matrix.experiments }} experiments | ||
uses: ./.github/workflows/template-e2e-test | ||
with: | ||
experiments: ${{ matrix.experiments }} | ||
training-operator: true | ||
# Comma Delimited | ||
trial-images: tf-mnist-with-summaries | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Detail: https://hub.docker.com/r/kindest/node | ||
# TODO (tenzen-y): We need to consider running tests on more kubernetes versions. | ||
# kubernetes-version: ["v1.20.15", "v1.21.12", "v1.22.9", "v1.23.6", "v1.24.1"] | ||
kubernetes-version: ["v1.21.12", "v1.22.9", "v1.23.6"] | ||
# Comma Delimited | ||
experiments: ["tfjob-mnist-with-summaries"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cmd/metricscollector/v1beta1/tfevent-metricscollector/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.