ResolvedConfig¶
- class jaxrens.cli.resolve.ResolvedConfig(ns, moves, move_descriptors, backend, base_backend, output, termination, adaptation_policies, init, cell, ensemble_params_per_run=(), initial_walk_config=None, adaptation_cfg=None, inter_re_config=None, constraint_descriptors=(), batcher=None)[source]¶
Bases:
objectAll library dataclasses produced by
resolve().Single-/multi-replica unified type. Shape conventions:
batcher == SingleRun(): arrays ininitcarry shape(K, ...).ensemble_params_per_runis a length-1 tuple.batcher == PmapVmapRuns(G, P): arrays ininitcarry shape(n_total, K, ...)withn_total == G * P.ensemble_params_per_runis a length-n_totaltuple inflat_idx = g * P + porder (matchesinit_ns_multi_gpu).
base_backendis theHamiltonianbuilt fromBackendSpec.build_backend()(the raw MACE / NeuralIL / LJ model) plus the soft-core term when configured — no ensemble correction. The runtime adds anEnsembleTermif needed; the resolver does the same locally just to compute initial energies on the right scale, then discards that Hamiltonian.- Parameters:
ns (NSConfig)
moves (tuple[MoveConfig, ...])
move_descriptors (tuple[MoveKernel, ...])
backend (BackendConfig)
base_backend (EnergyBackend)
output (OutputConfig)
termination (tuple[TerminationCriterion, ...])
adaptation_policies (tuple[ResolvedAdaptationPolicy, ...])
init (ResolvedInit)
cell (CellSpec)
initial_walk_config (Any)
adaptation_cfg (Any)
inter_re_config (Any)
constraint_descriptors (tuple[ConstraintDescriptor, ...])
batcher (SingleRun | VmapRuns | PmapVmapRuns | ShardedSingleRun | None)