main
py 20 lines 614 Bytes
Raw
1 # SPDX-License-Identifier: Apache-2.0
2 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project
3 """Cross-platform (Triton) kernels for MiniMax M3 sparse attention."""
4
5 from .index_topk import (
6 minimax_m3_index_decode,
7 minimax_m3_index_decode_score,
8 minimax_m3_index_score,
9 minimax_m3_index_topk,
10 )
11 from .sparse_attn import minimax_m3_sparse_attn, minimax_m3_sparse_attn_decode
12
13 __all__ = [
14 "minimax_m3_index_decode",
15 "minimax_m3_index_decode_score",
16 "minimax_m3_index_score",
17 "minimax_m3_index_topk",
18 "minimax_m3_sparse_attn",
19 "minimax_m3_sparse_attn_decode",
20 ]