Skip to content

Allow dynesty to run with multiprocessing

Colm Talbot requested to merge dynesty-multiprocessing into master

This MR will allow users to pass a queue_size to dynesty and this will then be used as the number of processes in a multiprocessing.Pool object.

This implementation is very much inspired by !750 (merged).

It required adding a couple of helper functions to avoid attempting to send unpicklable methods.

I found a roughly two-fold increase using three threads on my (slightly overworked) local machine. It'll be good to explore how this scales.

Edited by Colm Talbot

Merge request reports

Loading