mirror of https://github.com/InternLM/InternLM
import internlm.moe
parent
8acf8455fe
commit
ebf2942746
|
@ -1,5 +1,6 @@
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
|
import internlm.moe # noqa # pylint: disable=W0611
|
||||||
from internlm.core.context import ParallelMode
|
from internlm.core.context import ParallelMode
|
||||||
from internlm.core.context import global_context as gpc
|
from internlm.core.context import global_context as gpc
|
||||||
from internlm.model.linear import FeedForward
|
from internlm.model.linear import FeedForward
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
from internlm.moe.sharded_moe import GShardMOELayer
|
from .sharded_moe import GShardMOELayer
|
||||||
|
|
||||||
__all__ = ["GShardMOELayer"]
|
__all__ = ["GShardMOELayer"]
|
||||||
|
|
Loading…
Reference in New Issue