ColossalAI/colossalai/tensor/__init__.py

19 lines
600 B
Python
Raw Normal View History

2022-05-06 04:57:14 +00:00
from .colo_parameter import ColoParameter
from .colo_tensor import ColoTensor
from .comm_spec import CollectiveCommPattern, CommSpec
from .param_op_hook import ColoParamOpHook, ColoParamOpHookManager
from .utils import convert_dim_partition_dict, convert_parameter, merge_same_dim_mesh_list, named_params_with_colotensor
2022-04-21 06:15:48 +00:00
__all__ = [
"ColoTensor",
"convert_parameter",
"named_params_with_colotensor",
"ColoParameter",
"ColoParamOpHook",
"ColoParamOpHookManager",
"CommSpec",
"CollectiveCommPattern",
"convert_dim_partition_dict",
"merge_same_dim_mesh_list",
]