74 Commits
Author SHA1 Message Date
55550f8df5 Adding out of the box support to TrainJob (#2560)
* Out-of-the-box support TrainJob

Signed-off-by: Ram Lau <[email protected]>

* Example for Pytorch Distributed

Signed-off-by: Ram Lau <[email protected]>

* Update examples/v1beta1/kubeflow-training-operator/trainjob-pytorch.yaml

Co-authored-by: Andrey Velichkevich <[email protected]>
Signed-off-by: Ram Lau <[email protected]>

* Create folder for Trainer as suggested

Signed-off-by: Ram Lau <[email protected]>

* Movethe exmaple of trainjob to the new folder

Signed-off-by: Ram Lau <[email protected]>

* Ref the primaryContainerName to that of ClusterTrainingRuntime

Signed-off-by: Ram Lau <[email protected]>

* tenzen-y steps down from Katib approver role (#2561)

Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Ram Lau <[email protected]>

* Set Default value for TrainJob Success, Failure Condition and PrimaryPodLabels in the trial Template

Signed-off-by: Ram Lau <[email protected]>

* Enchance Handling for default value of Success, Fail Cond & Pod Label

Signed-off-by: Ram Lau <[email protected]>

* Bug fix for default value condition

Signed-off-by: Ram Lau <[email protected]>

* code format by hack/update-gofmt.sh

Signed-off-by: Ram Lau <[email protected]>

* add TrainJob trial Resources to cert manager config

Signed-off-by: Ram Lau <[email protected]>

* add trainjob to controller rbac

Signed-off-by: Ram Lau <[email protected]>

* Grant JobSet permission to Katib controller

Signed-off-by: Andrey Velichkevich <[email protected]>

* Remove create/delete RBAC for TrainJob

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix docker build with libpcre2

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Ram Lau <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Andrey Velichkevich <[email protected]>
Co-authored-by: Andrey Velichkevich <[email protected]>
Co-authored-by: Yuki Iwai <[email protected]>
2025-08-23 00:01:07 +00:00
7599a8fdf4 [GSOC] hyperopt suggestion service logic update (#2412)
* resolved merge conflicts

Signed-off-by: Shashank Mittal <[email protected]>

* fix

Signed-off-by: Shashank Mittal <[email protected]>

* DISTRIBUTION_UNKNOWN enum set to 0 in gRPC api

Signed-off-by: Shashank Mittal <[email protected]>

* convert parameter method fix

Signed-off-by: Shashank Mittal <[email protected]>

validation fix

add e2e tests for hyperopt

added e2e test to workflow

* convert feasibleSpace func updated

Signed-off-by: Shashank Mittal <[email protected]>

* renamed DISTRIBUTION_UNKNOWN to DISTRIBUTION_UNSPECIFIED

Signed-off-by: Shashank Mittal <[email protected]>

* fix

Signed-off-by: Shashank Mittal <[email protected]>

* added more test cases for hyperopt distributions

Signed-off-by: Shashank Mittal <[email protected]>

* added support for NORMAL and LOG_NORMAL in hyperopt suggestion service

Signed-off-by: Shashank Mittal <[email protected]>

* added e2e tests for NORMAL and LOG_NORMAL

Signed-off-by: Shashank Mittal <[email protected]>

sigma calculation fixed

fix

parse new arguments to mnist.py

* hyperopt-suggestion example update

Signed-off-by: Shashank Mittal <[email protected]>

* updated logic for log distributions

Signed-off-by: Shashank Mittal <[email protected]>

* updated logic for log distributions

Signed-off-by: Shashank Mittal <[email protected]>

* e2e test fixed

Signed-off-by: Shashank Mittal <[email protected]>

* added support for parameter distributions for Parameter type INT

Signed-off-by: Shashank Mittal <[email protected]>

* unit test fixed

Signed-off-by: Shashank Mittal <[email protected]>

* Update pkg/suggestion/v1beta1/hyperopt/base_service.py

Co-authored-by: Yuki Iwai <[email protected]>
Signed-off-by: Shashank Mittal <[email protected]>

* comment fixed

Signed-off-by: Shashank Mittal <[email protected]>

* added unit tests for INT parameter type

Signed-off-by: Shashank Mittal <[email protected]>

* completed param unit test cases

Signed-off-by: Shashank Mittal <[email protected]>

* handled default case for normal distributions when min or max are not specified

Signed-off-by: Shashank Mittal <[email protected]>

* fixed validation logic for min and max

Signed-off-by: Shashank Mittal <[email protected]>

* removed unnecessary test params

Signed-off-by: Shashank Mittal <[email protected]>

* fixes

Signed-off-by: Shashank Mittal <[email protected]>

* added comments

Signed-off-by: Shashank Mittal <[email protected]>

* fix

Signed-off-by: Shashank Mittal <[email protected]>

* set default distribution as uniform

Signed-off-by: Shashank Mittal <[email protected]>

* line omit

Signed-off-by: Shashank Mittal <[email protected]>

* removed empty spaces from yaml files

Signed-off-by: Shashank Mittal <[email protected]>

---------

Signed-off-by: Shashank Mittal <[email protected]>
Co-authored-by: Yuki Iwai <[email protected]>
2025-01-30 21:26:52 +00:00
Tsz Lung ChungandGitHub 956f49ff87 fix(api): resolve all api voilation exceptions in katib api (#2482)
Signed-off-by: truc0 <[email protected]>
2025-01-21 14:23:11 +00:00
Shao WangandGitHub d0847fa6eb fix: remove remaining MXNet dependency. (#2456)
Signed-off-by: Electronic-Waste <[email protected]>
2024-12-02 13:23:57 +00:00
Shashank MittalandGitHub a8ed699b46 [GSOC] added Unknown distribution and convertDistribution in suggestion client (#2403)
* added Unknown distribution and convertDistribution in suggestion client

added unit tests

Signed-off-by: Shashank Mittal <[email protected]>

* removed custom compare func

Signed-off-by: Shashank Mittal <[email protected]>

---------

Signed-off-by: Shashank Mittal <[email protected]>
2024-08-18 16:27:54 +00:00
Shashank MittalandGitHub 484f7bf253 [GSoC] Added DistributionType to Experiment API (#2377)
Signed-off-by: Shashank Mittal <[email protected]>

modified feasibleSpace

Removed Categorical from Distribution
2024-07-31 04:37:05 +00:00
Shao WangandGitHub 1e06458e1f [GSoC] Add New Parameter in tune (#2369)
* chore: add metrics_collector_config in tune function.

Signed-off-by: Electronic-Waste <[email protected]>

* rebase: rebase feat/new-param-tune to master.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: add metrics collector kind list in comment.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: always pass Trial name to the training container.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: delete passing env variable logics in katib_client.py

Signed-off-by: Electronic-Waste <[email protected]>

* fix: passing env variable KATIB_TRIAL_NAME in the webhook of pod.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: pass env variable KATIB_TRIAL_NAME only to the primary container.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: add report_metrics in post_gen.py.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: change nil error to allErrs(deleted by accident).

Signed-off-by: Electronic-Waste <[email protected]>

* fix: fix lint error in inject_webhook.go.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: wrap env variables passing logics into mutatePodEnv.

Signed-off-by: Electronic-Waste <[email protected]>

* chore: add unit tests for mutatePodEnv.

Signed-off-by: Electronic-Waste <[email protected]>

* fix: delete protocmp.

Signed-off-by: Electronic-Waste <[email protected]>

---------

Signed-off-by: Electronic-Waste <[email protected]>
2024-07-18 17:51:57 +00:00
Yuki IwaiandGitHub 71ee0464c0 Implement KatibConfig API (#2176)
* Implement KatibConfig API

Signed-off-by: Yuki Iwai <[email protected]>

* Replace 'collectorKind' with 'kind'

Signed-off-by: Yuki Iwai <[email protected]>

* Replace 'metricsCollectorSidecars' with 'metricsCollectors'

Signed-off-by: Yuki Iwai <[email protected]>

* Fix a typo

Signed-off-by: Yuki Iwai <[email protected]>

* Make the init.controller.leaderElection non-pointer

Signed-off-by: Yuki Iwai <[email protected]>

* Make the init.controller.injectSecurityContext non-pointer

Signed-off-by: Yuki Iwai <[email protected]>

* Update a comment for the future works

Signed-off-by: Yuki Iwai <[email protected]>

* Update manifest for the katib-leader-election

Signed-off-by: Yuki Iwai <[email protected]>

* Fix a comment for the KatibConfig API

Signed-off-by: Yuki Iwai <[email protected]>

* Replace 'configapi' with 'configv1beta1'

Signed-off-by: Yuki Iwai <[email protected]>

* Remove debug code

Signed-off-by: Yuki Iwai <[email protected]>

* Put constant for the default KatibConfig value on /pkg/apis/config/v1beta1

Signed-off-by: Yuki Iwai <[email protected]>

* Use 'sigs.k8s.io/yaml' instead of 'github.com/ghodss/yaml'

Signed-off-by: Yuki Iwai <[email protected]>

* Avoid to depend on k8s.io/utils directly

Signed-off-by: Yuki Iwai <[email protected]>

* Fix a typo

Signed-off-by: Yuki Iwai <[email protected]>

* Refactor katib-config using kustomize vars

Signed-off-by: Yuki Iwai <[email protected]>

* Fix a typo

Signed-off-by: Yuki Iwai <[email protected]>

* Put KatibConfig on every install

Signed-off-by: Yuki Iwai <[email protected]>

* Remove configMapGenerator from the katib-with-kubeflow

Signed-off-by: Yuki Iwai <[email protected]>

---------

Signed-off-by: Yuki Iwai <[email protected]>
2023-08-01 18:45:08 +00:00
Andrey VelichkevichandGitHub 9fd7af4b05 Use Never Resume Policy as Default (#2102) 2023-01-25 14:11:53 +00:00
f1a9c52faa [Fix] add early stopped trials in converter (#2004)
* add early stopped trials in converter

* error out early

* Update pkg/suggestion/v1beta1/internal/trial.py

Co-authored-by: Yuki Iwai <[email protected]>

* add incomplete trial filter

* fix ut

* more fixes

* filter on es

* enrich existing tests

Co-authored-by: shaowei su <[email protected]>
Co-authored-by: Yuki Iwai <[email protected]>
2022-12-05 13:26:08 +00:00
a9pandGitHub 3fd8502567 Population based training (#1833)
* docs: update new algorithm service details

* feat: trial augmentation strategy

* feat: pbt suggestion service

* feat: PbtTemplate and associated test image

* feat: introduce annotation field to trial specifications

* feat: trial assignment changes to support annotations from suggestion

- Add new Annotation types to suggestion_types.go
- Add Annotation object and update Trial parser in trial.py

* feat: update pbt suggestion to use new Annotation api

- Suggestion uses exact match to track spawned trials
- Trials that get transmitted, but not created (or added to experiment) are added back to the respawn pool (population_size consistency)

* chore: gofmt and black run across PBT changes

* feedback: remove tf summary export, change default print unit, reduce range to be percentage compatible.

* feedback: move PBT template to example.

* feedback: changes to inject_webhook and utils.

- Rename mutateVolume to mutateMetricsCollectorVolume
- Add addContainerVolumeMount
- Add getPrimaryContainerIndex

* feedback: change suggestion mutation mount variable name and add to consts

* feedback: Add trial_names to GetSuggestionsReply and change suggestion path to <experiment>/<trial>

* feedback: removed unnecessary checks and moved to async pbt implementation

* feedback: update trial name override location and change annotations override to labels.

* feedback: add pbt to github workflow

* feedback: move labels to ParameterAssignments in GetSuggestionsReply and cleanup pbt.yaml.

* feedback: remove operator changes

* feedback: GHA updates

* feedback: new formatting changes

* feedback: add suggestion-pbt to gh-actions build-load.sh.

* fix: missing pbt->simple-pbt name changes, add simple-pbt to update-images.sh update yaml function (causing failing gha).

* feedback: add pointer to website from main readme for pbt
2022-06-21 15:35:34 +00:00
Yuki IwaiandGitHub 0f970a74b9 Include MetricsUnavailable condition to Complete in Trial (#1877)
* include MetricsUnavailable condition to Complete in Trial

It is not easy for users to find why Trial failed when training code output incorrect format logs
since the trial-controller sets Succeeded condition with False to Trial if there are unavailable metrics in Katib DB as described in https://github.com/kubeflow/katib/issues/1343.
So we also include MetricsUnavailable condition to Complete in Trial.

* add gh-actions tasks to verify generated codes

* fix gh-actions workflow

* when the number of Failed Trials reaches maxTrialCount, experiment-controller sets Failed to Experiment status

* fix e2e test

* To avoid being set Failed in Experiment status when  and  is equal to 0, we need to add condition,
2022-06-08 04:22:15 +00:00
Yuki IwaiandGitHub 152f19185e Add shellcheck (#1857)
* add shellcheck

* fix /test/e2e/v1beta1/scripts/run-e2e-experiment.sh

* fix test/e2e/v1beta1/scripts/setup-katib.sh

* fix pkg/apis/manager/[v1beta1|health]/build.sh

* fix scripts/v1beta1/deploy.sh

* fix scripts/v1beta1/release.sh

* fix scripts/v1beta1/update-images.sh

* fix scripts/v1beta1/undeploy.sh

* fix hack/update-openapigen.sh

* update boilerplate

* fix hack/gen-python-sdk/gen-sdk.sh

* fix hack/update-codegen.sh

* fix hack/update-mockgen.sh

* use /usr/bin/env bash

* add path to update-boilerplate.sh

* fix script to update boilerplate

* fix comment
2022-05-03 01:15:00 +00:00
4ddca17120 Support JSON format logs in file-metrics-collector (#1765)
* support JSON format logs in file-metrics-collector

* review: convert fileFormat to type FileSystemFileFormat

* Update cmd/metricscollector/v1beta1/file-metricscollector/main.go

Co-authored-by: Andrey Velichkevich <[email protected]>

* review: remove func (f FileSystemFileFormat) String()

* review: get metricRegList only when the format is TEXT

* review: change var name in a script for e2e

* review: explict specify the cloudml-hypyertune in the Dockerfile

* review: use reflect.DeepEqual instead of go-cmp.Diff

* review: stop using 'JSON' directly in error statements

* review: install specific version cloudml-hypertune

* review: get objType in the updateStopRules function

* review: save optimalObjValue across multiple stopRules

* review: add warning messages to parseTimestamp func

* review: generate test files with go test command

* review: change api for new feature

Co-authored-by: Andrey Velichkevich <[email protected]>
2022-04-05 15:20:36 +00:00
Andrey VelichkevichandGitHub eb4a1bee1d Fix default label for Training Operators (#1808)
* Fix default label for Training Operators

* Fix version comment

* Change the docs

* Change git command
2022-02-15 07:19:40 +00:00
Andrey VelichkevichandGitHub 25a033f317 Add Kubeflow MXJob example (#1688)
* Add Kubeflow MXJob example

* Reduce num examples

* Update image link

* Fix FPGA doc

* Add BytePS image
2021-10-07 17:27:23 -07:00
baf7e42387 Refactor Examples folder structure (#1691)
* Refactor Katib Examples

* Fix links

* Use Kind image
Use kubectl wait

* Update examples/v1beta1/kind-cluster/README.md

Co-authored-by: Yuki Iwai <[email protected]>

* Update examples/v1beta1/kind-cluster/README.md

Co-authored-by: Yuki Iwai <[email protected]>

* Increase timeout

* Update docs/images-location.md

Co-authored-by: Elias Koromilas <[email protected]>

* Update examples/v1beta1/README.md

Co-authored-by: Elias Koromilas <[email protected]>

* Remove json

* Add example links to training containers

* Fix link

* Update links to training-operator

* Rename Trial settings to template

* Rename Trial training containers to Trial images

* Move NAS examples to Trial images

* Add NAS links to README

* Change TARGET DIR

* Update examples/v1beta1/trial-images/mxnet-mnist/Dockerfile

Co-authored-by: Yuki Iwai <[email protected]>

* Update examples/v1beta1/trial-images/pytorch-mnist/Dockerfile

Co-authored-by: Yuki Iwai <[email protected]>

Co-authored-by: Yuki Iwai <[email protected]>
Co-authored-by: Elias Koromilas <[email protected]>
2021-10-07 05:38:22 -07:00
Andrey VelichkevichandGitHub 23258c917b Update Go version to 1.17 (#1683)
* Use Go 1.17 version

* Fix code generator import

* Change after review

* Run lint

* Use go install for lint
2021-09-28 09:05:11 -07:00
ca6419ba90 Use golangci-lint as linter for Go (#1671)
* use golangci-lint as linter for Go instead of golint

* Update hack/verify-golangci-lint.sh

Co-authored-by: Andrey Velichkevich <[email protected]>

* specify golangci-lint version

Co-authored-by: Andrey Velichkevich <[email protected]>

* fix echo comment

Co-authored-by: Andrey Velichkevich <[email protected]>

* fix echo comment

Co-authored-by: Andrey Velichkevich <[email protected]>

* fix lint

* fix gofmt

* fix generated codes

* close the connection for early stopping without using defer

* do not create or delete any resources within gomega.Eventually

* add condition to return error in getKatibJob func

* remove comment out lines

* simplify some codes

Co-authored-by: Andrey Velichkevich <[email protected]>

* remove an unnecessary variable

Co-authored-by: Andrey Velichkevich <[email protected]>

* fix golangci-lint error

Co-authored-by: Andrey Velichkevich <[email protected]>

Co-authored-by: Andrey Velichkevich <[email protected]>
2021-09-23 23:09:37 -07:00
Andrey VelichkevichandGitHub 50595f5bb5 Add missing omitempty parameter to APIs (#1645) 2021-08-27 07:33:06 -07:00
Andrey VelichkevichandGitHub ab49729ffb Modify XGBoostJob example for the new Controller (#1623)
* Modify XGBoostJob example for the new Controller

* Modify port
2021-08-14 20:59:04 -07:00
Andrey VelichkevichandGitHub 7bb5ccda55 Remove Kubeflow Training dependencies from Katib (#1599)
* Remove Kubeflow Training dependencies from Katib

* Add code-generator to go.mod
2021-08-01 06:43:37 -07:00
Andrey VelichkevichandGitHub 558e1c5aeb Add script to update boilerplate (#1491)
* Update boilerplate for clients

* Modify not format boilerplate

* Modify boilerplate script for go files

* Update boilerplate manually for go files

* Modify script

* Generate boilerplate for Go files

* Add script for Python files

* Generate boilerplate for the Py files

* Include shell

* Generate boilerplate for shell scripts

* Add to makefile

* Fix comments

* Change comments
2021-03-19 23:48:17 -07:00
3a85423198 Disable dynamic creation for admission hooks and update dependencies (#1450)
* Update all dependencies to the latest versions
Add cert generator for the webhooks
Add manifests for the webhooks

* Modify Dockerfile for manager

* Remove comments

* Update Dockerfiles for Go images

* Add signerName: kubernetes.io/kube-apiserver-client to csr
Update roles for controller RBAC
Changes after review

* Fix not installed CRD error

* Update scripts

* Revert operator changes

* Describe controller pod in test

* Add log line to test

* Move kubectl version

* Change csr version to v1beta1

* Remove log

* Change signerName to kubernetes.io/kubelet-serving

* Modify common name

Co-authored-by: Yuki Iwai <[email protected]>

* Add env variable to init container

Co-authored-by: Yuki Iwai <[email protected]>

* Get namespace from env

Co-authored-by: Yuki Iwai <[email protected]>

* Remove quotes

* Remove spaces

* Run cert generator script from the Job

* Modify new ui Dockerfile

* Disable Actions on PR

* Modify setup Katib script

* Fix PODNUM

* Remove imagePullPolicy from PyTorch and TFJob examples

* Disable Pytorch examples in e2e

* Add sleep to e2e test

* Activate Actions

* Disable actions

Co-authored-by: Yuki Iwai <[email protected]>
2021-03-06 09:29:49 -08:00
Andrey VelichkevichandGitHub fc5d483743 Verify nil objective in Experiment defaults (#1445) 2021-02-19 17:35:41 -08:00
Andrey VelichkevichandGitHub 2e226de7e5 Remove v1alpha3 version (#1396)
* Remove v1alpha3 files

* Modify SDK

* Change dict() to object
2020-11-30 06:48:50 -08:00
Andrey VelichkevichandGitHub 241b4d607f Remove default values for Trial template (#1368) 2020-10-29 20:02:05 -07:00
Andrey VelichkevichandGitHub 0c11c06eeb Early Stopping Implementation (#1344)
* Init commit

* Experiment API changes

* Add APIs

* Remove old es apis

* Remove logging

* Add Early Stopping implementation

* Show metrics for early stopped trials

* Clean const

* Remove pid file with completed line from metrics collector

* Add unit test

* Add EarlyStopping as unique service

* Add early stopped Trials to completed

* Fix few comments

* Generate clients and SDK

* Fix tests

* Fix goptuna test

* Remove cluster role from test

* Update observation for early stopped Trials

* Fix pv name in e2e test

* Add Katib config for Early Stopping

* Fix comment

* Remove unused gRPC Experiment spec

* Remove legacy test files

* Remove labels and conditions from example

* Modify API to be consistent with Algorithm

* Ignore no such file error

* Add comments to proto

* Add median stop implementation

* Fix few comments

* Fix unit tests

* Add o-type flag to tfevent metrics collector

* Fix es unit test

* Fix hyperband suggestion
2020-10-29 19:56:05 -07:00
Andrey VelichkevichandGitHub e3b4646ead Clean up code for custom CRD (#1355)
* Clean up code for custom CRD

* Fix few comments

* Rename experiment controller files
2020-10-26 14:27:59 -07:00
Andrey VelichkevichandGitHub cad19ff13b Enhancement for Custom CRD (#1333)
* Init commit

* Modify Insert function
Add retry on empty observation

* Fix mutate volume test

* Fix validate experiment test

* Fix invalid experiment

* Don't get deployed job status when trial is completed

* Not send Trial with unavailable metrics to Suggestion

* Refactor requeue

If objective metric value is not reported metrics collector reports unavailable value to the DB
Controller reconciles Trial until DB is empty

* Add condition before change trial status

* Remove prints

* Fix tfevent parser
2020-10-13 06:02:27 -07:00
Andrey VelichkevichandGitHub 9816f576b8 Custom CRD: Support dynamic Trial's jobs conditions (#1307)
* Custom Job conditions implementation

* Fix prints

* Fix status

* Fix test

* Clean event msg

* Run gofmt

* Fix few comments

* Generate clients

* Fix comment

* Add newline
2020-09-08 14:45:52 -07:00
Andrey VelichkevichandGitHub 5a952860e7 Custom CRD: Add primary container name (#1308)
* Add primary container name

* Resolve

* Generate clients

* Add newline
2020-09-08 12:01:52 -07:00
Andrey VelichkevichandGitHub 3c6b64bf43 Custom CRD: Add primary pod labels (#1305)
* Add primary pod labels

* Generate swagger

* Generate SDK

* Trigger CI
2020-09-02 19:41:40 -07:00
Andrey VelichkevichandGitHub 8dcb9f7e18 Verify that Trials were successfully deleted (#1288)
* Verify that trials were deleted
Update suggestion status

* Update suggestion requests

* Fix tests

* Fix comment

* Add recorder to test controllers

* Travis test

* Change resume exp trial condition

* Modify e2e for from volume experiment

* Fix IsRestarting check

* Fix comment
2020-08-06 05:32:55 -07:00
Andrey VelichkevichandGitHub b1a78c8c3d Unit test for resuming Experiment in controller reconcilers (#1281)
* Add unit test for Experiment and Suggestion controller reconcile

* Delete buildTrialMetaForRunSpec from controller

* Modify condition check

* Fix format

* Run mock for new version

* Refactor experiment reconcile test

* Remove comment
2020-08-03 11:43:42 -07:00
Andrey VelichkevichandGitHub 70b76c5f9a Resume Experiment from Volume (#1275)
* Resume experiment from the PV

* Add comment

* Remove old api comments

* Change reason for Running suggestion

* Fix few comments

* Rename volume name like suggestion deployment

* Add corev1 to const
2020-07-27 08:32:18 -07:00
Andrey VelichkevichandGitHub 31e29f29ae Fix few API comments typos (#1274)
* Fix few typos in API comments

* Generate open API
2020-07-19 18:26:50 -07:00
Andrey VelichkevichandGitHub 727b9a5104 String type for metric values (#1245)
* Change metric type from float to string

* Check unavailable latest objective metric in isTrialObservationAvailable

* Fix e2e test

* Delete consts.UnavailableMetricValue from e2e
2020-06-30 05:38:06 -07:00
Andrey VelichkevichandGitHub 2b89c9c7a9 Fix default metrics stretegy (#1226) 2020-06-22 09:16:40 -07:00
Xu XiaoandGitHub b8260d1e1b extracting metric value in multiple ways (#1140)
* migrate this PR to v1beta1

* fix

* fix

* fix

* add example for metric strategies

* modify MetricStrategy specification

* fix
2020-06-12 11:33:55 -07:00
Xu XiaoandGitHub 4987218fdf add clientset/lister/informer generation (#1194)
* adapt v1beta1

* add resources for v1alpha3

* fix

* refine update-codegen script

* add katib apiVersion as prefix of swagger version
2020-06-10 08:08:51 -07:00
Andrey VelichkevichandGitHub 425b9737e5 New Trial Template API controller implementation (#1202)
* Add new Trial Template API

* Add TrialSource in TrialTemplate
Remove GoTemplate from Experiment API

* Add init logic for new trial template

* Change examples
Implement new Trial Template to controller

* Modify trial template configMap for new version of Trial Template
Fix experiment defaults
change valid/invalid experiment

* Run gofmt

* Fix hyperband

* Remove num-epochs from grid example

* Add tag to file mc example

* Modify create Trials loop
2020-06-10 07:24:51 -07:00
Andrey VelichkevichandGitHub 2c84ab6cef Re: Support string metrics values in Controller (#1200)
* Support string metrics

* Fix error in e2e tests
2020-05-28 20:23:15 -07:00
Andrey VelichkevichandGitHub 70a0fe3e73 Katib v1beta1 version (#1197)
* Add v1beta1 version

* Swagger for v1alpha3 and v1beta1 versions
Fix format in bash scripts

* Change make build to make buildv1alpha3

* Add folder path to python test

* Fix folder in python test

* Add goptuna and darts suggestions to check-katib-ready

* Disable custom metrics collector e2e in v1beta1
2020-05-27 18:54:02 -07:00
Andrey VelichkevichandGitHub ebc5876ca1 Revert 1176 PR (String metrics values) (#1189) 2020-05-14 22:50:59 -07:00
Andrey VelichkevichandGitHub 927fd61ef2 Support string metrics values in Controller (#1176)
* Support strings metric values

* Fix tests
2020-05-05 05:01:08 -07:00
Xu XiaoandGitHub 4b95c880b5 Delete Suggestion deployment after Experiment is finished (#1150)
* Delete Suggestion deployment after Experiment is finished

* fix

* update

* update openapi

* fix validator test

* refine

* add debug info

* try to fix

* try to fix

* try to fix

* keep API style consistent

* rebase master
2020-04-30 03:16:18 -07:00
Xu XiaoandGitHub 886b39b4c3 fix annotations, which crashs custom job (#1072) 2020-03-01 23:32:42 -08:00
Xu XiaoandGitHub a908eca534 continue (#1054) 2020-02-13 01:12:35 -08:00
Xu XiaoandKubernetes Prow Robot 1d0f9f535a record TrialNames group by stages in ExperimentStatus (#1023)
* list names of trials group by stages instead of total counts

* fix

* restore count fields of ExperimentStatus

* remove redundant blank line

* hotfix
2020-01-22 05:02:35 -08:00