Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions deepmd/pt/model/descriptor/repflow_layer.py
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you need to abort modifications in this file, which means to keep exact modifications in commit iProzd@28803d9 and I passed all the uts.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you need to abort modifications in this file

Did you mean you'll submit another PR to this branch?

Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,10 @@ def optim_edge_update(

# nf * nloc * node/edge_dim
sub_node_update = torch.matmul(node_ebd, node)
# nf * nall * node/edge_dim
sub_node_ext_update = torch.matmul(node_ebd_ext, node_ext)
# nf * nloc * nnei * node/edge_dim
sub_node_ext_update = _make_nei_g1(sub_node_ext_update, nlist)
gathered_node_ebd_ext = _make_nei_g1(node_ebd_ext, nlist)
# nf * nloc * nnei * node/edge_dim
sub_node_ext_update = torch.matmul(gathered_node_ebd_ext, node_ext)
# nf * nloc * nnei * node/edge_dim
sub_edge_update = torch.matmul(edge_ebd, edge)

Expand Down