IterationTerminationSpec

class jaxrens.cli.schema.termination.IterationTerminationSpec(*, type='iteration', max_iterations)[source]

Bases: BaseTerminationSpec

Stop after a fixed number of NS iterations.

The blunt instrument — useful to bound a job’s wall time, but the iteration count that reaches a given temperature scales with n_live, so this does not transfer between configs. Prefer prior_mass.

termination:
  - type: iteration
    max_iterations: 20000
Parameters:
model_config = {'extra': 'forbid', 'frozen': True}

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