after reading the post, it looks like the cmdstanr backend for brms would be recommended. Is there sample code out there for a brms implementation with cmdstanr backend that sets the inv_metric
? This seems to be the hard part. See Continue Warmup / Sampling after Interruption .