mirror of https://github.com/hpcaitech/ColossalAI
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
946 B
19 lines
946 B
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 ColoParamOpHook, ColoParamOpHookManager
|
|
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', 'ColoParamOpHook', 'ColoParamOpHookManager', 'ProcessGroup', 'ColoTensorSpec',
|
|
'ShardSpec', 'ReplicaSpec', 'CommSpec', 'CollectiveCommPattern', 'convert_dim_partition_dict',
|
|
'merge_same_dim_mesh_list'
|
|
]
|