mirror of https://github.com/InternLM/InternLM
Merge branch 'feature_add_moe' of https://github.com/blankde/InternLM into feature_add_moe
commit
75774e0b5e
|
@ -6,12 +6,14 @@ from .linear import FeedForward, RewardModelLinear, ScaleColumnParallelLinear
|
|||
from .metrics import AccPerplex
|
||||
from .modeling_internlm import build_model_with_cfg
|
||||
from .modeling_moe import build_model_with_moe_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