2022-06-29 06:08:40 +00:00
|
|
|
from .process_group import ProcessGroup
|
2022-07-06 08:15:16 +00:00
|
|
|
from .tensor_spec import ColoTensorSpec
|
2022-07-11 07:51:48 +00:00
|
|
|
from .distspec import shard as ShardSpec
|
|
|
|
from .distspec import replicate as ReplicaSpec
|
|
|
|
|
2022-06-23 09:34:59 +00:00
|
|
|
from .compute_spec import ComputeSpec, ComputePattern
|
2022-04-21 06:15:48 +00:00
|
|
|
from .colo_tensor import ColoTensor
|
2022-05-06 04:57:14 +00:00
|
|
|
from .colo_parameter import ColoParameter
|
2022-04-26 06:08:01 +00:00
|
|
|
from .utils import convert_parameter, named_params_with_colotensor
|
2022-05-13 07:13:52 +00:00
|
|
|
from .dist_spec_mgr import DistSpecManager
|
2022-06-13 08:11:53 +00:00
|
|
|
from .param_op_hook import ParamOpHook, ParamOpHookManager
|
2022-06-23 09:34:59 +00:00
|
|
|
from . import distspec
|
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',
|
|
|
|
'distspec', 'DistSpecManager', 'ParamOpHook', 'ParamOpHookManager', 'ChunkManager', 'TensorState', 'ProcessGroup',
|
2022-07-11 07:51:48 +00:00
|
|
|
'ColoTensorSpec', 'TensorSpec', 'ShardSpec', 'ReplicaSpec'
|
2022-04-26 06:08:01 +00:00
|
|
|
]
|