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

Allow for within-chain parallelization using reduce_sum() #72

Open
BrandonEdwards opened this issue Dec 5, 2023 · 0 comments
Open

Allow for within-chain parallelization using reduce_sum() #72

BrandonEdwards opened this issue Dec 5, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@BrandonEdwards
Copy link
Contributor

At least part of the model files (namely, the count ~ poisson_log() or count ~ neg_binomial_2()) can take advantage of Stan's reduce_sum() feature to allow for within-chain parallelization. I am unsure by how much this would speed up performance because it is only a very small part of the sampling, but could be worth a shot.

I am happy to take care of this because I am about to implement it on my version of bbsBayes2, and so I can also add the code into here.

@BrandonEdwards BrandonEdwards added the enhancement New feature or request label Dec 5, 2023
@BrandonEdwards BrandonEdwards self-assigned this Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant