Archive of AI

Source Snapshot / 2025-05-14-meta-omol25-uma-open-chemistry-3

facebookresearch/fairchem

Linked event: 2025-05-14 · Meta AI (FAIR) and Berkeley Lab Open-Source Quantum Chemistry Dataset OMol25 and Universal Model for Atoms (UMA)

Publisher
GitHub
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / 922e57585bfc6726
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

Skip to content

Navigation Menu

Appearance settings

You signed in with another tab or window. Reload to refresh your session.

You signed out in another tab or window. Reload to refresh your session.

You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

Repository navigation

NotificationsYou must be signed in to change notification settings

Fork532 (532)

Star2.4k (2.4k)You must be signed in to star a repository

FAIR Chemistry's library of machine learning methods for chemistry

facebookresearch.github.io/fairchem/

Code of conduct

Contributing

Security policy

Cite this repository

Custom properties

Report repository

BranchesTags

Open more actions menu

Latest commit

1,545 Commits

Folders and files

Last commit message

Last commit date

.devcontainer

benchmarks/omol

src/fairchem

.gitattributes

.pre-commit-config.yaml

CITATION.cff

CODE_OF_CONDUCT.md

CONTRIBUTING.md

UMA_NITRO_LICENSE_PROVENANCE.md

View all files

Repository files navigation

fairchem by the FAIR Chemistry team

fairchem is the FAIR Chemistry's centralized repository of all its data, models,

demos, and application efforts for materials science and quantum chemistry.

UMA performance

Installation

Pretrained models

Inorganic crystal relaxation

Molecular dynamics

D3 dispersion corrections

Multi-GPU inference and LAMMPS

UMA is now much faster!

Uma-nitro brings blazing speedups to UMA. Currently it is only supported on Nvidia Ampere GPUs and above. Speed is heavily optimized on Hopper series and above for single-gpu single-system mode. On unsupported GPU types, the system will fallback to other non-nitro modes. Stay tuned as we bring nitro support for multi-gpu and batch modes. In the sub 5-10 ms/step regime, ASE integrators starts to become a bottleneck. To achieve the true performance capabilities of these models, we recommend moving to non-python/GPU based integrators.

The vertical axis is force MAE (meV/Å) on the public OMol25 validation set; the

horizontal axis is MD speed (ns/day at a 1 fs timestep) from the mean runtime of an ASE

NVE step on a 1000-atom silicon cell using an NVIDIA H200. See the

benchmark details and reproduction scripts

for the full setup.

For more OMol model accuracy benchmarks, you can also see the

FAIR Chemistry leaderboard.

Please use this logo for references to UMA!

October 2026

UMA Nitro, the new default inference mode, is much faster than turbo for molecular dynamics and relaxations on a single GPU.

On a single NVIDIA H200, it reaches ~6 ns/day for 1,000 atoms in ASE MD

and raw inference throughput equivalent to ~33 ns/day for 150 atoms,

with support for systems up to 15,000 atoms.

Special thanks to Emanuele Arcelli and Max Zhdanov (for their FlashUMA work), Carole-Jean Wu, Christian Puhrsch, Zachary DeVito, Aditya Venkataraman, Michael Lazos, and Animesh Jain, all of whom contributed to and helped improve UMA Nitro.

See UMA Nitro.

Two new UMA-S-1.2.1 models: uma-s-1p2p1-ft-d4rev for molecules (ωB97M-D4rev) and

uma-s-1p2p1-ft-r2scan for materials (r²SCAN, trained on MAD-1.6). These improve a wide range of observables compared to experiments. Please be aware of their limitations.

DFT-D3(BJ) dispersion (including GPU support) for any ASE calculator, with PBE and r²SCAN presets. These make the respective materials tasks significantly more transferable outside of solid-state systems. See

D3 dispersion corrections.

September 2026

Read our new paper on

quantum-accurate atomistic modeling of enzyme catalysis using a machine-learned potential.

UMA playground released, try the interactive educational demo here yourself!

UMA-1.2 released! ~50% faster, ~40% more accurate on Open Molecules test set, and expanded data coverage for catalysts (oxides and interfaces), molecules, and polymers!

