← all repositories
facebookresearch/fairchem

Meta's universal chemistry model swaps DFT for a single neural net

One pretrained model, seven chemical domains, no quantum mechanics degree required.

2.2k stars Python Domain AppsML Frameworks
fairchem
Not currently ranked — collecting fresh signals.
star history

What it does

fairchem is Meta FAIR’s consolidated toolkit for machine-learning potentials in chemistry and materials science. It wraps pretrained neural-network models—chiefly the UMA family—into an ASE-compatible calculator, so you can relax crystals, run molecular dynamics, or compute spin gaps without touching a DFT code. The library also bundles datasets, training infrastructure, and multi-GPU inference.

The interesting bit

The UMA models are genuinely domain-agnostic: the same checkpoint switches tasks by changing a string flag (oc20 for catalysis, omat for bulk materials, omol for molecules, etc.). That is unusual in a field where most MLIPs are trained for one bond type and fail embarrassingly outside it. The README also notes multi-node scaling with a single workers=N argument and LAMMPS compatibility, which suggests someone actually cares about production simulation workflows, not just benchmark tables.

Key highlights

  • UMA-s-1.2 claims ~50% faster inference and ~40% better Open Molecules accuracy than the previous release, with expanded oxide and polymer coverage.
  • Three model sizes: uma-s (6.6M active params), uma-m (50M active / 1.4B total); the small model is billed as “fastest while still SOTA on most benchmarks.”
  • Multi-GPU and multi-node MD via Ray; the README cites ~1 ns/day on 100k+ atom systems with uma-s.
  • Direct LAMMPS integration for large-scale dynamics.
  • MIT-licensed code, though model checkpoints carry per-domain licenses.

Caveats

  • Version 2 is a hard break from version 1; old pretrained models and code are incompatible and require a legacy install.
  • UMA/OMat24 models use DFT+U energy labels that are not compatible with Materials Project corrections; the README warns explicitly against mixing MP2020 references with these models.
  • Model access requires a Hugging Face account and token login.
  • The numpy RNG global-state issue in get_predict_unit() is acknowledged; users must manually seed for reproducible or distinct trajectories.

Verdict

Computational chemists and materials simulators who want to trade some accuracy for orders-of-magnitude speedup should evaluate this seriously. Pure quantum-chemistry purists who distrust any neural approximation, or anyone deeply invested in Materials Project thermodynamic conventions, should read the caveats twice before migrating workflows.

Frequently asked

What is facebookresearch/fairchem?
One pretrained model, seven chemical domains, no quantum mechanics degree required.
Is fairchem open source?
Yes — facebookresearch/fairchem is an open-source project tracked on heatdrop.
What language is fairchem written in?
facebookresearch/fairchem is primarily written in Python.
How popular is fairchem?
facebookresearch/fairchem has 2.2k stars on GitHub.
Where can I find fairchem?
facebookresearch/fairchem is on GitHub at https://github.com/facebookresearch/fairchem.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.