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

Question on on num_samplers and num_evaluators and distributed approach #6

Open
fraspin opened this issue May 21, 2024 · 1 comment

Comments

@fraspin
Copy link

fraspin commented May 21, 2024

Hi,

thanks a lot for providing this useful tool!

I have a question regarding the num_samplers and num_evaluators variables. For both, It is written in the code that "A value larger than 1 only has an effect when the samplers are able to execute in parallel, e.g. on different machines of a distributed system."

Could you explain a bit more in detail what you mean?

Also, if for instance, I have a cluster with 10 servers, how can I configure the funsearch application to use all of them?

@Rubiel1
Copy link

Rubiel1 commented May 29, 2024

Hey,
If the samplers are in a loop, only when one ai finishes will the second ai start. Instead you can just have one ai running continuously and the effect will be the same. So to see an improvement you want the samplers to work in parallel. As for the actual implementation on a cluster, I wonder the same.

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