I am trying to reproduce the example in the Readme with CPU instead of CUDA but get the below error:
from mace.calculators import mace_off
from ase import build
atoms = build.molecule('H2O')
calc = mace_off(model="medium", device='cpu')
print(atoms.get_potential_energy())
mace/lib/python3.9/site-packages/ase/atoms.py", line 750, in get_potential_energy
raise RuntimeError('Atoms object has no calculator.')
RuntimeError: Atoms object has no calculator.
I am trying to reproduce the example in the Readme with CPU instead of CUDA but get the below error: