I am trying to use the new reduce_sum functionality in brms (which is a huge, appreciated upgrade!), but am getting a non-intuitive (to me) error message.
The model I am trying to fit is complex and has taken weeks to run using brms in the past. A few weeks ago when I learned about the new reduce_sum functionality, I amended the model to leverage it and started it again. The model finished compiling at the 3 week mark, but did not return the expected brms object; rather, I received this disappointing error message:
The model has successfully run to completion with brms before using across-chain parallelization (but not within-chain parallelization), and I can run the model using the epilepsy data set in the brms vignette with within-chain parallelization successfully.
The code I used to run the model is:
output <- brm([model specified here], data= data, family=bernoulli(link = "logit"), prior = priors_df, refresh = 10, control=list(adapt_delta=0.5), threads = threading(threads = 3, static = TRUE), backend = "cmdstanr", chains = 4, cores = 4, iter = 4000, seed = 1989)
- Operating System: Windows 10 64-bit
- brms Version: 2.14.0
- rstan Version: 2.21.2
Could anyone help me figure out what is going on here? Thanks!