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

Optuna v3.x.x no longer compatible with zombie trial cleaning #497

Closed
RandomDefaultUser opened this issue Jan 12, 2024 · 2 comments · Fixed by #520
Closed

Optuna v3.x.x no longer compatible with zombie trial cleaning #497

RandomDefaultUser opened this issue Jan 12, 2024 · 2 comments · Fixed by #520
Labels
bug Something isn't working critical

Comments

@RandomDefaultUser
Copy link
Member

MALA implements a way to clean "zombie trials", i.e. trials which are not expected to finish anymore (e.g., because the original job broke). The API for this has changed from optuna v3 to v2, and this function no longer works. The regular MALA-optuna interface still works, but this particular part is currently not-functional. As it is important for extended, distributed hyperparameter optimization, I marked this as "critical".
Fixing this should not be too hard.

@RandomDefaultUser RandomDefaultUser added bug Something isn't working critical labels Jan 12, 2024
@timcallow
Copy link
Contributor

Screenshot from 2024-01-12 14-52-39

@elcorto
Copy link
Member

elcorto commented May 30, 2024

In Optuna 3.x the API has changed slightly:

set_trial_state(trial_id, state) -> set_trial_state_values(trial_id, state, values=None)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants