mirror of https://github.com/hpcaitech/ColossalAI
10 lines
434 B
Python
10 lines
434 B
Python
from .experts import Experts, FFNExperts, TPExperts
|
|
from .layers import MoeLayer, MoeModule
|
|
from .routers import MoeRouter, Top1Router, Top2Router
|
|
from .utils import NormalNoiseGenerator, UniformNoiseGenerator, build_ffn_experts
|
|
|
|
__all__ = [
|
|
'Experts', 'FFNExperts', 'TPExperts', 'Top1Router', 'Top2Router', 'MoeLayer', 'NormalNoiseGenerator',
|
|
'UniformNoiseGenerator', 'build_ffn_experts', 'MoeModule', 'MoeRouter'
|
|
]
|