Files
FreeToken/python/freetoken/layers/__init__.py
T
Shuo Yang 9dc3ff4ca5 Support minimax m3 (#1)
* feat(minimax_m3): serve MiniMax-M3-NVFP4 single-GPU (block-sparse GQA + MXFP8 dense + swigluoai NVFP4 experts)
2026-08-13 16:22:41 -07:00

47 lines
1.1 KiB
Python

from .activation import gelu_and_mul, gelu_tanh_and_mul, silu_and_mul, swigluoai_and_mul
from .base import BaseOP, OPList, StateLessOP
from .embedding import ParallelLMHead, VocabParallelEmbedding
from .linear import (
LinearColParallelMerged,
LinearOProj,
LinearQKVMerged,
LinearReplicated,
LinearRowParallel,
)
from .moe import MoELayer, OffloadMoELayer, make_moe_layer
from .norm import (
GemmaPlusOneRMSNorm,
GemmaPlusOneRMSNormFused,
GemmaRMSNorm,
RMSNorm,
RMSNormFused,
)
from .rotary import get_rope, set_rope_device
__all__ = [
"silu_and_mul",
"gelu_and_mul",
"gelu_tanh_and_mul",
"swigluoai_and_mul",
"BaseOP",
"StateLessOP",
"OPList",
"VocabParallelEmbedding",
"ParallelLMHead",
"LinearColParallelMerged",
"LinearRowParallel",
"LinearOProj",
"LinearQKVMerged",
"RMSNorm",
"RMSNormFused",
"GemmaRMSNorm",
"GemmaPlusOneRMSNorm",
"GemmaPlusOneRMSNormFused",
"get_rope",
"set_rope_device",
"LinearReplicated",
"MoELayer",
"OffloadMoELayer",
"make_moe_layer",
]