Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/benchmarking/scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
def load_mace_model(device: torch.device) -> MaceModel:
"""Load MACE model for benchmarking."""
loaded_model = mace_mp(
model="medium",
model="medium-mpa-0",
return_raw_model=True,
default_dtype="float64",
device=str(device),
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/1_introduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

# Load the raw model from the downloaded model
loaded_model = mace_mp(
model="medium",
model="medium-mpa-0",
return_raw_model=True,
default_dtype=str(dtype).removeprefix("torch."),
device=str(device),
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/2_structural_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@

# Load MACE model
loaded_model = mace_mp(
model="medium",
model="medium-mpa-0",
return_raw_model=True,
default_dtype=str(dtype).removeprefix("torch."),
device=str(device),
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/3_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@

# Load MACE model
loaded_model = mace_mp(
model="medium",
model="medium-mpa-0",
return_raw_model=True,
default_dtype=str(dtype).removeprefix("torch."),
device=str(device),
Expand Down
4 changes: 2 additions & 2 deletions examples/scripts/5_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@


log.info("Loading MACE model...")
mace = mace_mp(model="medium", return_raw_model=True)
mace = mace_mp(model="medium-mpa-0", return_raw_model=True)
mace_model = MaceModel(
model=mace,
device=device,
Expand Down Expand Up @@ -158,7 +158,7 @@
dtype_elastic = torch.float64

loaded_model = mace_mp(
model="medium",
model="medium-mpa-0",
enable_cueq=False,
device=str(device),
default_dtype=str(dtype_elastic).removeprefix("torch."),
Expand Down
2 changes: 1 addition & 1 deletion examples/scripts/6_phonons.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def require_not_none[T](value: T | None, message: str) -> T:

# Load the MACE model
loaded_model = mace_mp(
model="medium",
model="medium-mpa-0",
return_raw_model=True,
default_dtype=str(dtype).removeprefix("torch."),
device=str(device),
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorials/low_level_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

# load mace_mp using the mace package
loaded_model = mace_mp(
model="medium",
model="medium-mpa-0",
return_raw_model=True,
default_dtype=str(dtype).removeprefix("torch."),
device=str(device),
Expand Down
Loading