Skip to content

Commit

Permalink
Merge pull request #318 from janosh/mace-mp-https
Browse files Browse the repository at this point in the history
Use HTTPS for MACE MP checkpoint URLs
  • Loading branch information
ilyes319 authored Mar 27, 2024
2 parents 9a1e257 + a7abf74 commit 779789e
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 @@ -60,10 +60,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 779789e

Please sign in to comment.