Checkpointing with CmdStanPy

Hello all,

Following the thread on checkpointing with Stan, is there any tutorial that was created on this? My wall time limit is 24 hrs and the full model takes a few days to sample (using reduce_sum with 90 cores).

Thanks!

2 Likes

Hi, Iā€™m not sure if there are any official tutorial

Here is one example with PyStan + ArviZ

And also here

Both of these assume that warmup can be done in 1 step (1 run).

1 Like

Thanks! I wish there could me such a nice example with CmdStanPy as well!
What would be the inv_metric equivalent from the cmdstan csv output file?
Is last_position simply the final value of the cmdstan output file for each parameter?

Thanks!