Parallelism

SMAC supports multiple workers natively. Just specify n_workers in the scenario and you are ready to go.

Note

Please keep in mind that additional workers are only used to evaluate trials. The main thread still orchestrates the optimization process, including training the surrogate model.

Warning

Using high number of workers when the target function evaluation is fast might be counterproductive due to the overhead of communcation. Consider using only one worker in this case.

Warning

When using multiple workers, SMAC is not reproducible anymore.