UMABackend
FAIRChem UMA models ('uma-s-1p2' on the omol task by default)
model_types: dict
@classmethod
handle_specialization(cls, tag):
@classmethod
setup_calculator(cls, model='uma-s-1p2', device=None, task_name=None, model_dir=None, login=None, hf_token=None, predict_unit_options=None, enable_hessians=True, **settings):
enable_hessians:boolgive the calculator a
get_hessianthat predicts analytic Hessians (fairchem’spredict_untrained_hessianfortask_name). FAIRChem computes every enabled property on every call, so the Hessian comes from a second predict unit built on the first Hessian request (uncompiled, since fairchem’s compiled models don’t support the double backward pass); energy and force calls cost the same as without it. WithFalse, Hessians are finite differences of the forces.