deepmd.kernels.cute.sezm#
CuTe-DSL fused SO(2) value-path operator for SeZM / DPA4.
This package hosts a single bucketed CuTe operator that folds the entire per-edge value path of SO2Convolution (rotate_to_local -> radial degree mix -> the three-layer gated SO(2) mixing stack -> focus competition) into a fused forward kernel and a matching recompute backward kernel, keeping the per-edge intermediates on chip. It is an opt-in inference path enabled by DP_CUTE_INFER; the final local features are handed to the committed flash-attention aggregation for rotate-back and scatter. Kernel entry points are internal implementation details of the SeZM descriptor; the package-level API only exposes availability and the value-path factory.
Submodules#
Attributes#
Functions#
| Build the fused CuTe value-path entry for a convolution block. |
Package Contents#
- deepmd.kernels.cute.sezm.make_cute_value_path(conv: deepmd.pt.model.descriptor.sezm_nn.so2.SO2Convolution) _CuteSO2ValuePath | None[source]#
Build the fused CuTe value-path entry for a convolution block.
- Parameters:
- conv
SO2Convolution The convolution block to accelerate.
- conv
- Returns:
_CuteSO2ValuePathorNoneThe entry callable when the CuTe backend is available and
convmatches the validated configuration; otherwiseNone(the caller falls back to the reference path).