kurobako
kurobako copied to clipboard
Add batch sampling support
How is this different from sampling one at a time?
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):
- ask
- ask (samplers need to decide next parameters without knowing the evaluation result of the previous ask)
- ask (ditto)
- tell
- tell
- tell
On the other hand, in "one at a time", the ask and tell is interleaved:
- ask
- tell
- ask
- tell
- ask
- tell