Skip to content

compile problem with use of update.brmsfit in targets pipeline #655

Closed Answered by stuvet
hansvancalster asked this question in Help
Discussion options

You must be logged in to vote

I tried to overcome the same problem for a while. I definitely managed it at some point, but I'm unsure whether I've just accepted recompilation with my current code or not EDIT: I've just checked - it doesn't recompile, even when run on a worker. This was all a few months back, so apologies if I get any of it wrong.

Root causes:

  1. From memory, I believe brms::brm saves the compiled model in /tmp/... & inserts a reference to the file in the resulting brmsfit. After the tempfile has been removed (or if the directory is not mounted to workers) the model recompiles even when update is called. Perhaps @paul-buerkner can confirm/refute?
  2. It seemed that some update.brmsfit options, if missing, tr…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by hansvancalster
Comment options

You must be logged in to vote
1 reply
@stuvet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants