Skip to content

Commit 112c5fe

Browse files
committed
update
1 parent 10025e9 commit 112c5fe

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/core/units/mlip_unit/test_predict.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,13 +927,14 @@ def test_merge_mole_md_consistency(workers, ensemble, device):
927927
the inherent noise between identical runs.
928928
"""
929929
import torch
930+
931+
torch.use_deterministic_algorithms(True)
932+
930933
from ase import units
931934
from ase.md.langevin import Langevin
932935
from ase.md.nptberendsen import NPTBerendsen
933936
from ase.md.velocitydistribution import MaxwellBoltzmannDistribution
934937

935-
torch.use_deterministic_algorithms(True)
936-
937938
# Simple system
938939
atoms_template = bulk("Cu", "fcc", a=3.6)
939940
atoms_template = atoms_template.repeat((2, 2, 2))

0 commit comments

Comments
 (0)