jaxrens.init.burn_in

Fixed-Emax MCMC burn-in to decorrelate live walkers before NS proper.

The burn-in runs the existing MWG step_fn at a constant Emax computed once from the live-walker population. No new MCMC kernel; no modification to ns_step.

Public API:

initial_walk(key, ns_state, step_fn, …, batcher=None) -> NSState

The batcher argument routes the run-axis dispatch:

  • SingleRun (default) — single-run burn-in.

  • VmapRuns(R) — jax.vmap over R runs.

  • PmapVmapRuns(G, P) — jax.pmap(jax.vmap(...)) over G GPUs × P runs.

Parallelism axes:

walker_batch_size: chunk the walker vmap via lax.map(batch_size=N).

Functions

initial_walk

Run fixed-Emax MCMC to decorrelate walkers from their initialization.