How to specify number of threads in pystan3.7

Hi! I am using pystan 3.7 to run a model with reduce_sum. I notice that there is no extra_compile_args argument in the compile function Can anyone clarify how to use multiple threading in pystan 3.7? Thanks!


Have you found an answer to this question? I am in the same situation as described, and can’t find how to run multiple threads. Is moving to cmdstanpy the only way to run the model with multiple threads from Python?