mirror of https://github.com/InternLM/InternLM
add moe module to `__init__.py`
parent
85f4d4af58
commit
1986116527
|
@ -5,12 +5,14 @@ from .embedding import Embedding1D, RotaryEmbedding
|
|||
from .linear import FeedForward, RewardModelLinear, ScaleColumnParallelLinear
|
||||
from .metrics import AccPerplex
|
||||
from .modeling_internlm import build_model_with_cfg
|
||||
from .moe import MoE
|
||||
from .multi_head_attention import MHA
|
||||
from .utils import gather_forward_split_backward
|
||||
|
||||
__all__ = [
|
||||
"Embedding1D",
|
||||
"FeedForward",
|
||||
"MoE",
|
||||
"RotaryEmbedding",
|
||||
"RewardModelLinear",
|
||||
"ScaleColumnParallelLinear",
|
||||
|
|
Loading…
Reference in New Issue