2022-11-08 09:03:50 +00:00
|
|
|
from . import distspec
|
2022-05-06 04:57:14 +00:00
|
|
|
from .colo_parameter import ColoParameter
|
2022-11-08 09:03:50 +00:00
|
|
|
from .colo_tensor import ColoTensor
|
|
|
|
from .comm_spec import CollectiveCommPattern, CommSpec
|
|
|
|
from .compute_spec import ComputePattern, ComputeSpec
|
2022-05-13 07:13:52 +00:00
|
|
|
from .dist_spec_mgr import DistSpecManager
|
2022-11-08 09:03:50 +00:00
|
|
|
from .distspec import ReplicaSpec, ShardSpec
|
2022-12-05 09:11:06 +00:00
|
|
|
from .param_op_hook import ColoParamOpHook, ColoParamOpHookManager
|
2022-11-08 09:03:50 +00:00
|
|
|
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
|
2022-04-21 06:15:48 +00:00
|
|
|
|
2022-04-26 06:08:01 +00:00
|
|
|
__all__ = [
|
2022-07-06 08:15:16 +00:00
|
|
|
'ColoTensor', 'convert_parameter', 'ComputePattern', 'ComputeSpec', 'named_params_with_colotensor', 'ColoParameter',
|
2022-12-05 09:11:06 +00:00
|
|
|
'distspec', 'DistSpecManager', 'ColoParamOpHook', 'ColoParamOpHookManager', 'ProcessGroup', 'ColoTensorSpec',
|
|
|
|
'ShardSpec', 'ReplicaSpec', 'CommSpec', 'CollectiveCommPattern', 'convert_dim_partition_dict',
|
|
|
|
'merge_same_dim_mesh_list'
|
2022-04-26 06:08:01 +00:00
|
|
|
]
|