Skip to content

Commit c09eda3

Browse files
committed
Merge remote-tracking branch 'origin/main' into extensible-extras
2 parents ada4a3f + ea681c8 commit c09eda3

46 files changed

Lines changed: 3185 additions & 1045 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ jobs:
6161
- { python: '3.14', resolution: highest }
6262
model:
6363
- { name: fairchem, test_path: "tests/models/test_fairchem.py" }
64-
- { name: fairchem-legacy, test_path: "tests/models/test_fairchem_legacy.py" }
6564
- { name: graphpes, test_path: "tests/models/test_graphpes_framework.py" }
6665
- { name: mace, test_path: "tests/models/test_mace.py" }
6766
- { name: mace, test_path: "tests/test_elastic.py" }
6867
- { name: mace, test_path: "tests/test_optimizers_vs_ase.py" }
6968
- { name: mattersim, test_path: "tests/models/test_mattersim.py" }
7069
- { name: metatomic, test_path: "tests/models/test_metatomic.py" }
7170
- { name: nequip, test_path: "tests/models/test_nequip_framework.py" }
71+
- { name: nequix, test_path: "tests/models/test_nequix.py" }
7272
- { name: orb, test_path: "tests/models/test_orb.py" }
7373
- { name: sevenn, test_path: "tests/models/test_sevennet.py" }
7474
exclude:
@@ -77,7 +77,6 @@ jobs:
7777
- version: { python: '3.14', resolution: highest }
7878
model: { name: fairchem, test_path: 'tests/models/test_fairchem.py'}
7979
- version: { python: '3.14', resolution: highest }
80-
model: { name: fairchem-legacy, test_path: 'tests/models/test_fairchem_legacy.py'}
8180
- version: { python: '3.14', resolution: highest }
8281
model: { name: nequip, test_path: 'tests/models/test_nequip_framework.py'}
8382
runs-on: ${{ matrix.os }}
@@ -86,14 +85,6 @@ jobs:
8685
- name: Check out repo
8786
uses: actions/checkout@v4
8887

89-
- name: Check out fairchem repository
90-
if: ${{ matrix.model.name == 'fairchem-legacy' }}
91-
uses: actions/checkout@v4
92-
with:
93-
repository: FAIR-Chem/fairchem
94-
path: fairchem-repo
95-
ref: fairchem_core-1.10.0
96-
9788
- name: Set up Python
9889
uses: actions/setup-python@v5
9990
with:
@@ -106,22 +97,7 @@ jobs:
10697
- name: Set up uv
10798
uses: astral-sh/setup-uv@v6
10899

109-
- name: Install legacy fairchem repository and dependencies
110-
if: ${{ matrix.model.name == 'fairchem-legacy' }}
111-
run: |
112-
if [ -f fairchem-repo/packages/requirements.txt ]; then
113-
uv pip install -r fairchem-repo/packages/requirements.txt --system
114-
fi
115-
if [ -f fairchem-repo/packages/requirements-optional.txt ]; then
116-
uv pip install -r fairchem-repo/packages/requirements-optional.txt --system
117-
fi
118-
uv pip install -e fairchem-repo/packages/fairchem-core[dev] --system
119-
uv pip install -e "." --no-deps --system
120-
uv pip install "h5py>=3.12.1" "numpy>=1.26,<3" "scipy<1.17.0" "tables>=3.10.2" "torch>=2" "tqdm>=4.67" --system
121-
uv pip install "ase>=3.26" "phonopy>=2.37.0" "psutil>=7.0.0" "pymatgen>=2025.6.14" "pytest-cov>=6" "pytest>=8" --resolution=${{ matrix.version.resolution }} --system
122-
123100
- name: Install torch_sim with model dependencies
124-
if: ${{ matrix.model.name != 'fairchem-legacy' }}
125101
run: |
126102
# setuptools <82 provides pkg_resources needed by mattersim and fairchem (via torchtnt).
127103
# setuptools 82+ removed pkg_resources. Remove pin once those packages migrate.
@@ -154,7 +130,7 @@ jobs:
154130
- name: Find example scripts
155131
id: set-matrix
156132
run: |
157-
EXAMPLES=$(find examples -name "*.py" | jq -R -s -c 'split("\n")[:-1]')
133+
EXAMPLES=$(find examples -name "*.py" -not -path "examples/benchmarking/*" | jq -R -s -c 'split("\n")[:-1]')
158134
echo "examples=$EXAMPLES" >> $GITHUB_OUTPUT
159135
160136
test-examples:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ era. By rewriting the core primitives of atomistic simulation in Pytorch, it all
1414
orders of magnitude acceleration of popular machine learning potentials.
1515

1616
* Automatic batching and GPU memory management allowing significant simulation speedup
17-
* Support for MACE, Fairchem, SevenNet, ORB, MatterSim, graph-pes, and metatomic MLIP models
17+
* Support for MACE, Fairchem, SevenNet, ORB, MatterSim, graph-pes, metatomic, and Nequix MLIP models
1818
* Support for classical lennard jones, morse, and soft-sphere potentials
1919
* Molecular dynamics integration schemes like NVE, NVT Langevin, and NPT Langevin
2020
* Relaxation of atomic positions and cell with gradient descent and FIRE

0 commit comments

Comments
 (0)