mirror of https://github.com/hpcaitech/ColossalAI
21 lines
531 B
Python
21 lines
531 B
Python
from .checkpoint import MoECheckpointIO
|
|
from .experts import MLPExperts
|
|
from .layers import SparseMLP, apply_load_balance
|
|
from .manager import MOE_MANAGER
|
|
from .routers import MoeRouter, Top1Router, Top2Router, TopKRouter
|
|
from .utils import NormalNoiseGenerator, UniformNoiseGenerator
|
|
|
|
__all__ = [
|
|
"MLPExperts",
|
|
"MoeRouter",
|
|
"Top1Router",
|
|
"Top2Router",
|
|
"TopKRouter",
|
|
"NormalNoiseGenerator",
|
|
"UniformNoiseGenerator",
|
|
"SparseMLP",
|
|
"MoECheckpointIO",
|
|
"MOE_MANAGER",
|
|
"apply_load_balance",
|
|
]
|