ColossalAI/colossalai/tensor/__init__.py

16 lines
605 B
Python
Raw Normal View History

from .spec import ComputePattern, ParallelAction, TensorSpec
2022-04-21 06:15:48 +00:00
from .op_wrapper import (
colo_op_impl,)
from .colo_tensor import ColoTensor
2022-05-06 04:57:14 +00:00
from .colo_parameter import ColoParameter
from .utils import convert_parameter, named_params_with_colotensor
2022-04-21 06:15:48 +00:00
from ._ops import *
from .optim.colo_optimizer import ColoOptimizer
from . import distspec
from .dist_spec_mgr import DistSpecManager
2022-04-21 06:15:48 +00:00
__all__ = [
'ColoTensor', 'convert_parameter', 'colo_op_impl', 'ComputePattern', 'TensorSpec', 'ParallelAction',
'named_params_with_colotensor', 'ColoOptimizer', 'ColoParameter', 'distspec', 'DistSpecManager'
]