MACEBackendSpec

class jaxrens.cli.schema.backend.MACEBackendSpec(*, periodic=False, softcore_repulsion=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0, type='mace', checkpoint_path, supercell_trafo=(2, 2, 2))[source]

Bases: BaseBackendSpec

MACE-JAX message-passing potential.

Foundation models without a proper short-range repulsive term let walkers collapse at high E_max; pair this with softcore_repulsion (or a minimum_distance constraint) when that happens.

backend:
  type: mace
  checkpoint_path: models/mace_si.model
  periodic: true
  supercell_trafo: [2, 2, 2]
  softcore_repulsion:
    r_core_cut: 1.25
    r_core_switch: 0.75
Parameters:
build_backend()[source]

Construct and return the EnergyBackend instance.

Subclasses override to pass their specific constructor kwargs.

Return type:

EnergyBackend

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

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