mirror of https://github.com/hpcaitech/ColossalAI
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
516 B
11 lines
516 B
from .checkpoint import load_moe_model, save_moe_model
|
|
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', 'save_moe_model', 'load_moe_model'
|
|
]
|