Skip to content

Conversation

c-bata
Copy link
Member

@c-bata c-bata commented Apr 18, 2020

Update katib-config document to describe suggestion service images

Katib issue: kubeflow/katib#1147

cc: @gaocegege @andreyvelich @sarahmaddox

@kubeflow-bot
Copy link

This change is Reviewable

Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR, I left few comments.

Also, can you update about algorithms implementation here: https://www.kubeflow.org/docs/components/hyperparameter-tuning/experiment/#random-search.
For example, for Random we say that Katib uses only hyperopt implementation.

```

All of these settings except **`image`** can be omitted. If you don't specify any other settings, default value is be set.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should merge this PR after we update Katib Manifests images with the latest images.
/cc @johnugeorge

**Must be specified**.
**Must be specified**. You can specify following images:

- `suggestion-chocolate`: [chocolate](https://github.com/AIworx-Labs/chocolate) based suggestion service which supports `grid`, `chocolate-random`, `chocolate-quasirandom`, `chocolate-bayesian-optimization` and `chocolate-mocmaes`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it is better to say: "Which supports algorithm names: grid, ..." ?
And do we need to say about each algorithm name. For example:
chocolate-quasirandom: Chocolate implementation of quasirandom algorithm.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mind two things about this:


- `suggestion-chocolate`: [chocolate](https://github.com/AIworx-Labs/chocolate) based suggestion service which supports `grid`, `chocolate-random`, `chocolate-quasirandom`, `chocolate-bayesian-optimization` and `chocolate-mocmaes`.
- `suggestion-goptuna`: [Goptuna](https://github.com/c-bata/goptuna) based suggestion service which supports `cmaes`, `tpe` and `random`.
- `suggestion-hyperband`: [HpBandSter](https://github.com/automl/HpBandSter) based suggestion service which supports `hyperband`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe for hyperband we are using our own implementation. We can add link to Katib hyperband source code here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your comment. Hm, we may change the file path of hyperband source code at kubeflow/katib#1144.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we will change the file path for hyperband. In this PR maybe just add link to hyperband service: https://github.com/kubeflow/katib/blob/master/pkg/suggestion/v1alpha3/hyperband_service.py?

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sarahmaddox
Copy link
Contributor

@sarahmaddox
Copy link
Contributor

I believe the merge conflict on this PR is due to PR #1909, which inserted the /en/ element into the directory path for all content files. In other words, that PR moved all content files from content/docs/... to content/en/docs/....

@c-bata c-bata force-pushed the katib-supported-algorithms branch from cb75738 to cb9cd29 Compare April 23, 2020 04:58
variables is high, you should use quasi random sampling instead.

Katib uses the [hyperopt](http://hyperopt.github.io/hyperopt/) optimization
Katib uses the [hyperopt](http://hyperopt.github.io/hyperopt/) or
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no good idea how describe chocolate-random and chocolate-quasirandom. So I added Goptuna only.

It may be better to rename chocolate-random to random for consistency (related discussion: kubeflow/katib#1131 (comment)).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @c-bata. What do you think @gaocegege @johnugeorge ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM!

@sarahmaddox
Copy link
Contributor

/assign @andreyvelich

Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
@sarahmaddox I think we can merge this PR. We will update manifest with the recent Katib version soon.
/cc @johnugeorge @gaocegege

@sarahmaddox
Copy link
Contributor

/cc @jlewi

Thanks @andreyvelich. I'm no longer working on Kubeflow, so I've cc-ed @jlewi to approve this PR.

@k8s-ci-robot k8s-ci-robot requested a review from jlewi June 8, 2020 19:12
@jlewi
Copy link
Contributor

jlewi commented Jun 9, 2020

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 65caeca into kubeflow:master Jun 9, 2020
@c-bata c-bata deleted the katib-supported-algorithms branch June 9, 2020 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants