meridian.backend.xla_windowed_adaptive_nuts

Runs tfp.experimental.mcmc.windowed_adaptive_nuts compiled with XLA.

step_callback Optional callable invoked on the host after every MCMC step, adaptation steps included, with the number of chains whose transition diverged. It runs on a JAX callback thread and must be fast; exceptions it raises are reported as warnings. Reporting steps holds the adaptation draws in device memory until the run finishes, which raises the draw-buffer memory by num_adaptation_steps / n_draws. Reporting steps relies on the default trace function, so it cannot be combined with a custom trace_fn.
**kwargs Arguments of tfp.experimental.mcmc.windowed_adaptive_nuts.

The sampler output, as tfp.experimental.mcmc.windowed_adaptive_nuts returns it.

ValueError If both step_callback and trace_fn are given.