mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2026-07-11 00:56:38 +00:00
* refactor colo-tensor and update linear op * polish code * polish code * update ops and unit tests * update unit tests * polish code * rename dist_spec module * polish code * polish code * remove unneeded import * fix pipelinable
16 lines
605 B
Python
16 lines
605 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 distspec
|
|
from .dist_spec_mgr import DistSpecManager
|
|
|
|
__all__ = [
|
|
'ColoTensor', 'convert_parameter', 'colo_op_impl', 'ComputePattern', 'TensorSpec', 'ParallelAction',
|
|
'named_params_with_colotensor', 'ColoOptimizer', 'ColoParameter', 'distspec', 'DistSpecManager'
|
|
]
|