4 Commits
Author SHA1 Message Date
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
Andrey VelichkevichandGitHub a59cd47f1d Update Katib SDK with OpenAPI generator (#1572)
* Use openapi JAR

* Remove test from SDK

* Use k8s>=12.0 version
2021-07-29 08:35:19 -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
Xu XiaoandGitHub 6c07d26b78 [python sdk] add v1beta1 models (#1252)
* [python sdk] add v1beta1 models

* upgrade version of python SDK to 0.0.3

* remove v1Alpha3 python sdk

* add some python models manually: v1Time and V1UnstructuredUnstructured

* bring back v1alpha3

* create separate python sdk for v1alpha3 and v1beta1

* move on

* release pkg on pypi.org

* remove dist files

* refine
2020-08-18 03:11:32 -07:00