Skip to content

Commit

Permalink
change float dtype in test_run_train_foundation
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyes319 committed Sep 2, 2024
1 parent d0a36a1 commit 4e0cc27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_run_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def test_run_train_foundation(tmp_path, fitting_configs):
mace_params["foundation_model"] = "small"
mace_params["hidden_irreps"] = "128x0e"
mace_params["r_max"] = 6.0
mace_params["default_dtype"] = "float32"
mace_params["default_dtype"] = "float64"
mace_params["num_radial_basis"] = 10
mace_params["interaction_first"] = "RealAgnosticResidualInteractionBlock"
mace_params["multiheads_finetuning"] = False
Expand Down Expand Up @@ -427,7 +427,7 @@ def test_run_train_foundation(tmp_path, fitting_configs):
assert p.returncode == 0

calc = MACECalculator(
tmp_path / "MACE.model", device="cpu", default_dtype="float32"
tmp_path / "MACE.model", device="cpu", default_dtype="float64"
)

Es = []
Expand Down Expand Up @@ -536,7 +536,7 @@ def test_run_train_foundation_multihead(tmp_path, fitting_configs):
assert p.returncode == 0

calc = MACECalculator(
tmp_path / "MACE.model", device="cpu", default_dtype="float32"
tmp_path / "MACE.model", device="cpu", default_dtype="float64"
)

Es = []
Expand Down

0 comments on commit 4e0cc27

Please sign in to comment.