SO3LR Tauri: machine-learned force fields for reactive (bio)molecular simulations, from H to At
★ 301⑂ 45👁 5⑃ 52● 30▤ 3
+0
日增长
+2
周增长
301
stars
45
forks
5
watchers
52
prs
30
issues
3
releases
README
!workflow-test-ci
About
SO3LR - pronounced Solar - is a pretrained machine-learned force field for
(bio)molecular simulations. It integrates the fast and stable SO3krates neural
network for semi-local interactions with universal pairwise force fields designed
for short-range repulsion, long-range electrostatics, and dispersion interactions.
Installation
Try SO3LR without any local installation using our
light web version or
Colab notebook.
We recommend installing SO3LR with uv (it's magical):
shell
git clone https://github.com/general-molecular-simulations/so3lr.git
cd so3lr
uv sync --locked --extra cuda12 GPU; drop --extra cuda12 for CPU
source .venv/bin/activate
so3lr --help
If JAX is already installed on your cluster (CUDA or ROCm), install SO3LR
into that environment:
shell
git clone https://github.com/general-molecular-simulations/so3lr.git
cd so3lr
uv pip install ".[cuda12]" NVIDIA GPU; ROCm or CPU: uv pip install .
so3lr --help
See the installation guide for optional extras.
More details about JAX installation can be found here.
Quick start
SO3LR provides a command-line interface for geometry optimization, molecular
dynamics and evaluation. Each command can be run with --help to see all
available options.
shell
Geometry optimization
so3lr opt --input geometry.xyz --force-conv 0.05
NVT and NPT molecular dynamics
so3lr nvt --input geometry.xyz --temperature 300 --dt 0.5 --md-cycles 100 --md-steps 100
so3lr npt --input geometry.xyz --temperature 300 --pressure 1.0 --dt 0.5 --md-cycles 100 --md-steps 100
Evaluation on a dataset
so3lr eval --datafile dataset.extxyz --lr-cutoff 100 --save-to predictions.extxyz
For longer simulations, use a settings file, so3lr --settings settings.yaml
(see molecular dynamics).
To use SO3LR as an ASE calculator:
python
from ase.io import read
from so3lr import So3lrCalculator
atoms = read("geometry.xyz")
atoms.info["charge"] = 0 total charge; 0 if unset
atoms.calc = So3lrCalculator(model="so3lr-tauri-m", lr_cutoff=100)
energy = atoms.get_potential_energy()
forces = atoms.get_forces()
Units are eV and Å. On the command line, periodic structures use PME for
electrostatics and dispersion with a 10 Å real-space cutoff (2 Å smearing,
1.55 Å mesh), as in the paper's liquid and scaling simulations. The original so3lr model keeps real space
up to 12 Å, as in v0.1.0. The Python calculators default to 12 Å without k-space. For
gas-phase simulations, we suggest using --lr-cutoff 100.
Models
The models are bundled with the package and selected by name. The SO3LR Tauri
models cover H to At (Z = 1–85) and are described in the
SO3LR Tauri preprint.
- so3lr-tauri-m (default): start here; the model we use for biomolecular MD.
- so3lr-tauri-l: the most accurate, recommended for reactions; 3.7× slower
than -m.
- so3lr-tauri-s: 1.4× faster than -m.
- so3lr: the original model from the
JACS paper, for H, C, N, O, F, P, S and
Cl, kept to reproduce published results.
Use Top issues
#3Functionality to allow for finetuning6 comments · 2024-10-12#36Feasibility of implicit-solvent MD: access to per-atom charges / electrostatic energy decomposition3 comments · 2026-08-21#30Using Filters in ASE3 comments · 2025-12-16#2ValueError: vmap got inconsistent sizes for array axes to be mapped3 comments · 2024-10-10#1PyPI Package3 comments · 2024-10-09#55Enhanced sampling without flash; PBC .xyz output2 comments · 2026-11-06#23Regression in main branch: So3lrCalculator fails for periodic systems2 comments · 2025-07-10#10Error during evaluating model using command evaluate_so3krates_sparse_on 2 comments · 2024-12-26
Latest release
v0.2.0 v0.2.0 2026-11-24🌞 SO3LR v0.2.0 Release Notes This release introduces the SO3LR Tauri models, the flash MD engine with multi-GPU support, the SO3krates code inside the repository for training and fine-tuning, and many other features and fixes (see below). Extended docs moved to so3lr.github.io. New Features - SO3LR Tauri models (so3lr-tauri-s, -m, -l) covering H to At (Z = 1–85). so3lr-tauri-m is the new default, -l is the most accurate (recommended for reactions), and -s is the fastest. Each model also has a dated name (for example so3lr-tauri-m-2606) that always refers to the same weights; the earlie