xnn.hybnn.fast#

Fast paths of the hybrid-network family (Triton kernels).

The local message sums of SpookyNet (xnn.hybnn.fast.spookynet) and the attention messages of BAMBOO (xnn.hybnn.fast.bamboo) have a fused GPU implementation next to their reference one; FastPathModule explains the contract and use_fast the choice.

Modules

bamboo

Fast path of the BAMBOO graph-equivariant-transformer messages (Triton kernels).

mlp_kernels

Triton kernels and autograd functions of SpookyNet's fused residual MLPs (see xnn.hybnn.fast.spookynet).

spookynet

Fast paths of SpookyNet: a compiled block for evaluation, fused MLPs for training.