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: bool

    give the calculator a get_hessian that predicts analytic Hessians (fairchem’s predict_untrained_hessian for task_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. With False, Hessians are finite differences of the forces.


Feedback

Examples

Templates

Documentation