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
Follow-up to #815/#770. Building the plugin from a clean tree per the
README exposed independent defects (full analysis, measurements and job-
level verification in the PR description):
1. The documented CMake build never registers the pair styles -- the
ML-MATGL/KOKKOS sources are not included; add the cmake includes so a
first build works without the CI workaround.
2. The exported TorchScript model cannot run on a GPU:
spherical_bessel_smooth materialises torch.arange / torch.tensor on the
default device; pin them to the input's device.
3. Ghost rows are still embedded although #815's edge folding guarantees
they are isolated nodes (no incoming message, zero force): size the node
buffers to nlocal. Measured 3.00x model-node work at 32 A (1,248 local
+ 2,502 ghost), 1.82x at 64 A, 1.51x at 96 A; end-to-end 1.71x / 1.46x /
1.38x at those sizes.
4. export_matgl_checkpoint.py imports modules that no longer exist; fix to
the public entry points.
5. python_reference.py printed a stress whose sign convention invites
misreading against LAMMPS thermo output; label it and print both.
6. README: document the cmake includes, the single-rank constraint and the
GPU export step.
The CPU virial sign issue we also found is deliberately NOT touched here:
it is fixed by #825 with a finite-difference CI validation, and this PR's
description records our independent corroborating measurement.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments