ColossalAI/colossalai/nn/layer/moe/__init__.py

9 lines
389 B
Python
Raw Normal View History

2022-02-27 14:28:39 +00:00
from .experts import Experts, FFNExperts, TPExperts
2022-03-22 08:48:22 +00:00
from .layers import MoeLayer, Top1Router, Top2Router, MoeModule
from .utils import NormalNoiseGenerator, UniformNoiseGenerator, build_ffn_experts
2022-01-07 07:08:36 +00:00
2022-02-27 14:28:39 +00:00
__all__ = [
'Experts', 'FFNExperts', 'TPExperts', 'Top1Router', 'Top2Router', 'MoeLayer', 'NormalNoiseGenerator',
2022-03-22 08:48:22 +00:00
'UniformNoiseGenerator', 'build_ffn_experts', 'MoeModule'
2022-02-27 14:28:39 +00:00
]