2727# Cache directory for compiled models (under tests/ for easy cleanup)
2828NEQUIP_CACHE_DIR = Path (__file__ ).parent .parent / ".cache" / "nequip_compiled_models"
2929
30- # Zenodo URL for NequIP-OAM-L model (more reliable than nequip.net for CI)
31- NEQUIP_OAM_L_ZENODO_URL = (
32- "https://zenodo.org/records/16980200 /files/NequIP-OAM-L -0.1.nequip.zip?download=1"
30+ # Zenodo URL for NequIP-OAM-S model (more reliable than nequip.net for CI)
31+ NEQUIP_OAM_S_ZENODO_URL = (
32+ "https://zenodo.org/records/18775904 /files/NequIP-OAM-S -0.1.nequip.zip?download=1"
3333)
34- NEQUIP_OAM_L_ZIP_NAME = "NequIP-OAM-L -0.1.nequip.zip"
34+ NEQUIP_OAM_S_ZIP_NAME = "NequIP-OAM-S -0.1.nequip.zip"
3535
3636
3737def _get_nequip_model_zip () -> Path :
38- """Download NequIP-OAM-L model from Zenodo if not already cached."""
38+ """Download NequIP-OAM-S model from Zenodo if not already cached."""
3939 NEQUIP_CACHE_DIR .mkdir (parents = True , exist_ok = True )
40- zip_path = NEQUIP_CACHE_DIR / NEQUIP_OAM_L_ZIP_NAME
40+ zip_path = NEQUIP_CACHE_DIR / NEQUIP_OAM_S_ZIP_NAME
4141
4242 if not zip_path .exists ():
43- urllib .request .urlretrieve (NEQUIP_OAM_L_ZENODO_URL , zip_path ) # noqa: S310
43+ urllib .request .urlretrieve (NEQUIP_OAM_S_ZENODO_URL , zip_path ) # noqa: S310
4444
4545 return zip_path
4646
4747
4848@pytest .fixture (scope = "session" )
4949def compiled_ase_nequip_model_path () -> Path :
50- """Compile NequIP OAM-L model from Zenodo for ASE (with persistent caching)."""
50+ """Compile NequIP OAM-S model from Zenodo for ASE (with persistent caching)."""
5151 NEQUIP_CACHE_DIR .mkdir (parents = True , exist_ok = True )
5252
53- output_model_name = f"mir-group__NequIP-OAM-L__0 .1__{ DEVICE .type } _ase.nequip.pt2"
53+ output_model_name = f"mir-group__NequIP-OAM-S__0 .1__{ DEVICE .type } _ase.nequip.pt2"
5454 output_path = NEQUIP_CACHE_DIR / output_model_name
5555
5656 # Only compile if not already cached
@@ -74,10 +74,10 @@ def compiled_ase_nequip_model_path() -> Path:
7474
7575@pytest .fixture (scope = "session" )
7676def compiled_batch_nequip_model_path () -> Path :
77- """Compile NequIP OAM-L model from Zenodo for batch (with persistent caching)."""
77+ """Compile NequIP OAM-S model from Zenodo for batch (with persistent caching)."""
7878 NEQUIP_CACHE_DIR .mkdir (parents = True , exist_ok = True )
7979
80- output_model_name = f"mir-group__NequIP-OAM-L__0 .1__{ DEVICE .type } _batch.nequip.pt2"
80+ output_model_name = f"mir-group__NequIP-OAM-S__0 .1__{ DEVICE .type } _batch.nequip.pt2"
8181 output_path = NEQUIP_CACHE_DIR / output_model_name
8282
8383 # Only compile if not already cached
0 commit comments