xnn.gnn.fast.cace_kernels#
Triton kernels and autograd functions of the CACE fast path (see xnn.gnn.fast.cace).
Imported only when the fast path runs, so that triton is needed only there.
The Ar messages summed onto the centers,
m[i, a, s] = sum_{e: dst_e = i} A[src_e, a, s] D[e, g(a), s] (a the angular
entry, g(a) its order, s the radial and edge channels), take one program per
center over its edges in center order. Their gradients take one program per center as
well (its gradient row read once): per edge dD[e, g, s] = sum_{a: g(a) = g} w[i, a, s]
A[src_e, a, s] and the edge’s share u[e, a, s] = w[i, a, s] D[e, g(a), s], then one
program per neighbor sums the shares of its edges (compressed rows,
xnn.common.models.csr). No atomic adds: the sums come out the same in every run.
Functions
|
The |
Classes
|
The gradients of |
|
|