stan-dev / cmdstan

CmdStan, the command line interface to Stan
https://mc-stan.org/users/interfaces/cmdstan
BSD 3-Clause "New" or "Revised" License
210 stars 93 forks source link

Let generated quantities run in parallel #1253

Closed SteveBronder closed 4 months ago

SteveBronder commented 5 months ago

Summary:

We are using the single threaded API for the generated quantities service, but we have a service layer API for doing multiple generated quantities at once. We should be using that for GQ

command.hpp code

https://github.com/stan-dev/cmdstan/blob/develop/src/cmdstan/command.hpp#L361

multi threaded gqs code https://github.com/stan-dev/stan/blob/develop/src/stan/services/sample/standalone_gqs.hpp#L112

Current Version:

v2.34.1

WardBrian commented 4 months ago

1256