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 batch sampling support #27

Open
sile opened this issue Sep 7, 2020 · 2 comments
Open

Add batch sampling support #27

sile opened this issue Sep 7, 2020 · 2 comments

Comments

@sile
Copy link
Member

sile commented Sep 7, 2020

No description provided.

@contramundum53
Copy link
Member

How is this different from sampling one at a time?

@sile
Copy link
Member Author

sile commented May 29, 2022

In batch sampling mode, solvers would receive multiple ask requests before receiving the corresponding evaluation results (tell) as follows (assumes the batch size is 3):

  1. ask
  2. ask (samplers need to decide next parameters without knowing the evaluation result of the previous ask)
  3. ask (ditto)
  4. tell
  5. tell
  6. tell

On the other hand, in "one at a time", the ask and tell is interleaved:

  1. ask
  2. tell
  3. ask
  4. tell
  5. ask
  6. tell

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