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

add ray multiprocessing support #55

Open
SimonBlanke opened this issue Aug 19, 2022 · 0 comments
Open

add ray multiprocessing support #55

SimonBlanke opened this issue Aug 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@SimonBlanke
Copy link
Owner

The popular python package ray has a multiprocessing feature that could be used to run optimization-processes in parallel:

from ray.util.multiprocessing import Pool

def f(index):
    return index

pool = Pool()
for result in pool.map(f, range(100)):
    print(result)

This Pool-API is very similar to the regular multiprocessing. I will look further into if it's possible to integrate Ray so that its features can be used in Hyperactive.

@SimonBlanke SimonBlanke added the enhancement New feature or request label Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant