Skip to content

Commit

Permalink
use https for MACE MP checkpoint URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Feb 6, 2024
1 parent 480f511 commit a7abf74
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mace/calculators/foundations_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ def mace_mp(
)
elif model in (None, "small", "medium", "large") or str(model).startswith("https:"):
try:
# checkpoints release: https://github.com/ACEsuit/mace-mp/releases/tag/mace_mp_0
urls = dict(
small="http://tinyurl.com/46jrkm3v", # 2023-12-10-mace-128-L0_energy_epoch-249.model
medium="http://tinyurl.com/5yyxdm76", # 2023-12-03-mace-128-L1_epoch-199.model
large="http://tinyurl.com/5f5yavf3", # MACE_MPtrj_2022.9.model
small="https://tinyurl.com/46jrkm3v", # 2023-12-10-mace-128-L0_energy_epoch-249.model
medium="https://tinyurl.com/5yyxdm76", # 2023-12-03-mace-128-L1_epoch-199.model
large="https://tinyurl.com/5f5yavf3", # MACE_MPtrj_2022.9.model
)
checkpoint_url = (
urls.get(model, urls["medium"])
Expand Down

0 comments on commit a7abf74

Please sign in to comment.