Closed OGdodge closed 1 year ago
Please try the master branch -- there was a fix for the restoration of the dynamic sampler -- see https://github.com/joshspeagle/dynesty/blob/master/CHANGELOG.md I just didn't yet cut a release.
I've just released the v2.1.2, so you can use that now. hopefully it'll fix your issue
I will close it. Feel free to reopen if the issue is still there
Dynesty version Specify the exact version, and how you installed it (pip/git) 2.1.1, pip
Describe the bug [A clear and concise description of what the bug is.] Resuming a sampler in a pool does not actually use the pool
Setup I am runningthe following dynesty setup: [insert a copy of the dynesty code used during initialization and runtime]
Bug / Dynesty output I have a number of actions that are performed once for the first call of the LogLikelihood function - each with some print statements. These are printed once per pool that is active - so when running the sampler on 20 threads without resuming I get:
Whereas when resuming, with still with 20 threads specificied:
Ie. this is only printed once - so only running for 1 thread. It doesn't error out, just continues only on one thread. I have ensured that it actually enters the pool. Any help would be appriecated - tbh I think I might just be missing something really obvious!