Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update katib-config document to describe suggestion service images #1907

Merged
merged 1 commit into from Jun 9, 2020

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.

@@ -114,7 +114,13 @@ All of these settings except **`image`** can be omitted. If you don't specify an

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

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/....

@@ -181,7 +181,8 @@ sampling without replacement. Random search is therefore the best algorithm to
use when combinatorial exploration is not possible. If the number of continuous
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.

None yet

7 participants