You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking: Beta GRACE removed.matgl.models.GRACE and its layers have been deleted, along with the tests. Use tensorpotential. (#847)
Fix: float64 inference via potential.double(). M3GNet and CHGNet previously crashed with a
float/double mismatch because several forward paths hard-cast to matgl.float_th or allocated tensors
without a dtype. Potential.forward now casts its float inputs (lat, frac_coords, pbc_offset, state_attr) to the model dtype, and the embedding, three-body and CHGNet line-graph paths follow their
module/input dtype. A global matgl.set_default_dtype("float", 64) is no longer required. In float64,
batched and single-structure predictions agree to ~1e-14 (vs. ~1e-5 GPa stress drift in float32), so
batch-equivalence tests can use tight tolerances. (#846)