ColossalAI/colossalai/legacy/nn/layer/parallel_2p5d/__init__.py

16 lines
465 B
Python
Raw Normal View History

from ._operation import reduce_by_batch_2p5d, split_batch_2p5d
from .layers import (
Classifier2p5D,
Embedding2p5D,
LayerNorm2p5D,
Linear2p5D,
PatchEmbedding2p5D,
VocabParallelClassifier2p5D,
VocabParallelEmbedding2p5D,
)
2021-10-28 16:21:23 +00:00
__all__ = [
'split_batch_2p5d', 'reduce_by_batch_2p5d', 'Linear2p5D', 'LayerNorm2p5D', 'Classifier2p5D', 'PatchEmbedding2p5D',
'Embedding2p5D', 'VocabParallelClassifier2p5D', 'VocabParallelEmbedding2p5D'
2021-10-28 16:21:23 +00:00
]