Hey, I was wondering if it is possible to save the mcmc.run()
state and samples while sampling with NumPyro? I understand that post_warmup_state
can allow to save the warmup state, but I am searching for a solution to the problem of walltime on shared platforms like university clusters, where it would be amazing if the whole chain information was saved every now and then, and then restored if more sampling is needed or the walltime was reached and the job cancelled.
Currently, if the number of samples is not reached before the job is killed, my understanding is that everything is lost.
Many thanks!
Davide