Good call. That applies to the likelihood part of the computations, but you should also check for redundancy ealier in the model’s computations too. There’s a commented-code walkthrough here.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to speed up `brms::loo_subsample()` for large models | 16 | 1523 | October 25, 2022 | |
Fitting multiple models with multithreading | 1 | 534 | August 14, 2022 | |
Is it possible to run Bayesian hierarchical model with 10million observations? | 20 | 2722 | June 28, 2021 | |
Categorical model with large dataset - large/divergent ELBO & possible combined reduce_sum()/GPU support | 13 | 780 | May 13, 2022 | |
Speeding up MCMC by running on AWS? | 6 | 972 | February 15, 2022 |