#include #include "registration.h" #include "torch_binding.h" TORCH_LIBRARY_EXPAND(TORCH_EXTENSION_NAME, ops) { ops.def("split_k_attention(Tensor! out, Tensor! partial, Tensor! stats, Tensor q, Tensor k, Tensor v, Tensor kscale, Tensor vscale, Tensor lengths, int partitions) -> ()"); ops.impl("split_k_attention", torch::kCUDA, &split_k_attention); } REGISTER_EXTENSION(TORCH_EXTENSION_NAME)