mirror of https://github.com/hpcaitech/ColossalAI
16 lines
607 B
Python
16 lines
607 B
Python
from .spec import ComputePattern, ParallelAction, TensorSpec
|
|
from .op_wrapper import (
|
|
colo_op_impl,)
|
|
from .colo_tensor import ColoTensor
|
|
from .colo_parameter import ColoParameter
|
|
from .utils import convert_parameter, named_params_with_colotensor
|
|
from ._ops import *
|
|
from .optim.colo_optimizer import ColoOptimizer
|
|
from . import dist_spec
|
|
from .dist_spec_mgr import DistSpecManager
|
|
|
|
__all__ = [
|
|
'ColoTensor', 'convert_parameter', 'colo_op_impl', 'ComputePattern', 'TensorSpec', 'ParallelAction',
|
|
'named_params_with_colotensor', 'ColoOptimizer', 'ColoParameter', 'dist_spec', 'DistSpecManager'
|
|
]
|