question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TPE suggestion service failing to provide proposals for new trials

See original GitHub issue

/kind bug

I am running an experiment with algorithm tpe and the following search space:

[ { "feasibleSpace": { "max": "1", "min": "0" }, "name": "r1", "parameterType": "double" }, { "feasibleSpace": { "max": "1", "min": "0" }, "name": "r2", "parameterType": "double" }, { "feasibleSpace": { "max": "1", "min": "0" }, "name": "r3", "parameterType": "double" } ]

and a maxTrialCount of 10,000. The experiment successfully runs 2,057 trials but fails to propose new ones. Looking at the suggestion pod logs I see:

ERROR:grpc._server:Exception calling application: list index out of range Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/grpc/_server.py", line 434, in _call_behavior response_or_iterator = behavior(argument, context) File "/opt/katib/pkg/suggestion/v1alpha3/hyperopt/service.py", line 38, in GetSuggestions new_assignments = self.base_service.getSuggestions(trials, request.request_number) File "/opt/katib/pkg/suggestion/v1alpha3/hyperopt/base_service.py", line 220, in getSuggestions vals = new_trials[i]['misc']['vals'] IndexError: list index out of range

What did you expect to happen: I expected suggestions for the next 1000 trials to be proposed. It seems unlikely that the search space should be exhausted in ~2k trials.

Environment: Running in Google Cloud Kubernetes engine

  • Kubeflow version (kfctl version): 1.0.0
  • Kubernetes version: (use kubectl version): Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.10-gke.42", GitCommit:"42bef28c2031a74fc68840fce56834ff7ea08518", GitTreeState:"clean", BuildDate:"2020-06-02T16:07:00Z", GoVersion:"go1.12.12b4", Compiler:"gc", Platform:"linux/amd64"}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
jimmy-hawkfishcommented, Aug 26, 2020

Thanks for the reply @andreyvelich! Yes, I see multiple restarts for the experiment and the explanation sounds reasonable. I’ll try your fixes. Let me know if there are any settings you would still be interested in seeing.

1reaction
andreyvelichcommented, Aug 27, 2020

@gaocegege I think because we specify default memory, cpu and disk storage for the hyperopt suggestion’s pod. When Experiment is large, hyperopt might need more memory to execute.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions - ClinicalTrials.gov
Most studies require approval from a human subjects review board. If your study requires approval, you may register your study on ClinicalTrials.gov prior...
Read more >
Guidance for Clinical Trial Sponsors - FDA
This guidance finalizes the draft guidance entitled "Guidance for Clinical Trial Sponsors: On the Establishment and Operation of Clinical Trial Data Monitoring ...
Read more >
Guidance for conducting feasibility and pilot studies for ...
This paper aims to provide broad guidance for the conduct of feasibility and pilot studies for implementation trials.
Read more >
How to Write a Research Proposal: Structure, Examples ...
A poorly-prepared proposal adversely affects the research project although by some means it managed to get approved. Conversely, a well-written ...
Read more >
Employee or Independent Contractor Classification under the ...
The Department believes that this proposal, if finalized, will provide more consistent guidance to employers as they determine whether workers ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found