October 2025

check out our seamless Multi-node, Multi-GPU and LAMMPs interfaces to run large scale dynamics!

UMA/OMol first released! Read about the UMA model and OMol25 dataset release.

Although not required, we highly recommend installing using a package manager and virtualenv such as uv, it is much faster and better at resolving dependencies than standalone pip.

Install fairchem-core using pip

pip install fairchem-core

If you want to contribute or make modifications to the code, clone the repo and install in edit mode

git clone git@github.com:facebookresearch/fairchem.git

pip install -e fairchem/packages/fairchem-core[dev]

The easiest way to use pretrained models is via the ASE FAIRChemCalculator.

A single uma model can be used for a wide range of applications in chemistry and materials science by picking the

appropriate task name for domain specific prediction.

Instantiate a calculator from a pretrained model

Make sure you have a Hugging Face account, have already applied for model access to the

UMA model repository, and have logged in to Hugging Face using an access token.

You can use the following to save an auth token,

huggingface-cli login

Models are referenced by their name, below are the currently supported models:

Latest version of the UMA small model, fastest of the UMA models while still SOTA on most benchmarks (6.6M/290M active/total params)

uma-s-1p2p1-ft-d4rev

UMA-S-1.2.1 fine-tuned to ωB97M-D4rev for molecular systems; omol task only. See new models

uma-s-1p2p1-ft-r2scan

UMA-S-1.2.1 fine-tuned on r²SCAN data (MAD-1.6) for inorganic materials and beyond; omat task only, not spin-polarized. See new models

Best in class UMA model across all metrics, but slower and more memory intensive than uma-s (50M/1.4B active/total params)

Set the task for your application and calculate

oc20: use this for catalysis

oc22: use this for oxide catalysis (>1p2)

oc25: use this for (electro)catalysis (>1p2)

omat: use this for inorganic materials

omol: use this for molecules+polymers

odac: use this for MOFs

omc: use this for molecular crystals

Relax an adsorbate on a catalytic surface,

from ase.build import fcc100, add_adsorbate, molecule

from ase.optimize import LBFGS

from fairchem.core import pretrained_mlip, FAIRChemCalculator

predictor = pretrained_mlip.get_predict_unit("uma-s-1p2p1", device="cuda")

calc = FAIRChemCalculator(predictor, task_name="oc20")

# Set up your system as an ASE atoms object

slab = fcc100("Cu", (3, 3, 3), vacuum=8, periodic=True)

adsorbate = molecule("CO")

add_adsorbate(slab, adsorbate, 2.0, "bridge")

slab.calc = calc

# Set up LBFGS dynamics object

opt = LBFGS(slab)

opt.run(0.05, 100)

Relax an inorganic crystal,

from ase.build import bulk

from ase.optimize import FIRE

from ase.filters import FrechetCellFilter

calc = FAIRChemCalculator(predictor, task_name="omat")

atoms = bulk("Fe")

atoms.calc = calc

opt = FIRE(FrechetCellFilter(atoms))

Materials Project and OMat24 DFT settings: OMat24-trained UMA and legacy

inorganic models use DFT and DFT+U total-energy labels that are not compatible

with Materials Project calculations. Use the OMat24 reference unary compounds

and MP2020-style anion and GGA/GGA+U mixing corrections from the

OMat24 Hugging Face repository.

Do not apply Materials Project reference compounds or MP2020 corrections

directly. Take care when comparing formation energies or energies above hull

with Materials Project results: pseudopotentials differ, and magnetic ground

states may differ as well.

Run Molecular Dynamics (MD)

Note: pretrained_mlip.get_predict_unit() currently uses a seed to set the global state of the numpy RNG. In order to obtain different trajectories for different runs of the following code, we have to set a random seed as shown below:

import numpy as np

from ase import units

from ase.io import Trajectory

from ase.md.langevin import Langevin

from ase.build import molecule

seed = np.random.randint(0, np.iinfo(np.int32).max, dtype=int)

# the default inference mode (nitro) is the fastest for MD on a single GPU

[...内容已截断,完整版请查看原文或 Wayback 快照]