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

Use parallelism for Population #247

Open
turion opened this issue Feb 6, 2023 · 1 comment
Open

Use parallelism for Population #247

turion opened this issue Feb 6, 2023 · 1 comment

Comments

@turion
Copy link
Collaborator

turion commented Feb 6, 2023

It seems to me that all inference using Population is done single-threaded. But it is a perfect target for trivial parallelization, because all the calculations are independent in a list. One could easily use e.g. https://hackage.haskell.org/package/parallel to make use of several cores.

@reubenharry
Copy link
Contributor

Agreed. The caveat (as discussed) being that resampling is decidedly not parallel, so the advantage depends on the rate of the resampling being reasonably low. That said, I think parallelization here would likely be an easy performance win.

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