Skip to content

MLIP models

Machine-learned potential weights are downloaded at runtime. They are not stored in git and are not included in the Python wheel.

IdRuntimeApproximate sizeDescription
nequix-mp-1Nequix2.8 MBMP-1 universal potential
nequix-mp-1-pftNequix2.8 MBMP-1 PFT variant
nequix-mp-1-pft-nocotrainNequix2.8 MBMP-1 PFT without co-training
nequix-oam-1Nequix2.9 MBOAM-1
nequix-oam-1-pftNequix2.8 MBOAM-1 PFT
nequix-omat-1Nequix2.8 MBOMat-1
nequip-sNequIP5.6 MBNequIP-OAM small
nequip-lNequIP71.8 MBNequIP-OAM large
equiformerEquiformer559.9 MBEquiformer V3 OMat24 direct
equiformer-gradientEquiformer486.2 MBEquiformer V3 OMat24 gradient
hyff-prestoHyFF9.3 MBHyFF presto, charge and spin conditioned
hyff-vivaceHyFF26.7 MBHyFF vivace
hyff-moderatoHyFF139.3 MBHyFF moderato
from atomli.calculators import MLIP
atoms.calc = MLIP("nequix-mp-1")

The first construction downloads the model. Later constructions reuse the cached file.

from atomli.models import default_models_dir, ensure_model, list_models
print(list_models())
print(list_models(runtime="nequip"))
print(default_models_dir())
path = ensure_model("nequix-mp-1")

Set ATOMLI_MODELS_DIR to choose a cache location. Otherwise Atomli uses $XDG_CACHE_HOME/atomli/models when that variable is set, and the platform cache directory when it is not: ~/Library/Caches/atomli/models on macOS, ~/.cache/atomli/models on Linux and other platforms.

HyFF weights come from the upstream v0.2.0 release. Each model is a weights.safetensors file plus a weights.json config, stored together in <cache>/hyff-<name>/. Both files are checked against pinned SHA-256 digests. A local directory that holds the two files also works: MLIP("/models/hyff/presto"). hyff-andante and hyff-largo use architectures that are not implemented and raise ValueError.

Atomli checks the local cache first. If the file is not in the cache, Atomli downloads it from tako.atom.li. If that download fails, Atomli uses the mlip-models GitHub Release as the backup source. The same catalog delivers the SKALA 1.1 QC checkpoint for QC(xc="SKALA-1.1").

Each catalog entry pins a SHA-256 digest and byte size. Cached files are reused only when the digest matches. Downloads use a temporary partial file and become visible at the final cache path only after completion.

From the Atomli repository:

Terminal window
./scripts/download-mlip-models.sh

Prefetch uses the same cache path as MLIP(). In managed environments, set ATOMLI_MODELS_DIR before prefetching and at runtime.

Catalog ids select their recorded runtime automatically. For a direct local path, the MLIP calculator guide explains suffix inference, explicit runtime selection, stress, and device behavior.