stan-dev / httpstan

HTTP interface to Stan, a package for Bayesian inference.
ISC License
40 stars 15 forks source link

Allow users to set `num_threads` (available in Stan 2.28) #578

Closed riddell-stan closed 2 years ago

riddell-stan commented 3 years ago

Allow users to use multiple threads during sampling.

Relevant code is here: https://github.com/stan-dev/cmdstan/blob/c299040e3d459e594057a5b9066411feca9933fd/src/cmdstan/command.hpp#L335

There will need to be tests added which check that things are actually working as anticipated. Something computationally intensive involving reduce_sum would be enough, I think.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.