Closed CheukHinHoJerry closed 1 week ago
Describe the bug Stresses returning from mace are all zero at commit edc6b74.
edc6b74
To Reproduce two observations, the rmse stress not changing up to this number of digits like 0.05464624650477866 , or
rmse stress
0.05464624650477866
mp0b_path = "mace_agnesi_medium.model" model_mp0b = MACECalculator(model_paths=mp0b_path, device="cuda") at.set_pbc(True) # some ase `Atoms` at.set_calculator(model_mp0b) print(at.get_stress()) # returns [0, 0, 0, 0, 0, 0]
Checking out to commit 122a50c solves the problem (returning non-zero stress). Probably a bug introduced since then.
122a50c
Expected behavior matching stress return in commit 122a50c.
I will try to see if I manage to fix this today.
Actually I found the bug, just pushed a fix. Thank you! @CheukHinHoJerry Can you try again?
ah sorry I as in a meeting. Will try it now.
Looks good. Thank you for fixing that.
Describe the bug Stresses returning from mace are all zero at commit
edc6b74
.To Reproduce two observations, the
rmse stress
not changing up to this number of digits like0.05464624650477866
, orChecking out to commit
122a50c
solves the problem (returning non-zero stress). Probably a bug introduced since then.Expected behavior matching stress return in commit
122a50c
.I will try to see if I manage to fix this today.