xnn.dnn.fast.physnet#
Fast path of the PhysNet message sums (Triton kernels).
PhysNet’s interaction layer sums G g(r_ij) * (W_J act(x_j) + b_J) over the
neighbors of every atom: the attention-masked features of the neighbors with a
filter linear in the radial basis. That is SchNet’s continuous-filter
convolution without the filter activation and envelope, so the fast path is the
same fused kernel (xnn.gnn.fast.schnet): it gathers, multiplies and sums
in registers, one program per atom, without writing an edge-sized tensor. The
kernel is twice differentiable, so force training takes it as well.
Module Attributes
Edge counts above which |
|
The same for training mode (a step with a force loss, second derivatives included). |
Functions
|
Triton kernels on a CUDA device in float32 or float64. |