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

[tune] Fix Hyperband to terminate Trial when max_i is reached #1456

Closed
richardliaw opened this issue Jan 23, 2018 · 4 comments
Closed

[tune] Fix Hyperband to terminate Trial when max_i is reached #1456

richardliaw opened this issue Jan 23, 2018 · 4 comments
Assignees

Comments

@richardliaw
Copy link
Contributor

Describe the problem

Hyperband should terminate all trials in bracket when bracket is finished.

@richardliaw richardliaw self-assigned this Jan 26, 2018
@richardliaw richardliaw changed the title Fix Hyperband to terminate Trial when max_i is reached [tune] Fix Hyperband to terminate Trial when max_i is reached Jan 26, 2018
@haoyangz
Copy link

haoyangz commented Feb 27, 2018

I tried running hyperband_example.py with #1586 merged and no longer saw trials that hung forever, but when visualizing using tensorboard, I do find two trials with iterations > 100. Shouldn't all trials finish at 100 iteration as per the specification of hyperband instance used in hyperband_example.py? Did I miss something?

@richardliaw
Copy link
Contributor Author

The point of confusion actually is inherited from the original paper: https://people.eecs.berkeley.edu/~kjamieson/hyperband.html

I'll rename the parameter to a more intuitive value.

@haoyangz
Copy link

Hmm so what does the max_t here mean exactly? Taking the example in https://people.eecs.berkeley.edu/~kjamieson/hyperband.html, is max_t=81+27+9+3+1 instead of 81?

@richardliaw
Copy link
Contributor Author

richardliaw commented Feb 27, 2018

For what I interpreted from the paper and the post,

the number of iterations they are run for r_i within each round of the Successive Halving innerloop

would end up giving total_iterations = 81 + 27 + 9 + 3 + 1. Originally, max_t was intended to be equivalent to max_iter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants