Compare commits

...

6 Commits

Author SHA1 Message Date
Johnu George e34d2fe82e Katib official release v0.13.0 2022-03-04 18:13:20 +05:30
Yuki Iwai 776840e5b9 Fix the Dockerfile for API documentation generation (#1822)
* fix the Dockerfile for API documentation generation

* regenerate API documentation
2022-03-04 17:42:12 +05:30
Andrey Velichkevich 1f9dff0307 Katib official release v0.13.0-rc.1 2022-02-15 16:12:09 +00:00
Andrey Velichkevich c00cf67074
Automated cherry pick of #1808: Fix default label for Training Operators on release-0.13 (#1813)
* Fix default label for Training Operators

* Fix version comment

* Change the docs

* Change git command
2022-02-15 16:05:41 +00:00
Yuki Iwai 4458e7bdcd
[cherry-pick] Update supported Python version for kubeflow-katib SDK (#1798)
* update supported Python version for kubeflow-katib SDK

* stop supporting Python2
2022-01-26 17:53:44 +00:00
Andrey Velichkevich 6329f48685 Katib official release v0.13.0-rc.0 2022-01-25 13:04:06 +00:00
45 changed files with 242 additions and 242 deletions

View File

@ -123,7 +123,7 @@ In the namespace with `katib.kubeflow.org/metrics-collector-injection=enabled` l
In **Pod Level Injecting**, In **Pod Level Injecting**,
1. Job operators (_e.x. TFjob/PyTorchjob_) tag the `job-role: master` ([#1064](https://github.com/kubeflow/tf-operator/pull/1064)) label on the master pod. 1. Job operators (_e.x. TFjob/PyTorchjob_) tag the `training.kubeflow.org/job-role: master` ([#1064](https://github.com/kubeflow/tf-operator/pull/1064)) label on the master pod.
2. The webhook inject the metric collector only if the webhook recognizes this label. 2. The webhook inject the metric collector only if the webhook recognizes this label.
3. The webhook uses [ObjectSelector](https://github.com/kubernetes/kubernetes/pull/78505) to skip on irrelevant objects in order to optimize the performance. 3. The webhook uses [ObjectSelector](https://github.com/kubernetes/kubernetes/pull/78505) to skip on irrelevant objects in order to optimize the performance.
4. ObjectSelector is only supported above _Kubernetes v1.15_. Without this new feature, there may be a [performance issue](https://github.com/kubeflow/katib/issues/685#issuecomment-516226070) in webhook. In this situation, the following **Job Level Injecting** mode may be a better option. 4. ObjectSelector is only supported above _Kubernetes v1.15_. Without this new feature, there may be a [performance issue](https://github.com/kubeflow/katib/issues/685#issuecomment-516226070) in webhook. In this situation, the following **Job Level Injecting** mode may be a better option.

View File

@ -124,7 +124,7 @@ For example, for TFJob:
```yaml ```yaml
. . . . . .
PrimaryPodLabel: PrimaryPodLabel:
"job-role": "master" "training.kubeflow.org/job-role": "master"
. . . . . .
``` ```

View File

@ -75,7 +75,7 @@ spec:
- name: num-examples - name: num-examples
container: container:
name: model-training name: model-training
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -53,7 +53,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -56,7 +56,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -56,7 +56,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -54,7 +54,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -68,7 +68,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -53,7 +53,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -53,7 +53,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -53,7 +53,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -53,7 +53,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -23,7 +23,7 @@ spec:
primaryContainerName: mxnet primaryContainerName: mxnet
# In this example we can collect metrics only from the Worker pods. # In this example we can collect metrics only from the Worker pods.
primaryPodLabels: primaryPodLabels:
replica-type: worker training.kubeflow.org/replica-type: worker
trialParameters: trialParameters:
- name: learningRate - name: learningRate
description: Learning rate for the training model description: Learning rate for the training model

View File

@ -45,7 +45,7 @@ spec:
spec: spec:
containers: containers:
- name: pytorch - name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:latest image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/pytorch-mnist/mnist.py" - "/opt/pytorch-mnist/mnist.py"
@ -59,7 +59,7 @@ spec:
spec: spec:
containers: containers:
- name: pytorch - name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:latest image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/pytorch-mnist/mnist.py" - "/opt/pytorch-mnist/mnist.py"

View File

@ -52,7 +52,7 @@ spec:
spec: spec:
containers: containers:
- name: tensorflow - name: tensorflow
image: docker.io/kubeflowkatib/tf-mnist-with-summaries:latest image: docker.io/kubeflowkatib/tf-mnist-with-summaries:v0.13.0
command: command:
- "python" - "python"
- "/opt/tf-mnist-with-summaries/mnist.py" - "/opt/tf-mnist-with-summaries/mnist.py"

View File

@ -66,7 +66,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/pytorch-mnist:latest image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/pytorch-mnist/mnist.py" - "/opt/pytorch-mnist/mnist.py"

View File

@ -53,7 +53,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/pytorch-mnist:latest image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/pytorch-mnist/mnist.py" - "/opt/pytorch-mnist/mnist.py"

View File

@ -58,7 +58,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -59,7 +59,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/darts-cnn-cifar10:latest image: docker.io/kubeflowkatib/darts-cnn-cifar10:v0.13.0
command: command:
- python3 - python3
- run_trial.py - run_trial.py

View File

@ -76,7 +76,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/darts-cnn-cifar10:latest image: docker.io/kubeflowkatib/darts-cnn-cifar10:v0.13.0
command: command:
- python3 - python3
- run_trial.py - run_trial.py

View File

@ -138,7 +138,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:latest image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.13.0
command: command:
- python3 - python3
- -u - -u

View File

@ -135,7 +135,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-gpu:latest image: docker.io/kubeflowkatib/enas-cnn-cifar10-gpu:v0.13.0
command: command:
- python3 - python3
- -u - -u

View File

@ -54,7 +54,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -54,7 +54,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -88,7 +88,7 @@ spec:
description: Number of training examples description: Number of training examples
steps: steps:
- name: model-training - name: model-training
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -59,7 +59,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -7,13 +7,13 @@ data:
metrics-collector-sidecar: |- metrics-collector-sidecar: |-
{ {
"StdOut": { "StdOut": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:latest" "image": "docker.io/kubeflowkatib/file-metrics-collector:v0.13.0"
}, },
"File": { "File": {
"image": "docker.io/kubeflowkatib/file-metrics-collector:latest" "image": "docker.io/kubeflowkatib/file-metrics-collector:v0.13.0"
}, },
"TensorFlowEvent": { "TensorFlowEvent": {
"image": "docker.io/kubeflowkatib/tfevent-metrics-collector:latest", "image": "docker.io/kubeflowkatib/tfevent-metrics-collector:v0.13.0",
"resources": { "resources": {
"limits": { "limits": {
"memory": "1Gi" "memory": "1Gi"
@ -24,31 +24,31 @@ data:
suggestion: |- suggestion: |-
{ {
"random": { "random": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:latest" "image": "docker.io/kubeflowkatib/suggestion-hyperopt:v0.13.0"
}, },
"tpe": { "tpe": {
"image": "docker.io/kubeflowkatib/suggestion-hyperopt:latest" "image": "docker.io/kubeflowkatib/suggestion-hyperopt:v0.13.0"
}, },
"grid": { "grid": {
"image": "docker.io/kubeflowkatib/suggestion-chocolate:latest" "image": "docker.io/kubeflowkatib/suggestion-chocolate:v0.13.0"
}, },
"hyperband": { "hyperband": {
"image": "docker.io/kubeflowkatib/suggestion-hyperband:latest" "image": "docker.io/kubeflowkatib/suggestion-hyperband:v0.13.0"
}, },
"bayesianoptimization": { "bayesianoptimization": {
"image": "docker.io/kubeflowkatib/suggestion-skopt:latest" "image": "docker.io/kubeflowkatib/suggestion-skopt:v0.13.0"
}, },
"cmaes": { "cmaes": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:latest" "image": "docker.io/kubeflowkatib/suggestion-goptuna:v0.13.0"
}, },
"sobol": { "sobol": {
"image": "docker.io/kubeflowkatib/suggestion-goptuna:latest" "image": "docker.io/kubeflowkatib/suggestion-goptuna:v0.13.0"
}, },
"multivariate-tpe": { "multivariate-tpe": {
"image": "docker.io/kubeflowkatib/suggestion-optuna:latest" "image": "docker.io/kubeflowkatib/suggestion-optuna:v0.13.0"
}, },
"enas": { "enas": {
"image": "docker.io/kubeflowkatib/suggestion-enas:latest", "image": "docker.io/kubeflowkatib/suggestion-enas:v0.13.0",
"resources": { "resources": {
"limits": { "limits": {
"memory": "200Mi" "memory": "200Mi"
@ -56,12 +56,12 @@ data:
} }
}, },
"darts": { "darts": {
"image": "docker.io/kubeflowkatib/suggestion-darts:latest" "image": "docker.io/kubeflowkatib/suggestion-darts:v0.13.0"
} }
} }
early-stopping: |- early-stopping: |-
{ {
"medianstop": { "medianstop": {
"image": "docker.io/kubeflowkatib/earlystopping-medianstop:latest" "image": "docker.io/kubeflowkatib/earlystopping-medianstop:v0.13.0"
} }
} }

View File

@ -14,7 +14,7 @@ data:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"
@ -32,7 +32,7 @@ data:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:latest image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.13.0
command: command:
- python3 - python3
- -u - -u
@ -53,7 +53,7 @@ data:
spec: spec:
containers: containers:
- name: pytorch - name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:latest image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
imagePullPolicy: Always imagePullPolicy: Always
command: command:
- "python3" - "python3"
@ -68,7 +68,7 @@ data:
spec: spec:
containers: containers:
- name: pytorch - name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:latest image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
imagePullPolicy: Always imagePullPolicy: Always
command: command:
- "python3" - "python3"

View File

@ -21,13 +21,13 @@ resources:
images: images:
- name: docker.io/kubeflowkatib/katib-controller - name: docker.io/kubeflowkatib/katib-controller
newName: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-db-manager - name: docker.io/kubeflowkatib/katib-db-manager
newName: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-ui - name: docker.io/kubeflowkatib/katib-ui
newName: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui
newTag: latest newTag: v0.13.0
patchesStrategicMerge: patchesStrategicMerge:
- patches/katib-cert-injection.yaml - patches/katib-cert-injection.yaml

View File

@ -19,16 +19,16 @@ resources:
images: images:
- name: docker.io/kubeflowkatib/katib-controller - name: docker.io/kubeflowkatib/katib-controller
newName: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-db-manager - name: docker.io/kubeflowkatib/katib-db-manager
newName: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-ui - name: docker.io/kubeflowkatib/katib-ui
newName: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/cert-generator - name: docker.io/kubeflowkatib/cert-generator
newName: docker.io/kubeflowkatib/cert-generator newName: docker.io/kubeflowkatib/cert-generator
newTag: latest newTag: v0.13.0
patchesStrategicMerge: patchesStrategicMerge:
- patches/db-manager.yaml - patches/db-manager.yaml
# Modify katib-mysql-secrets with parameters for the DB. # Modify katib-mysql-secrets with parameters for the DB.

View File

@ -30,13 +30,13 @@ resources:
images: images:
- name: docker.io/kubeflowkatib/katib-controller - name: docker.io/kubeflowkatib/katib-controller
newName: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-db-manager - name: docker.io/kubeflowkatib/katib-db-manager
newName: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-ui - name: docker.io/kubeflowkatib/katib-ui
newName: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui
newTag: latest newTag: v0.13.0
patchesJson6902: patchesJson6902:
# Annotate Service to delegate TLS-secret generation to OpenShift service controller # Annotate Service to delegate TLS-secret generation to OpenShift service controller

View File

@ -21,13 +21,13 @@ resources:
images: images:
- name: docker.io/kubeflowkatib/katib-controller - name: docker.io/kubeflowkatib/katib-controller
newName: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-db-manager - name: docker.io/kubeflowkatib/katib-db-manager
newName: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-ui - name: docker.io/kubeflowkatib/katib-ui
newName: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/cert-generator - name: docker.io/kubeflowkatib/cert-generator
newName: docker.io/kubeflowkatib/cert-generator newName: docker.io/kubeflowkatib/cert-generator
newTag: latest newTag: v0.13.0

View File

@ -9,13 +9,13 @@ resources:
images: images:
- name: docker.io/kubeflowkatib/katib-controller - name: docker.io/kubeflowkatib/katib-controller
newName: docker.io/kubeflowkatib/katib-controller newName: docker.io/kubeflowkatib/katib-controller
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-db-manager - name: docker.io/kubeflowkatib/katib-db-manager
newName: docker.io/kubeflowkatib/katib-db-manager newName: docker.io/kubeflowkatib/katib-db-manager
newTag: latest newTag: v0.13.0
- name: docker.io/kubeflowkatib/katib-ui - name: docker.io/kubeflowkatib/katib-ui
newName: docker.io/kubeflowkatib/katib-ui newName: docker.io/kubeflowkatib/katib-ui
newTag: latest newTag: v0.13.0
patchesStrategicMerge: patchesStrategicMerge:
- patches/remove-namespace.yaml - patches/remove-namespace.yaml

View File

@ -5,7 +5,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -5,7 +5,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:latest image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.13.0
command: command:
- python3 - python3
- -u - -u

View File

@ -9,7 +9,7 @@ spec:
spec: spec:
containers: containers:
- name: pytorch - name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:latest image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
imagePullPolicy: Always imagePullPolicy: Always
command: command:
- "python3" - "python3"
@ -24,7 +24,7 @@ spec:
spec: spec:
containers: containers:
- name: pytorch - name: pytorch
image: docker.io/kubeflowkatib/pytorch-mnist:latest image: docker.io/kubeflowkatib/pytorch-mnist:v0.13.0
imagePullPolicy: Always imagePullPolicy: Always
command: command:
- "python3" - "python3"

View File

@ -38,7 +38,7 @@ const (
var ( var (
// DefaultKubeflowJobPrimaryPodLabels is the default value of spec.trialTemplate.primaryPodLabels for Kubeflow Training Job. // DefaultKubeflowJobPrimaryPodLabels is the default value of spec.trialTemplate.primaryPodLabels for Kubeflow Training Job.
DefaultKubeflowJobPrimaryPodLabels = map[string]string{"job-role": "master"} DefaultKubeflowJobPrimaryPodLabels = map[string]string{"training.kubeflow.org/job-role": "master"}
// KubeflowJobKinds is the list of Kubeflow Training Job kinds. // KubeflowJobKinds is the list of Kubeflow Training Job kinds.
KubeflowJobKinds = map[string]bool{ KubeflowJobKinds = map[string]bool{
@ -46,5 +46,6 @@ var (
"PyTorchJob": true, "PyTorchJob": true,
"XGBoostJob": true, "XGBoostJob": true,
"MXJob": true, "MXJob": true,
"MPIJob": true,
} }
) )

View File

@ -1,5 +1,5 @@
FROM pseudomuto/protoc-gen-doc FROM pseudomuto/protoc-gen-doc
RUN apt-get -q -y update && apt-get -q -y install curl && \ RUN apk add --no-cache curl && \
mkdir -p /protobuf/google/protobuf && \ mkdir -p /protobuf/google/protobuf && \
for f in any duration descriptor empty struct timestamp wrappers; do \ for f in any duration descriptor empty struct timestamp wrappers; do \
curl -L -o /protobuf/google/protobuf/${f}.proto https://raw.githubusercontent.com/google/protobuf/master/src/google/protobuf/${f}.proto; \ curl -L -o /protobuf/google/protobuf/${f}.proto https://raw.githubusercontent.com/google/protobuf/master/src/google/protobuf/${f}.proto; \
@ -12,6 +12,4 @@ RUN apt-get -q -y update && apt-get -q -y install curl && \
curl -L -o /protobuf/github.com/gogo/protobuf/gogoproto/gogo.proto https://raw.githubusercontent.com/gogo/protobuf/master/gogoproto/gogo.proto && \ curl -L -o /protobuf/github.com/gogo/protobuf/gogoproto/gogo.proto https://raw.githubusercontent.com/gogo/protobuf/master/gogoproto/gogo.proto && \
mkdir -p /protobuf/github.com/mwitkow/go-proto-validators && \ mkdir -p /protobuf/github.com/mwitkow/go-proto-validators && \
curl -L -o /protobuf/github.com/mwitkow/go-proto-validators/validator.proto https://raw.githubusercontent.com/mwitkow/go-proto-validators/master/validator.proto && \ curl -L -o /protobuf/github.com/mwitkow/go-proto-validators/validator.proto https://raw.githubusercontent.com/mwitkow/go-proto-validators/master/validator.proto && \
apt-get remove --purge -y curl && \ apk del --purge curl
apt-get -y autoremove && \
rm -rf /var/lib/apt/lists/*

View File

@ -3,71 +3,71 @@
## Table of Contents ## Table of Contents
- [api.proto](#api.proto) - [api.proto](#api-proto)
- [AlgorithmSetting](#api.v1.beta1.AlgorithmSetting) - [AlgorithmSetting](#api-v1-beta1-AlgorithmSetting)
- [AlgorithmSpec](#api.v1.beta1.AlgorithmSpec) - [AlgorithmSpec](#api-v1-beta1-AlgorithmSpec)
- [DeleteObservationLogReply](#api.v1.beta1.DeleteObservationLogReply) - [DeleteObservationLogReply](#api-v1-beta1-DeleteObservationLogReply)
- [DeleteObservationLogRequest](#api.v1.beta1.DeleteObservationLogRequest) - [DeleteObservationLogRequest](#api-v1-beta1-DeleteObservationLogRequest)
- [EarlyStoppingRule](#api.v1.beta1.EarlyStoppingRule) - [EarlyStoppingRule](#api-v1-beta1-EarlyStoppingRule)
- [EarlyStoppingSetting](#api.v1.beta1.EarlyStoppingSetting) - [EarlyStoppingSetting](#api-v1-beta1-EarlyStoppingSetting)
- [EarlyStoppingSpec](#api.v1.beta1.EarlyStoppingSpec) - [EarlyStoppingSpec](#api-v1-beta1-EarlyStoppingSpec)
- [Experiment](#api.v1.beta1.Experiment) - [Experiment](#api-v1-beta1-Experiment)
- [ExperimentSpec](#api.v1.beta1.ExperimentSpec) - [ExperimentSpec](#api-v1-beta1-ExperimentSpec)
- [ExperimentSpec.ParameterSpecs](#api.v1.beta1.ExperimentSpec.ParameterSpecs) - [ExperimentSpec.ParameterSpecs](#api-v1-beta1-ExperimentSpec-ParameterSpecs)
- [FeasibleSpace](#api.v1.beta1.FeasibleSpace) - [FeasibleSpace](#api-v1-beta1-FeasibleSpace)
- [GetEarlyStoppingRulesReply](#api.v1.beta1.GetEarlyStoppingRulesReply) - [GetEarlyStoppingRulesReply](#api-v1-beta1-GetEarlyStoppingRulesReply)
- [GetEarlyStoppingRulesRequest](#api.v1.beta1.GetEarlyStoppingRulesRequest) - [GetEarlyStoppingRulesRequest](#api-v1-beta1-GetEarlyStoppingRulesRequest)
- [GetObservationLogReply](#api.v1.beta1.GetObservationLogReply) - [GetObservationLogReply](#api-v1-beta1-GetObservationLogReply)
- [GetObservationLogRequest](#api.v1.beta1.GetObservationLogRequest) - [GetObservationLogRequest](#api-v1-beta1-GetObservationLogRequest)
- [GetSuggestionsReply](#api.v1.beta1.GetSuggestionsReply) - [GetSuggestionsReply](#api-v1-beta1-GetSuggestionsReply)
- [GetSuggestionsReply.ParameterAssignments](#api.v1.beta1.GetSuggestionsReply.ParameterAssignments) - [GetSuggestionsReply.ParameterAssignments](#api-v1-beta1-GetSuggestionsReply-ParameterAssignments)
- [GetSuggestionsRequest](#api.v1.beta1.GetSuggestionsRequest) - [GetSuggestionsRequest](#api-v1-beta1-GetSuggestionsRequest)
- [GraphConfig](#api.v1.beta1.GraphConfig) - [GraphConfig](#api-v1-beta1-GraphConfig)
- [Metric](#api.v1.beta1.Metric) - [Metric](#api-v1-beta1-Metric)
- [MetricLog](#api.v1.beta1.MetricLog) - [MetricLog](#api-v1-beta1-MetricLog)
- [NasConfig](#api.v1.beta1.NasConfig) - [NasConfig](#api-v1-beta1-NasConfig)
- [NasConfig.Operations](#api.v1.beta1.NasConfig.Operations) - [NasConfig.Operations](#api-v1-beta1-NasConfig-Operations)
- [ObjectiveSpec](#api.v1.beta1.ObjectiveSpec) - [ObjectiveSpec](#api-v1-beta1-ObjectiveSpec)
- [Observation](#api.v1.beta1.Observation) - [Observation](#api-v1-beta1-Observation)
- [ObservationLog](#api.v1.beta1.ObservationLog) - [ObservationLog](#api-v1-beta1-ObservationLog)
- [Operation](#api.v1.beta1.Operation) - [Operation](#api-v1-beta1-Operation)
- [Operation.ParameterSpecs](#api.v1.beta1.Operation.ParameterSpecs) - [Operation.ParameterSpecs](#api-v1-beta1-Operation-ParameterSpecs)
- [ParameterAssignment](#api.v1.beta1.ParameterAssignment) - [ParameterAssignment](#api-v1-beta1-ParameterAssignment)
- [ParameterSpec](#api.v1.beta1.ParameterSpec) - [ParameterSpec](#api-v1-beta1-ParameterSpec)
- [ReportObservationLogReply](#api.v1.beta1.ReportObservationLogReply) - [ReportObservationLogReply](#api-v1-beta1-ReportObservationLogReply)
- [ReportObservationLogRequest](#api.v1.beta1.ReportObservationLogRequest) - [ReportObservationLogRequest](#api-v1-beta1-ReportObservationLogRequest)
- [SetTrialStatusReply](#api.v1.beta1.SetTrialStatusReply) - [SetTrialStatusReply](#api-v1-beta1-SetTrialStatusReply)
- [SetTrialStatusRequest](#api.v1.beta1.SetTrialStatusRequest) - [SetTrialStatusRequest](#api-v1-beta1-SetTrialStatusRequest)
- [Trial](#api.v1.beta1.Trial) - [Trial](#api-v1-beta1-Trial)
- [TrialSpec](#api.v1.beta1.TrialSpec) - [TrialSpec](#api-v1-beta1-TrialSpec)
- [TrialSpec.ParameterAssignments](#api.v1.beta1.TrialSpec.ParameterAssignments) - [TrialSpec.ParameterAssignments](#api-v1-beta1-TrialSpec-ParameterAssignments)
- [TrialStatus](#api.v1.beta1.TrialStatus) - [TrialStatus](#api-v1-beta1-TrialStatus)
- [ValidateAlgorithmSettingsReply](#api.v1.beta1.ValidateAlgorithmSettingsReply) - [ValidateAlgorithmSettingsReply](#api-v1-beta1-ValidateAlgorithmSettingsReply)
- [ValidateAlgorithmSettingsRequest](#api.v1.beta1.ValidateAlgorithmSettingsRequest) - [ValidateAlgorithmSettingsRequest](#api-v1-beta1-ValidateAlgorithmSettingsRequest)
- [ValidateEarlyStoppingSettingsReply](#api.v1.beta1.ValidateEarlyStoppingSettingsReply) - [ValidateEarlyStoppingSettingsReply](#api-v1-beta1-ValidateEarlyStoppingSettingsReply)
- [ValidateEarlyStoppingSettingsRequest](#api.v1.beta1.ValidateEarlyStoppingSettingsRequest) - [ValidateEarlyStoppingSettingsRequest](#api-v1-beta1-ValidateEarlyStoppingSettingsRequest)
- [ComparisonType](#api.v1.beta1.ComparisonType) - [ComparisonType](#api-v1-beta1-ComparisonType)
- [ObjectiveType](#api.v1.beta1.ObjectiveType) - [ObjectiveType](#api-v1-beta1-ObjectiveType)
- [ParameterType](#api.v1.beta1.ParameterType) - [ParameterType](#api-v1-beta1-ParameterType)
- [TrialStatus.TrialConditionType](#api.v1.beta1.TrialStatus.TrialConditionType) - [TrialStatus.TrialConditionType](#api-v1-beta1-TrialStatus-TrialConditionType)
- [DBManager](#api.v1.beta1.DBManager) - [DBManager](#api-v1-beta1-DBManager)
- [EarlyStopping](#api.v1.beta1.EarlyStopping) - [EarlyStopping](#api-v1-beta1-EarlyStopping)
- [Suggestion](#api.v1.beta1.Suggestion) - [Suggestion](#api-v1-beta1-Suggestion)
- [Scalar Value Types](#scalar-value-types) - [Scalar Value Types](#scalar-value-types)
<a name="api.proto"></a> <a name="api-proto"></a>
<p align="right"><a href="#top">Top</a></p> <p align="right"><a href="#top">Top</a></p>
## api.proto ## api.proto
Katib GRPC API v1beta1 Katib GRPC API v1beta1
<a name="api.v1.beta1.AlgorithmSetting"></a> <a name="api-v1-beta1-AlgorithmSetting"></a>
### AlgorithmSetting ### AlgorithmSetting
HP or NAS algorithm settings. HP or NAS algorithm settings.
@ -83,7 +83,7 @@ HP or NAS algorithm settings.
<a name="api.v1.beta1.AlgorithmSpec"></a> <a name="api-v1-beta1-AlgorithmSpec"></a>
### AlgorithmSpec ### AlgorithmSpec
HP or NAS algorithm specification. HP or NAS algorithm specification.
@ -92,14 +92,14 @@ HP or NAS algorithm specification.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| algorithm_name | [string](#string) | | | | algorithm_name | [string](#string) | | |
| algorithm_settings | [AlgorithmSetting](#api.v1.beta1.AlgorithmSetting) | repeated | | | algorithm_settings | [AlgorithmSetting](#api-v1-beta1-AlgorithmSetting) | repeated | |
<a name="api.v1.beta1.DeleteObservationLogReply"></a> <a name="api-v1-beta1-DeleteObservationLogReply"></a>
### DeleteObservationLogReply ### DeleteObservationLogReply
@ -109,7 +109,7 @@ HP or NAS algorithm specification.
<a name="api.v1.beta1.DeleteObservationLogRequest"></a> <a name="api-v1-beta1-DeleteObservationLogRequest"></a>
### DeleteObservationLogRequest ### DeleteObservationLogRequest
@ -124,7 +124,7 @@ HP or NAS algorithm specification.
<a name="api.v1.beta1.EarlyStoppingRule"></a> <a name="api-v1-beta1-EarlyStoppingRule"></a>
### EarlyStoppingRule ### EarlyStoppingRule
EarlyStoppingRule represents single early stopping rule. EarlyStoppingRule represents single early stopping rule.
@ -134,7 +134,7 @@ EarlyStoppingRule represents single early stopping rule.
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| name | [string](#string) | | Name of the rule. Usually, metric name. | | name | [string](#string) | | Name of the rule. Usually, metric name. |
| value | [string](#string) | | Value of the metric. | | value | [string](#string) | | Value of the metric. |
| comparison | [ComparisonType](#api.v1.beta1.ComparisonType) | | Correlation between name and value, one of equal, less or greater | | comparison | [ComparisonType](#api-v1-beta1-ComparisonType) | | Correlation between name and value, one of equal, less or greater |
| start_step | [int32](#int32) | | Defines quantity of intermediate results that should be received before applying the rule. If start step is empty, rule is applied from the first recorded metric. | | start_step | [int32](#int32) | | Defines quantity of intermediate results that should be received before applying the rule. If start step is empty, rule is applied from the first recorded metric. |
@ -142,7 +142,7 @@ EarlyStoppingRule represents single early stopping rule.
<a name="api.v1.beta1.EarlyStoppingSetting"></a> <a name="api-v1-beta1-EarlyStoppingSetting"></a>
### EarlyStoppingSetting ### EarlyStoppingSetting
Early stopping algorithm settings. Early stopping algorithm settings.
@ -158,7 +158,7 @@ Early stopping algorithm settings.
<a name="api.v1.beta1.EarlyStoppingSpec"></a> <a name="api-v1-beta1-EarlyStoppingSpec"></a>
### EarlyStoppingSpec ### EarlyStoppingSpec
Early stopping algorithm specification. Early stopping algorithm specification.
@ -167,14 +167,14 @@ Early stopping algorithm specification.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| algorithm_name | [string](#string) | | | | algorithm_name | [string](#string) | | |
| algorithm_settings | [EarlyStoppingSetting](#api.v1.beta1.EarlyStoppingSetting) | repeated | | | algorithm_settings | [EarlyStoppingSetting](#api-v1-beta1-EarlyStoppingSetting) | repeated | |
<a name="api.v1.beta1.Experiment"></a> <a name="api-v1-beta1-Experiment"></a>
### Experiment ### Experiment
Structure for a single Experiment. Structure for a single Experiment.
@ -183,14 +183,14 @@ Structure for a single Experiment.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| name | [string](#string) | | Name for the Experiment. | | name | [string](#string) | | Name for the Experiment. |
| spec | [ExperimentSpec](#api.v1.beta1.ExperimentSpec) | | Experiment specification. | | spec | [ExperimentSpec](#api-v1-beta1-ExperimentSpec) | | Experiment specification. |
<a name="api.v1.beta1.ExperimentSpec"></a> <a name="api-v1-beta1-ExperimentSpec"></a>
### ExperimentSpec ### ExperimentSpec
Specification of an Experiment. Experiment represents a single optimization run over a feasible space. Specification of an Experiment. Experiment represents a single optimization run over a feasible space.
@ -200,20 +200,20 @@ It is assumed that objective function f(x) does not change in the course of an E
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| parameter_specs | [ExperimentSpec.ParameterSpecs](#api.v1.beta1.ExperimentSpec.ParameterSpecs) | | | | parameter_specs | [ExperimentSpec.ParameterSpecs](#api-v1-beta1-ExperimentSpec-ParameterSpecs) | | |
| objective | [ObjectiveSpec](#api.v1.beta1.ObjectiveSpec) | | Objective specification for the Experiment. | | objective | [ObjectiveSpec](#api-v1-beta1-ObjectiveSpec) | | Objective specification for the Experiment. |
| algorithm | [AlgorithmSpec](#api.v1.beta1.AlgorithmSpec) | | HP or NAS algorithm specification for the Experiment. | | algorithm | [AlgorithmSpec](#api-v1-beta1-AlgorithmSpec) | | HP or NAS algorithm specification for the Experiment. |
| early_stopping | [EarlyStoppingSpec](#api.v1.beta1.EarlyStoppingSpec) | | Early stopping specification for the Experiment. | | early_stopping | [EarlyStoppingSpec](#api-v1-beta1-EarlyStoppingSpec) | | Early stopping specification for the Experiment. |
| parallel_trial_count | [int32](#int32) | | How many Trials can be processed in parallel. | | parallel_trial_count | [int32](#int32) | | How many Trials can be processed in parallel. |
| max_trial_count | [int32](#int32) | | Max completed Trials to mark Experiment as succeeded. | | max_trial_count | [int32](#int32) | | Max completed Trials to mark Experiment as succeeded. |
| nas_config | [NasConfig](#api.v1.beta1.NasConfig) | | NAS configuration for the Experiment. | | nas_config | [NasConfig](#api-v1-beta1-NasConfig) | | NAS configuration for the Experiment. |
<a name="api.v1.beta1.ExperimentSpec.ParameterSpecs"></a> <a name="api-v1-beta1-ExperimentSpec-ParameterSpecs"></a>
### ExperimentSpec.ParameterSpecs ### ExperimentSpec.ParameterSpecs
List of ParameterSpec. List of ParameterSpec.
@ -221,14 +221,14 @@ List of ParameterSpec.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| parameters | [ParameterSpec](#api.v1.beta1.ParameterSpec) | repeated | | | parameters | [ParameterSpec](#api-v1-beta1-ParameterSpec) | repeated | |
<a name="api.v1.beta1.FeasibleSpace"></a> <a name="api-v1-beta1-FeasibleSpace"></a>
### FeasibleSpace ### FeasibleSpace
Feasible space for optimization. Feasible space for optimization.
@ -248,7 +248,7 @@ Discrete and Categorical type use List.
<a name="api.v1.beta1.GetEarlyStoppingRulesReply"></a> <a name="api-v1-beta1-GetEarlyStoppingRulesReply"></a>
### GetEarlyStoppingRulesReply ### GetEarlyStoppingRulesReply
@ -256,14 +256,14 @@ Discrete and Categorical type use List.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| early_stopping_rules | [EarlyStoppingRule](#api.v1.beta1.EarlyStoppingRule) | repeated | | | early_stopping_rules | [EarlyStoppingRule](#api-v1-beta1-EarlyStoppingRule) | repeated | |
<a name="api.v1.beta1.GetEarlyStoppingRulesRequest"></a> <a name="api-v1-beta1-GetEarlyStoppingRulesRequest"></a>
### GetEarlyStoppingRulesRequest ### GetEarlyStoppingRulesRequest
@ -271,8 +271,8 @@ Discrete and Categorical type use List.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| experiment | [Experiment](#api.v1.beta1.Experiment) | | | | experiment | [Experiment](#api-v1-beta1-Experiment) | | |
| trials | [Trial](#api.v1.beta1.Trial) | repeated | | | trials | [Trial](#api-v1-beta1-Trial) | repeated | |
| db_manager_address | [string](#string) | | | | db_manager_address | [string](#string) | | |
@ -280,7 +280,7 @@ Discrete and Categorical type use List.
<a name="api.v1.beta1.GetObservationLogReply"></a> <a name="api-v1-beta1-GetObservationLogReply"></a>
### GetObservationLogReply ### GetObservationLogReply
@ -288,14 +288,14 @@ Discrete and Categorical type use List.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| observation_log | [ObservationLog](#api.v1.beta1.ObservationLog) | | | | observation_log | [ObservationLog](#api-v1-beta1-ObservationLog) | | |
<a name="api.v1.beta1.GetObservationLogRequest"></a> <a name="api-v1-beta1-GetObservationLogRequest"></a>
### GetObservationLogRequest ### GetObservationLogRequest
@ -313,7 +313,7 @@ Discrete and Categorical type use List.
<a name="api.v1.beta1.GetSuggestionsReply"></a> <a name="api-v1-beta1-GetSuggestionsReply"></a>
### GetSuggestionsReply ### GetSuggestionsReply
@ -321,16 +321,16 @@ Discrete and Categorical type use List.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| parameter_assignments | [GetSuggestionsReply.ParameterAssignments](#api.v1.beta1.GetSuggestionsReply.ParameterAssignments) | repeated | | | parameter_assignments | [GetSuggestionsReply.ParameterAssignments](#api-v1-beta1-GetSuggestionsReply-ParameterAssignments) | repeated | |
| algorithm | [AlgorithmSpec](#api.v1.beta1.AlgorithmSpec) | | | | algorithm | [AlgorithmSpec](#api-v1-beta1-AlgorithmSpec) | | |
| early_stopping_rules | [EarlyStoppingRule](#api.v1.beta1.EarlyStoppingRule) | repeated | | | early_stopping_rules | [EarlyStoppingRule](#api-v1-beta1-EarlyStoppingRule) | repeated | |
<a name="api.v1.beta1.GetSuggestionsReply.ParameterAssignments"></a> <a name="api-v1-beta1-GetSuggestionsReply-ParameterAssignments"></a>
### GetSuggestionsReply.ParameterAssignments ### GetSuggestionsReply.ParameterAssignments
@ -338,14 +338,14 @@ Discrete and Categorical type use List.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| assignments | [ParameterAssignment](#api.v1.beta1.ParameterAssignment) | repeated | | | assignments | [ParameterAssignment](#api-v1-beta1-ParameterAssignment) | repeated | |
<a name="api.v1.beta1.GetSuggestionsRequest"></a> <a name="api-v1-beta1-GetSuggestionsRequest"></a>
### GetSuggestionsRequest ### GetSuggestionsRequest
@ -353,8 +353,8 @@ Discrete and Categorical type use List.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| experiment | [Experiment](#api.v1.beta1.Experiment) | | | | experiment | [Experiment](#api-v1-beta1-Experiment) | | |
| trials | [Trial](#api.v1.beta1.Trial) | repeated | All completed trials owned by the experiment. | | trials | [Trial](#api-v1-beta1-Trial) | repeated | All completed trials owned by the experiment. |
| request_number | [int32](#int32) | | **Deprecated.** Use current_request_number instead. This API will be removed in Katib 0.14. The number of Suggestions requested at one time. | | request_number | [int32](#int32) | | **Deprecated.** Use current_request_number instead. This API will be removed in Katib 0.14. The number of Suggestions requested at one time. |
| current_request_number | [int32](#int32) | | The number of Suggestions requested at one time. When you set 3 to current_request_number, you get three Suggestions at one time. | | current_request_number | [int32](#int32) | | The number of Suggestions requested at one time. When you set 3 to current_request_number, you get three Suggestions at one time. |
| total_request_number | [int32](#int32) | | The number of Suggestions requested till now. | | total_request_number | [int32](#int32) | | The number of Suggestions requested till now. |
@ -364,7 +364,7 @@ Discrete and Categorical type use List.
<a name="api.v1.beta1.GraphConfig"></a> <a name="api-v1-beta1-GraphConfig"></a>
### GraphConfig ### GraphConfig
GraphConfig contains a config of DAG GraphConfig contains a config of DAG
@ -381,7 +381,7 @@ GraphConfig contains a config of DAG
<a name="api.v1.beta1.Metric"></a> <a name="api-v1-beta1-Metric"></a>
### Metric ### Metric
@ -397,7 +397,7 @@ GraphConfig contains a config of DAG
<a name="api.v1.beta1.MetricLog"></a> <a name="api-v1-beta1-MetricLog"></a>
### MetricLog ### MetricLog
@ -406,14 +406,14 @@ GraphConfig contains a config of DAG
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| time_stamp | [string](#string) | | RFC3339 format | | time_stamp | [string](#string) | | RFC3339 format |
| metric | [Metric](#api.v1.beta1.Metric) | | | | metric | [Metric](#api-v1-beta1-Metric) | | |
<a name="api.v1.beta1.NasConfig"></a> <a name="api-v1-beta1-NasConfig"></a>
### NasConfig ### NasConfig
NasConfig contains a config of NAS job NasConfig contains a config of NAS job
@ -421,15 +421,15 @@ NasConfig contains a config of NAS job
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| graph_config | [GraphConfig](#api.v1.beta1.GraphConfig) | | Config of DAG | | graph_config | [GraphConfig](#api-v1-beta1-GraphConfig) | | Config of DAG |
| operations | [NasConfig.Operations](#api.v1.beta1.NasConfig.Operations) | | List of Operation | | operations | [NasConfig.Operations](#api-v1-beta1-NasConfig-Operations) | | List of Operation |
<a name="api.v1.beta1.NasConfig.Operations"></a> <a name="api-v1-beta1-NasConfig-Operations"></a>
### NasConfig.Operations ### NasConfig.Operations
@ -437,14 +437,14 @@ NasConfig contains a config of NAS job
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| operation | [Operation](#api.v1.beta1.Operation) | repeated | | | operation | [Operation](#api-v1-beta1-Operation) | repeated | |
<a name="api.v1.beta1.ObjectiveSpec"></a> <a name="api-v1-beta1-ObjectiveSpec"></a>
### ObjectiveSpec ### ObjectiveSpec
Objective specification. Objective specification.
@ -452,7 +452,7 @@ Objective specification.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| type | [ObjectiveType](#api.v1.beta1.ObjectiveType) | | Type of optimization. | | type | [ObjectiveType](#api-v1-beta1-ObjectiveType) | | Type of optimization. |
| goal | [double](#double) | | Goal of optimization, can be empty. | | goal | [double](#double) | | Goal of optimization, can be empty. |
| objective_metric_name | [string](#string) | | Primary metric name for the optimization. | | objective_metric_name | [string](#string) | | Primary metric name for the optimization. |
| additional_metric_names | [string](#string) | repeated | List of additional metrics to record from Trial. This can be empty if we only care about the objective metric. | | additional_metric_names | [string](#string) | repeated | List of additional metrics to record from Trial. This can be empty if we only care about the objective metric. |
@ -462,7 +462,7 @@ Objective specification.
<a name="api.v1.beta1.Observation"></a> <a name="api-v1-beta1-Observation"></a>
### Observation ### Observation
@ -470,14 +470,14 @@ Objective specification.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| metrics | [Metric](#api.v1.beta1.Metric) | repeated | | | metrics | [Metric](#api-v1-beta1-Metric) | repeated | |
<a name="api.v1.beta1.ObservationLog"></a> <a name="api-v1-beta1-ObservationLog"></a>
### ObservationLog ### ObservationLog
@ -485,14 +485,14 @@ Objective specification.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| metric_logs | [MetricLog](#api.v1.beta1.MetricLog) | repeated | | | metric_logs | [MetricLog](#api-v1-beta1-MetricLog) | repeated | |
<a name="api.v1.beta1.Operation"></a> <a name="api-v1-beta1-Operation"></a>
### Operation ### Operation
Config for operations in DAG Config for operations in DAG
@ -501,14 +501,14 @@ Config for operations in DAG
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| operation_type | [string](#string) | | Type of operation in DAG | | operation_type | [string](#string) | | Type of operation in DAG |
| parameter_specs | [Operation.ParameterSpecs](#api.v1.beta1.Operation.ParameterSpecs) | | | | parameter_specs | [Operation.ParameterSpecs](#api-v1-beta1-Operation-ParameterSpecs) | | |
<a name="api.v1.beta1.Operation.ParameterSpecs"></a> <a name="api-v1-beta1-Operation-ParameterSpecs"></a>
### Operation.ParameterSpecs ### Operation.ParameterSpecs
List of ParameterSpec List of ParameterSpec
@ -516,14 +516,14 @@ List of ParameterSpec
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| parameters | [ParameterSpec](#api.v1.beta1.ParameterSpec) | repeated | | | parameters | [ParameterSpec](#api-v1-beta1-ParameterSpec) | repeated | |
<a name="api.v1.beta1.ParameterAssignment"></a> <a name="api-v1-beta1-ParameterAssignment"></a>
### ParameterAssignment ### ParameterAssignment
@ -539,7 +539,7 @@ List of ParameterSpec
<a name="api.v1.beta1.ParameterSpec"></a> <a name="api-v1-beta1-ParameterSpec"></a>
### ParameterSpec ### ParameterSpec
Config for a hyperparameter. Config for a hyperparameter.
@ -549,15 +549,15 @@ Katib will create each Hyper parameter from this config.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| name | [string](#string) | | Name of the parameter. | | name | [string](#string) | | Name of the parameter. |
| parameter_type | [ParameterType](#api.v1.beta1.ParameterType) | | Type of the parameter. | | parameter_type | [ParameterType](#api-v1-beta1-ParameterType) | | Type of the parameter. |
| feasible_space | [FeasibleSpace](#api.v1.beta1.FeasibleSpace) | | FeasibleSpace for the parameter. | | feasible_space | [FeasibleSpace](#api-v1-beta1-FeasibleSpace) | | FeasibleSpace for the parameter. |
<a name="api.v1.beta1.ReportObservationLogReply"></a> <a name="api-v1-beta1-ReportObservationLogReply"></a>
### ReportObservationLogReply ### ReportObservationLogReply
@ -567,7 +567,7 @@ Katib will create each Hyper parameter from this config.
<a name="api.v1.beta1.ReportObservationLogRequest"></a> <a name="api-v1-beta1-ReportObservationLogRequest"></a>
### ReportObservationLogRequest ### ReportObservationLogRequest
@ -576,14 +576,14 @@ Katib will create each Hyper parameter from this config.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| trial_name | [string](#string) | | | | trial_name | [string](#string) | | |
| observation_log | [ObservationLog](#api.v1.beta1.ObservationLog) | | | | observation_log | [ObservationLog](#api-v1-beta1-ObservationLog) | | |
<a name="api.v1.beta1.SetTrialStatusReply"></a> <a name="api-v1-beta1-SetTrialStatusReply"></a>
### SetTrialStatusReply ### SetTrialStatusReply
@ -593,7 +593,7 @@ Katib will create each Hyper parameter from this config.
<a name="api.v1.beta1.SetTrialStatusRequest"></a> <a name="api-v1-beta1-SetTrialStatusRequest"></a>
### SetTrialStatusRequest ### SetTrialStatusRequest
@ -608,7 +608,7 @@ Katib will create each Hyper parameter from this config.
<a name="api.v1.beta1.Trial"></a> <a name="api-v1-beta1-Trial"></a>
### Trial ### Trial
Structure for a single Trial. Structure for a single Trial.
@ -617,15 +617,15 @@ Structure for a single Trial.
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| name | [string](#string) | | Name for the Trial. | | name | [string](#string) | | Name for the Trial. |
| spec | [TrialSpec](#api.v1.beta1.TrialSpec) | | Trial specification. | | spec | [TrialSpec](#api-v1-beta1-TrialSpec) | | Trial specification. |
| status | [TrialStatus](#api.v1.beta1.TrialStatus) | | Trial status. | | status | [TrialStatus](#api-v1-beta1-TrialStatus) | | Trial status. |
<a name="api.v1.beta1.TrialSpec"></a> <a name="api-v1-beta1-TrialSpec"></a>
### TrialSpec ### TrialSpec
Specification of a Trial. It represents Trial&#39;s parameter assignments and objective. Specification of a Trial. It represents Trial&#39;s parameter assignments and objective.
@ -633,15 +633,15 @@ Specification of a Trial. It represents Trial&#39;s parameter assignments and ob
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| objective | [ObjectiveSpec](#api.v1.beta1.ObjectiveSpec) | | Objective specification for the Trial. | | objective | [ObjectiveSpec](#api-v1-beta1-ObjectiveSpec) | | Objective specification for the Trial. |
| parameter_assignments | [TrialSpec.ParameterAssignments](#api.v1.beta1.TrialSpec.ParameterAssignments) | | List of assignments generated for the Trial. | | parameter_assignments | [TrialSpec.ParameterAssignments](#api-v1-beta1-TrialSpec-ParameterAssignments) | | List of assignments generated for the Trial. |
<a name="api.v1.beta1.TrialSpec.ParameterAssignments"></a> <a name="api-v1-beta1-TrialSpec-ParameterAssignments"></a>
### TrialSpec.ParameterAssignments ### TrialSpec.ParameterAssignments
List of ParameterAssignment List of ParameterAssignment
@ -649,14 +649,14 @@ List of ParameterAssignment
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| assignments | [ParameterAssignment](#api.v1.beta1.ParameterAssignment) | repeated | | | assignments | [ParameterAssignment](#api-v1-beta1-ParameterAssignment) | repeated | |
<a name="api.v1.beta1.TrialStatus"></a> <a name="api-v1-beta1-TrialStatus"></a>
### TrialStatus ### TrialStatus
Current Trial status. It contains Trial&#39;s latest condition, start time, completion time, observation. Current Trial status. It contains Trial&#39;s latest condition, start time, completion time, observation.
@ -666,15 +666,15 @@ Current Trial status. It contains Trial&#39;s latest condition, start time, comp
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| start_time | [string](#string) | | Trial start time in RFC3339 format | | start_time | [string](#string) | | Trial start time in RFC3339 format |
| completion_time | [string](#string) | | Trial completion time in RFC3339 format | | completion_time | [string](#string) | | Trial completion time in RFC3339 format |
| condition | [TrialStatus.TrialConditionType](#api.v1.beta1.TrialStatus.TrialConditionType) | | Trial current condition. It is equal to the latest Trial CR condition. | | condition | [TrialStatus.TrialConditionType](#api-v1-beta1-TrialStatus-TrialConditionType) | | Trial current condition. It is equal to the latest Trial CR condition. |
| observation | [Observation](#api.v1.beta1.Observation) | | The best Trial observation in logs. | | observation | [Observation](#api-v1-beta1-Observation) | | The best Trial observation in logs. |
<a name="api.v1.beta1.ValidateAlgorithmSettingsReply"></a> <a name="api-v1-beta1-ValidateAlgorithmSettingsReply"></a>
### ValidateAlgorithmSettingsReply ### ValidateAlgorithmSettingsReply
Return INVALID_ARGUMENT Error if Algorithm Settings are not Valid Return INVALID_ARGUMENT Error if Algorithm Settings are not Valid
@ -684,7 +684,7 @@ Return INVALID_ARGUMENT Error if Algorithm Settings are not Valid
<a name="api.v1.beta1.ValidateAlgorithmSettingsRequest"></a> <a name="api-v1-beta1-ValidateAlgorithmSettingsRequest"></a>
### ValidateAlgorithmSettingsRequest ### ValidateAlgorithmSettingsRequest
@ -692,14 +692,14 @@ Return INVALID_ARGUMENT Error if Algorithm Settings are not Valid
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| experiment | [Experiment](#api.v1.beta1.Experiment) | | | | experiment | [Experiment](#api-v1-beta1-Experiment) | | |
<a name="api.v1.beta1.ValidateEarlyStoppingSettingsReply"></a> <a name="api-v1-beta1-ValidateEarlyStoppingSettingsReply"></a>
### ValidateEarlyStoppingSettingsReply ### ValidateEarlyStoppingSettingsReply
Return INVALID_ARGUMENT Error if Early Stopping Settings are not Valid Return INVALID_ARGUMENT Error if Early Stopping Settings are not Valid
@ -709,7 +709,7 @@ Return INVALID_ARGUMENT Error if Early Stopping Settings are not Valid
<a name="api.v1.beta1.ValidateEarlyStoppingSettingsRequest"></a> <a name="api-v1-beta1-ValidateEarlyStoppingSettingsRequest"></a>
### ValidateEarlyStoppingSettingsRequest ### ValidateEarlyStoppingSettingsRequest
@ -717,7 +717,7 @@ Return INVALID_ARGUMENT Error if Early Stopping Settings are not Valid
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| early_stopping | [EarlyStoppingSpec](#api.v1.beta1.EarlyStoppingSpec) | | | | early_stopping | [EarlyStoppingSpec](#api-v1-beta1-EarlyStoppingSpec) | | |
@ -726,7 +726,7 @@ Return INVALID_ARGUMENT Error if Early Stopping Settings are not Valid
<a name="api.v1.beta1.ComparisonType"></a> <a name="api-v1-beta1-ComparisonType"></a>
### ComparisonType ### ComparisonType
@ -740,7 +740,7 @@ Return INVALID_ARGUMENT Error if Early Stopping Settings are not Valid
<a name="api.v1.beta1.ObjectiveType"></a> <a name="api-v1-beta1-ObjectiveType"></a>
### ObjectiveType ### ObjectiveType
Direction of optimization. Minimize or Maximize. Direction of optimization. Minimize or Maximize.
@ -753,7 +753,7 @@ Direction of optimization. Minimize or Maximize.
<a name="api.v1.beta1.ParameterType"></a> <a name="api-v1-beta1-ParameterType"></a>
### ParameterType ### ParameterType
Types of value for HyperParameter. Types of value for HyperParameter.
@ -768,7 +768,7 @@ Types of value for HyperParameter.
<a name="api.v1.beta1.TrialStatus.TrialConditionType"></a> <a name="api-v1-beta1-TrialStatus-TrialConditionType"></a>
### TrialStatus.TrialConditionType ### TrialStatus.TrialConditionType
Trial can be in one of 6 conditions. Trial can be in one of 6 conditions.
@ -790,39 +790,39 @@ TODO (andreyvelich): Remove unused conditions.
<a name="api.v1.beta1.DBManager"></a> <a name="api-v1-beta1-DBManager"></a>
### DBManager ### DBManager
DBManager service defines APIs to manage Katib database. DBManager service defines APIs to manage Katib database.
| Method Name | Request Type | Response Type | Description | | Method Name | Request Type | Response Type | Description |
| ----------- | ------------ | ------------- | ------------| | ----------- | ------------ | ------------- | ------------|
| ReportObservationLog | [ReportObservationLogRequest](#api.v1.beta1.ReportObservationLogRequest) | [ReportObservationLogReply](#api.v1.beta1.ReportObservationLogReply) | Report a log of Observations for a Trial. The log consists of timestamp and value of metric. Katib store every log of metrics. You can see accuracy curve or other metric logs on UI. | | ReportObservationLog | [ReportObservationLogRequest](#api-v1-beta1-ReportObservationLogRequest) | [ReportObservationLogReply](#api-v1-beta1-ReportObservationLogReply) | Report a log of Observations for a Trial. The log consists of timestamp and value of metric. Katib store every log of metrics. You can see accuracy curve or other metric logs on UI. |
| GetObservationLog | [GetObservationLogRequest](#api.v1.beta1.GetObservationLogRequest) | [GetObservationLogReply](#api.v1.beta1.GetObservationLogReply) | Get all log of Observations for a Trial. | | GetObservationLog | [GetObservationLogRequest](#api-v1-beta1-GetObservationLogRequest) | [GetObservationLogReply](#api-v1-beta1-GetObservationLogReply) | Get all log of Observations for a Trial. |
| DeleteObservationLog | [DeleteObservationLogRequest](#api.v1.beta1.DeleteObservationLogRequest) | [DeleteObservationLogReply](#api.v1.beta1.DeleteObservationLogReply) | Delete all log of Observations for a Trial. | | DeleteObservationLog | [DeleteObservationLogRequest](#api-v1-beta1-DeleteObservationLogRequest) | [DeleteObservationLogReply](#api-v1-beta1-DeleteObservationLogReply) | Delete all log of Observations for a Trial. |
<a name="api.v1.beta1.EarlyStopping"></a> <a name="api-v1-beta1-EarlyStopping"></a>
### EarlyStopping ### EarlyStopping
EarlyStopping service defines APIs to manage Katib Early Stopping algorithms EarlyStopping service defines APIs to manage Katib Early Stopping algorithms
| Method Name | Request Type | Response Type | Description | | Method Name | Request Type | Response Type | Description |
| ----------- | ------------ | ------------- | ------------| | ----------- | ------------ | ------------- | ------------|
| GetEarlyStoppingRules | [GetEarlyStoppingRulesRequest](#api.v1.beta1.GetEarlyStoppingRulesRequest) | [GetEarlyStoppingRulesReply](#api.v1.beta1.GetEarlyStoppingRulesReply) | | | GetEarlyStoppingRules | [GetEarlyStoppingRulesRequest](#api-v1-beta1-GetEarlyStoppingRulesRequest) | [GetEarlyStoppingRulesReply](#api-v1-beta1-GetEarlyStoppingRulesReply) | |
| SetTrialStatus | [SetTrialStatusRequest](#api.v1.beta1.SetTrialStatusRequest) | [SetTrialStatusReply](#api.v1.beta1.SetTrialStatusReply) | | | SetTrialStatus | [SetTrialStatusRequest](#api-v1-beta1-SetTrialStatusRequest) | [SetTrialStatusReply](#api-v1-beta1-SetTrialStatusReply) | |
| ValidateEarlyStoppingSettings | [ValidateEarlyStoppingSettingsRequest](#api.v1.beta1.ValidateEarlyStoppingSettingsRequest) | [ValidateEarlyStoppingSettingsReply](#api.v1.beta1.ValidateEarlyStoppingSettingsReply) | | | ValidateEarlyStoppingSettings | [ValidateEarlyStoppingSettingsRequest](#api-v1-beta1-ValidateEarlyStoppingSettingsRequest) | [ValidateEarlyStoppingSettingsReply](#api-v1-beta1-ValidateEarlyStoppingSettingsReply) | |
<a name="api.v1.beta1.Suggestion"></a> <a name="api-v1-beta1-Suggestion"></a>
### Suggestion ### Suggestion
Suggestion service defines APIs to manage Katib Suggestion from HP or NAS algorithms Suggestion service defines APIs to manage Katib Suggestion from HP or NAS algorithms
| Method Name | Request Type | Response Type | Description | | Method Name | Request Type | Response Type | Description |
| ----------- | ------------ | ------------- | ------------| | ----------- | ------------ | ------------- | ------------|
| GetSuggestions | [GetSuggestionsRequest](#api.v1.beta1.GetSuggestionsRequest) | [GetSuggestionsReply](#api.v1.beta1.GetSuggestionsReply) | | | GetSuggestions | [GetSuggestionsRequest](#api-v1-beta1-GetSuggestionsRequest) | [GetSuggestionsReply](#api-v1-beta1-GetSuggestionsReply) | |
| ValidateAlgorithmSettings | [ValidateAlgorithmSettingsRequest](#api.v1.beta1.ValidateAlgorithmSettingsRequest) | [ValidateAlgorithmSettingsReply](#api.v1.beta1.ValidateAlgorithmSettingsReply) | | | ValidateAlgorithmSettings | [ValidateAlgorithmSettingsRequest](#api-v1-beta1-ValidateAlgorithmSettingsRequest) | [ValidateAlgorithmSettingsReply](#api-v1-beta1-ValidateAlgorithmSettingsReply) | |

View File

@ -50,14 +50,14 @@ const initialState = {
value: 'status.conditions.#(type=="Complete")#|#(status=="True")#', value: 'status.conditions.#(type=="Complete")#|#(status=="True")#',
description: `Condition when Trial custom resource is succeeded. description: `Condition when Trial custom resource is succeeded.
Default value for k8s BatchJob: status.conditions.#(type=="Complete")#|#(status=="True")#. Default value for k8s BatchJob: status.conditions.#(type=="Complete")#|#(status=="True")#.
Default value for Kubeflow Job (TFJob, PyTorchJob, XGBoostJob, MXJob): status.conditions.#(type=="Succeeded")#|#(status=="True")#.`, Default value for Kubeflow Job (TFJob, PyTorchJob, XGBoostJob, MXJob, MPIJob): status.conditions.#(type=="Succeeded")#|#(status=="True")#.`,
}, },
{ {
name: 'FailureCondition', name: 'FailureCondition',
value: 'status.conditions.#(type=="Failed")#|#(status=="True")#', value: 'status.conditions.#(type=="Failed")#|#(status=="True")#',
description: `Condition when Trial custom resource is failed. description: `Condition when Trial custom resource is failed.
Default value for k8s BatchJob: status.conditions.#(type=="Failed")#|#(status=="True")#. Default value for k8s BatchJob: status.conditions.#(type=="Failed")#|#(status=="True")#.
Default value for Kubeflow Job (TFJob, PyTorchJob, XGBoostJob, MXJob): status.conditions.#(type=="Failed")#|#(status=="True")#.`, Default value for Kubeflow Job (TFJob, PyTorchJob, XGBoostJob, MXJob, MPIJob): status.conditions.#(type=="Failed")#|#(status=="True")#.`,
}, },
{ {
name: 'Retain', name: 'Retain',

View File

@ -19,7 +19,7 @@ with open('requirements.txt') as f:
setuptools.setup( setuptools.setup(
name='kubeflow-katib', name='kubeflow-katib',
version='0.12.0', version='0.13.0',
author="Kubeflow Authors", author="Kubeflow Authors",
author_email='premnath.vel@gmail.com', author_email='premnath.vel@gmail.com',
license="Apache License Version 2.0", license="Apache License Version 2.0",
@ -35,11 +35,12 @@ setuptools.setup(
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'Intended Audience :: Education', 'Intended Audience :: Education',
'Intended Audience :: Science/Research', 'Intended Audience :: Science/Research',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering',

View File

@ -163,7 +163,7 @@ class WorkflowBuilder(object):
}, },
{ {
"name": "EXTRA_REPOS", "name": "EXTRA_REPOS",
"value": "kubeflow/testing@HEAD;kubeflow/manifests@v1.4-branch" "value": "kubeflow/testing@HEAD;kubeflow/manifests@v1.5-branch"
}, },
# Set GOPATH to test_dir because Katib repo is located under /src/github.com/kubeflow/katib # Set GOPATH to test_dir because Katib repo is located under /src/github.com/kubeflow/katib
{ {

View File

@ -52,7 +52,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"

View File

@ -41,8 +41,8 @@ cat "manifests/v1beta1/components/controller/katib-config.yaml"
echo "Creating Kubeflow namespace" echo "Creating Kubeflow namespace"
kubectl create namespace kubeflow kubectl create namespace kubeflow
echo "Deploying training-operator from kubeflow/manifests v1.4 branch"
cd "${MANIFESTS_DIR}/apps/training-operator/upstream/overlays/kubeflow" cd "${MANIFESTS_DIR}/apps/training-operator/upstream/overlays/kubeflow"
echo "Deploying Training Operator from kubeflow/manifests $(git rev-parse --abbrev-ref HEAD)"
kustomize build . | kubectl apply -f - kustomize build . | kubectl apply -f -
echo "Deploying Katib" echo "Deploying Katib"

View File

@ -52,7 +52,7 @@ spec:
spec: spec:
containers: containers:
- name: training-container - name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:latest image: docker.io/kubeflowkatib/mxnet-mnist:v0.13.0
command: command:
- "python3" - "python3"
- "/opt/mxnet-mnist/mnist.py" - "/opt/mxnet-mnist/mnist.py"