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
Browse filesBrowse the repository at this point in the historyBrowse files
Han Wang
committed
docs(dpa4): final-review fix batch — stale docstrings, dead param, error-site wording
Six cosmetic/doc/dead-code fixes, zero behavior change:
- test_dpa4_call_graph.py: reword build_sparse_edges_from_nlist docstring
to describe the graph-route edge contract instead of the deleted
DescrptDPA4.call_with_edges API.
- edge_cache.py: drop the dead atype_flat parameter from
_edge_cache_from_arrays (unused in the body); update both call sites
(dpa4.py::_call_graph_impl, test_dpa4_dpmodel_parity.py).
- dpa4.py: correct _call_graph_impl's Returns docstring to the actual
(n_out_nodes, 1, 1, channels) shape (callers flatten the SO(3)
singleton axes), matching _call_graph_common's docstring.
- test_lammps_dpa4_pt2.py: reword the stale 'with-comm dispatch exercised
at single-rank level' paragraph — DPA4 has no with-comm artifact at all.
- doc/model/dpa4.md: correct three occurrences of 'raises an error at
pair-style setup' to 'raises an error at the first force evaluation'
(the C++ raise fires in the compute dispatch, not at setup time).
- main.py: update --lower-kind help text from the stale 'currently dpa1
with attn_layer=0' to a generic graph-eligible-models description.
0 commit comments