2022-04-28 02:55:40 +00:00
|
|
|
from .spec import ComputePattern, ParallelAction, TensorSpec, ShardPattern
|
2022-04-21 06:15:48 +00:00
|
|
|
from .op_wrapper import (
|
|
|
|
colo_op_impl,)
|
|
|
|
from .colo_tensor import ColoTensor
|
2022-04-26 06:08:01 +00:00
|
|
|
from .utils import convert_parameter, named_params_with_colotensor
|
2022-04-21 06:15:48 +00:00
|
|
|
from ._ops import *
|
2022-04-28 07:23:40 +00:00
|
|
|
from .optim.colo_optimizer import ColoOptimizer
|
2022-04-21 06:15:48 +00:00
|
|
|
|
2022-04-26 06:08:01 +00:00
|
|
|
__all__ = [
|
|
|
|
'ColoTensor', 'convert_parameter', 'colo_op_impl', 'ComputePattern', 'TensorSpec', 'ParallelAction',
|
2022-04-28 07:23:40 +00:00
|
|
|
'named_params_with_colotensor', 'ShardPattern', 'ColoOptimizer'
|
2022-04-26 06:08:01 +00:00
|
|
|
]
|