InitialWalkSpec

class jaxrens.cli.schema.init.InitialWalkSpec(*, n_walks=0, walklength=100, adjust_interval=10, emax_offset_per_atom=0.0, only=None, write_initial_walkers=False, walker_batch_size=None)[source]

Bases: BaseModel

Parameters for optional fixed-Emax burn-in walks before nested sampling.

When n_walks > 0, run_from_config runs initial_walk between init_ns and run_ns to decorrelate the live-walker population from initialization artifacts. Burn-in is skipped for Mode D (restart) runs.

Memory-control knob:
walker_batch_size: chunk the per-walker vmap via lax.map.

None = full vmap over all walkers (default; fastest). Any positive int; non-divisors of n_walkers are handled internally by padding.

Deferred fields:

write_initial_walkers: accepted but not yet consumed by the runtime. only: raises NotImplementedError at run time.

Parameters:
  • n_walks (int)

  • walklength (int)

  • adjust_interval (int)

  • emax_offset_per_atom (float)

  • only (str | None)

  • write_initial_walkers (bool)

  • walker_batch_size (int | None)

model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].