I just upgraded Rstan from 2.26.23 to 2.32.5. I have a model, which I run with a custom init function for initial values, and a set seed in brm(). I noticed that after the update, the same model for the same data samples 20% slower. I re-ran a few other models that I had scripts with seeds set-up, and for all of them the sampling is 20% slower. Is this normal? Or is this a fluke - maybe setting the seed does not reproduce sampling behavior in different versions?
This is my sessionInfo after the update (no other updates besides Rstan):
sessionInfo()
R version 4.3.1 (2023-06-16)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.6 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8 LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8 LC_PAPER=C.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
time zone: Etc/UTC
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rstan_2.32.5 StanHeaders_2.32.5 brms_2.20.4 Rcpp_1.0.11
loaded via a namespace (and not attached):
[1] tidyselect_1.2.0 dplyr_1.1.3 farver_2.1.1 loo_2.6.0 fastmap_1.1.1 tensorA_0.36.2 shinystan_2.6.0 promises_1.2.1 shinyjs_2.1.0
[10] digest_0.6.33 timechange_0.2.0 mime_0.12 lifecycle_1.0.3 ellipsis_0.3.2 processx_3.8.2 magrittr_2.0.3 posterior_1.4.1 compiler_4.3.1
[19] rlang_1.1.1 tools_4.3.1 igraph_1.5.1 utf8_1.2.3 prettyunits_1.2.0 bridgesampling_1.1-2 htmlwidgets_1.6.2 pkgbuild_1.4.2 plyr_1.8.9
[28] dygraphs_1.1.1.6 abind_1.4-5 miniUI_0.1.1.1 grid_4.3.1 stats4_4.3.1 fansi_1.0.5 xts_0.13.1 xtable_1.8-4 colorspace_2.1-0
[37] inline_0.3.19 ggplot2_3.4.3 scales_1.2.1 gtools_3.9.4 cli_3.6.1 mvtnorm_1.2-3 crayon_1.5.2 generics_0.1.3 RcppParallel_5.1.7
[46] rstudioapi_0.15.0 reshape2_1.4.4 stringr_1.5.0 shinythemes_1.2.0 bayesplot_1.10.0 parallel_4.3.1 matrixStats_1.0.0 base64enc_0.1-3 vctrs_0.6.3
[55] Matrix_1.6-1.1 jsonlite_1.8.7 callr_3.7.3 crosstalk_1.2.0 glue_1.6.2 codetools_0.2-19 ps_1.7.5 DT_0.30 distributional_0.3.2
[64] lubridate_1.9.3 stringi_1.7.12 gtable_0.3.4 later_1.3.1 QuickJSR_1.0.6 munsell_0.5.0 tibble_3.2.1 colourpicker_1.3.0 pillar_1.9.0
[73] htmltools_0.5.6.1 Brobdingnag_1.2-9 R6_2.5.1 shiny_1.7.5 lattice_0.21-9 markdown_1.10 backports_1.4.1 threejs_0.3.3 httpuv_1.6.11
[82] rstantools_2.3.1.1 coda_0.19-4 gridExtra_2.3 nlme_3.1-163 checkmate_2.2.0 zoo_1.8-12 pkgconfig_2.0.3