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

Can I run k copies of PT easily? #188

Open
astrozot opened this issue Dec 5, 2023 · 2 comments
Open

Can I run k copies of PT easily? #188

astrozot opened this issue Dec 5, 2023 · 2 comments

Comments

@astrozot
Copy link

astrozot commented Dec 5, 2023

Section 5.3 of Syed et al., 2021 mentions that it is more efficient, under certain conditions, to run k multiple copies of the PT algorithm rather than increasing N to use more chains.

I might have missed it, but I do not see in Pigeons a direct way to use multiple copies of the PT algorithm. I suppose, one could relatively easily run k copies using Threads.@threads or Distributed.pmap. However, if not implemented yet, it might be sensible to have this implemented inside Pigeons, so to use a consistent interface for the parallelism in all its forms.

@nikola-sur
Copy link
Collaborator

Hello,
Thank you for your message! At the moment, this functionality is not implemented in Pigeons. However, it has been on our to-do list and I think this is a good issue to keep open. What you suggested should work as a temporary workaround.

@astrozot
Copy link
Author

astrozot commented Apr 6, 2024

Hi, I just found that using Thread.@threads one would have troubles using checkpoints:

#218

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