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.

How can exploit parallelism in Optuna?

See original GitHub issue

SuccessiveHalvingPruner is supposed to be executed in parallel way. How can configure our code (simple code) to exploit the exploit parallelism in Optuna?

Note to the questioner

If you are more comfortable with Stack Overflow, you may consider posting your question with the “optuna” tag there instead. Alternatively, for issues that would benefit from more of an interactive session with the developers, you may refer to the optuna/optuna chat on Gitter.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
himktcommented, Feb 16, 2021

The error shows you failed to connect MySQL server. You have to install and launch a server first. Then make sure that you can connect a server by MySQL CLI. Let me put the reference to MySQL documentation.

After you succeed to set up a MySQL server, create a database. (ref. https://optuna.readthedocs.io/en/latest/tutorial/10_key_features/004_distributed.html)

You can also use other backends such as SQLite, PostgreSQL, and Redis. I recommend you to use MySQL or PostgreSQL for distributed optimization.

0reactions
github-actions[bot]commented, Jun 23, 2021

This issue was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parallel Hyperparameter Tuning With Optuna and Kubeflow ...
In Optuna, you can specify the number of jobs with the argument of n_jobs to Study.optimize . We have only one Optuna job,...
Read more >
4. Easy Parallelization — Optuna 3.0.4 documentation
It's straightforward to parallelize optuna.study.Study.optimize() . If you want to manually execute Optuna optimization: ... Of course, you can use Kubernetes as ...
Read more >
Exploring Multi-Objective Hyperparameter Optimization
It's a clever mechanism for exploiting parallelism in an otherwise sequential optimization process. qEHVI can suggest multiple (here q=3) new ...
Read more >
Case study of Hyperparameter optimization framework Optuna ...
In presenting this thesis in partial fulfilment of the requirements for a Postgraduate degree from the. University of Saskatchewan, I agree that the ......
Read more >
A System for Massively Parallel Hyperparameter Tuning - arXiv
We address this challenge by first introducing a simple and robust hyperparameter optimization algorithm called ASHA, which exploits parallelism and ...
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