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

Change timeout for long-term experiments #1058

Open
andreyvelich opened this issue Feb 18, 2020 · 11 comments
Open

Change timeout for long-term experiments #1058

andreyvelich opened this issue Feb 18, 2020 · 11 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed kind/feature

Comments

@andreyvelich
Copy link
Member

/kind feature

Users can run long-term Experiment where Suggestion needs to analyse information from more than 200-300 Trials.
In that situation, some Suggestion needs more time than 1 minute to generate new Trial set.

We specify the timeout of GetSuggestion request here: https://github.com/kubeflow/katib/blob/master/pkg/controller.v1alpha3/suggestion/suggestionclient/suggestionclient.go#L26.
We can provide functionality to change this information from katib-config if it necessary.

Ref: #1052.

What do you think @gaocegege @hougangliu @johnugeorge @richardsliu ?

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
feature 0.95

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

@jlewi jlewi removed the feature label Mar 20, 2020
@stale
Copy link

stale bot commented Nov 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@andreyvelich
Copy link
Member Author

/lifecycle frozen

@robertzsun-dev
Copy link

I'm curious why no one has brought up this issue? The hardcoded 60 second timeout is problematic for me as there is no way to use Bayesian Optimization properly because at around 100 trials, the suggestion takes longer than 60 seconds to compute for me.

@tenzen-y
Copy link
Member

Let's move the discussion forward.

We can provide functionality to change this information from katib-config if it necessary.

I agree with @andreyvelich.
Please let me know what others think.

cc: @andreyvelich @johnugeorge @gaocegege

@johnugeorge
Copy link
Member

Yes. Lets target to add this in the katib-config

@LuukvandenBent
Copy link

Any update on this?

@andreyvelich
Copy link
Member Author

Hi @LuukvandenBent, not yet, but contributions are always welcome!

/remove-lifecycle frozen
/good-first-issue

Copy link

@andreyvelich:
This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

Hi @LuukvandenBent, not yet, but contributions are always welcome!

/remove-lifecycle frozen
/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@google-oss-prow google-oss-prow bot added good first issue Good for newcomers help wanted Extra attention is needed and removed lifecycle/frozen labels Mar 4, 2025
@LuukvandenBent
Copy link

The problem is happening here right?: https://github.com/kubeflow/katib/blob/master/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py#L1231
The function uses default value of constants.DEFAULT_TIMEOUT which is set at 120s. Could you give me some pointers on how/where we would want to fix this?

@andreyvelich
Copy link
Member Author

That's right.
We need to find a way to dynamically inject this value using Katib Config: https://github.com/kubeflow/katib/blob/master/pkg/apis/config/v1beta1/types.go#L101
We can inject this timeout from the config before calling GetSuggestion() API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed kind/feature
Projects
None yet
Development

No branches or pull requests

7 participants