https://github.com/kubeflow/katib
Raw File
Tip revision: 5d4e704f928ffa243ee3786d17660df0bb4d493b authored by Richard Liu on 08 May 2019, 02:38:13 UTC
Merge branch 'master' into trial_mc
Tip revision: 5d4e704
developer-guide.md
# Developer Guide

## Requirements

- [Go](https://golang.org/)
- [Dep](https://golang.github.io/dep/)
- [Docker](https://docs.docker.com/) (17.05 or later.)

## Build from source code

Pull in the dependencies

```
dep ensure --vendor-only
```

You can build all images from source.

```bash
./scripts/v1alpha1/build.sh
```

## Implement new suggestion algorithm

Suggestion API is defined as GRPC service at `pkg/api/v1alpha1/api.proto`. Source code is [here](https://github.com/kubeflow/katib/blob/master/pkg/api/v1alpha1/api.proto). You can attach new algorithm easily.

- implement suggestion API
- make k8s service named vizier-suggestion-{ algorithm-name } and expose port 6789

And to add new suggestion service, you don't need to stop components ( vizier-core, modeldb, and anything) that are already running.
back to top