mirror of https://github.com/hpcaitech/ColossalAI
18 lines
926 B
Python
18 lines
926 B
Python
from . import distspec
|
|
from .colo_parameter import ColoParameter
|
|
from .colo_tensor import ColoTensor
|
|
from .comm_spec import CollectiveCommPattern, CommSpec
|
|
from .compute_spec import ComputePattern, ComputeSpec
|
|
from .dist_spec_mgr import DistSpecManager
|
|
from .distspec import ReplicaSpec, ShardSpec
|
|
from .param_op_hook import ParamOpHook, ParamOpHookManager
|
|
from .process_group import ProcessGroup
|
|
from .tensor_spec import ColoTensorSpec
|
|
from .utils import convert_dim_partition_dict, convert_parameter, merge_same_dim_mesh_list, named_params_with_colotensor
|
|
|
|
__all__ = [
|
|
'ColoTensor', 'convert_parameter', 'ComputePattern', 'ComputeSpec', 'named_params_with_colotensor', 'ColoParameter',
|
|
'distspec', 'DistSpecManager', 'ParamOpHook', 'ParamOpHookManager', 'ProcessGroup', 'ColoTensorSpec', 'ShardSpec',
|
|
'ReplicaSpec', 'CommSpec', 'CollectiveCommPattern', 'convert_dim_partition_dict', 'merge_same_dim_mesh_list'
|
|
]
|