jaxrens.cli.resolve¶
Resolution layer: pydantic schemas -> library dataclasses.
resolve is the single seam between the CLI config layer and the
library core. It always returns one ResolvedConfig carrying a
batcher field that picks the execution topology:
SingleRun()when the YAML implies a single NS run (scalarensemble.pressure, no inter-RE replica-axis list).PmapVmapRuns(n_gpu, n_per_gpu)when the YAML implies multiple replicas (list-valued pressure,inter_re.composition_targets,inter_re.chemical_potentials).
There is no longer a separate “cohort” (independent sequential) path.
Functions
Translate a validated |
|
Make every resolver decision that needs no backend and no walkers. |
Classes
All library dataclasses produced by |
|
Holds the resolved initial state arrays for a single run. |
|
What the resolver can decide without materialising anything. |