jaxrens.init.restart

Load a full NS checkpoint into (live walkers, NS-state bundle).

Used by Mode D: restart_file — crash-recovery restart of a single NS run. Also provides shape-aware dispatch via load_restart for multi-run / multi-GPU checkpoints produced by run_ns_parallel (ndim=1) and run_ns_multi_gpu (ndim=2).

Functions

infer_restart_shape

Infer which run_ns entry-point matches the loaded restart bundle.

load_restart

Load a checkpoint HDF5 file and dispatch based on batch shape.

load_restart_batched

Multi-replica restart loader: flat-layout walker arrays + nested bundles.

Classes

BatchedRestart

Multi-replica restart payload, flat (n_total, K, ...) layout.

RestartBundle

NS-state fields needed to resume a run after a crash.