@rok_cesnovar - how exactly can you limit threads per chain via CmdStan?
asking myself this after answering Shira’s question about running CmdStan here: Cmdstanr reduce sum case study, but: unused argument (threads = TRUE)
CmdStanPy is using Python’s subprocess module to spawn new processes - this is limited by cores, not threads. if we compile with STAN_THREADS=TRUE, then TBB theading handles threads, but I don’t see anywhere where you get to actually specify how many threads.
how does threads_per_chain
work in CmdStanR?