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" }
7776 model : { name: orb, test_path: 'tests/models/test_orb.py' }
7877 - version : { python: '3.14', resolution: highest }
7978 model : { name: fairchem, test_path: 'tests/models/test_fairchem.py'}
80- - version : { python: '3.14', resolution: highest }
81- model : { name: fairchem-legacy, test_path: 'tests/models/test_fairchem_legacy.py'}
8279 - version : { python: '3.14', resolution: highest }
8380 model : { name: nequip, test_path: 'tests/models/test_nequip_framework.py'}
8481 runs-on : ${{ matrix.os }}
8784 - name : Check out repo
8885 uses : actions/checkout@v4
8986
90- - name : Check out fairchem repository
91- if : ${{ matrix.model.name == 'fairchem-legacy' }}
92- uses : actions/checkout@v4
93- with :
94- repository : FAIR-Chem/fairchem
95- path : fairchem-repo
96- ref : fairchem_core-1.10.0
97-
9887 - name : Set up Python
9988 uses : actions/setup-python@v5
10089 with :
@@ -107,22 +96,7 @@ jobs:
10796 - name : Set up uv
10897 uses : astral-sh/setup-uv@v6
10998
110- - name : Install legacy fairchem repository and dependencies
111- if : ${{ matrix.model.name == 'fairchem-legacy' }}
112- run : |
113- if [ -f fairchem-repo/packages/requirements.txt ]; then
114- uv pip install -r fairchem-repo/packages/requirements.txt --system
115- fi
116- if [ -f fairchem-repo/packages/requirements-optional.txt ]; then
117- uv pip install -r fairchem-repo/packages/requirements-optional.txt --system
118- fi
119- uv pip install -e fairchem-repo/packages/fairchem-core[dev] --system
120- uv pip install -e "." --no-deps --system
121- 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
122- 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
123-
12499 - name : Install torch_sim with model dependencies
125- if : ${{ matrix.model.name != 'fairchem-legacy' }}
126100 run : |
127101 # setuptools <82 provides pkg_resources needed by mattersim and fairchem (via torchtnt).
128102 # setuptools 82+ removed pkg_resources. Remove pin once those packages migrate.
0 commit comments