run_multi_gpu_from_config

jaxrens.cli.run.run_multi_gpu_from_config(resolved, *, writer_mode='w')[source]

Execute a multi-replica NS dispatch from a multi-replica ResolvedConfig.

Mirrors run_from_config() but ends in run_ns_multi_gpu with per-replica ensemble_params_per_run. Wires all five callbacks with batched-aware variants where needed:

  • ProgressCallback, AdaptationCallback, EnergyCheckCallback — already (G, P)-safe.

  • CheckpointCallback — saves HDF5 with batched shapes via the already-batched-safe io/checkpoint.py path.

  • BatchedTrajectoryCallback — one writer + energy logger per replica, file suffix .run{r:02d}.

Burn-in runs via initial_walk(batched=True) on the stacked (n_total, K, ...)-shaped NSState, before entering run_ns_multi_gpu.

Parameters:

writer_mode (str)

Return type:

dict