jaxrens.backends.mace¶
MACE-JAX energy backend.
Wraps a pre-trained MACE model (loaded via mace-jax) behind the EnergyBackend interface. JIT-compatible neighbor finding via supercell expansion + static-shape edge extraction (jnp.nonzero with size parameter).
mace-jax is an optional dependency. All imports are guarded.
Functions
Create a MACE-JAX energy backend from any supported model file. |
|
Create a MACE backend from a pickle file with graphdef + state. |
|
Classes
MACE-JAX energy backend for jaxrens. |