facebook/UMA repository.
pip install huggingface_hub[cli] to install the Hugging Face CLI tool. Remember that UMA is a machine-learned potential, so it should be run on a machine with GPUs.~/.bashrc, set the HF_HOME environment variable to some location where storage limits are not much of a concern, like in a scratch directory. For instance, that might look like export HF_HOME=/scratch/gpfs/ROSENGROUP/<NetID>/huggingface. Then make sure to source ~/.bashrc so the changes are reflected.huggingface-cli login and paste your <HFToken> is the token from Step 3. Alternatively, you can define an environment variable named HF_TOKEN in your ~/.bashrc.fairchem code via pip install fairchem-core in the fresh environment that you made in Step 4.model_name variable accordingly.from ase.build import bulkfrom fairchem.core import pretrained_mlip, FAIRChemCalculatoratoms = bulk("Si")model_name = "uma-s-1p1"predictor = pretrained_mlip.get_predict_unit(model_name)calc = FAIRChemCalculator(predictor, task_name="omat")atoms.calc = calce = atoms.get_potential_energy()print(e)