2022-03-04 02:46:13 +00:00
|
|
|
from colossalai.zero.sharded_param.sharded_tensor import ShardedTensor
|
2022-03-22 06:36:16 +00:00
|
|
|
from colossalai.zero.sharded_param.sharded_param import ShardedParamV2
|
2022-04-11 15:13:02 +00:00
|
|
|
from colossalai.zero.sharded_param.tensor_utils import (colo_model_data_tensor_move, colo_model_data_tensor_move_inline,
|
|
|
|
colo_model_data_move_to_cpu, colo_model_tensor_clone,
|
|
|
|
colo_tensor_mem_usage)
|
|
|
|
from colossalai.zero.sharded_param.tensorful_state import TensorState, StatefulTensor
|
2022-03-03 04:42:57 +00:00
|
|
|
|
2022-04-11 15:13:02 +00:00
|
|
|
__all__ = [
|
|
|
|
'ShardedTensor', 'ShardedParamV2', 'colo_model_data_tensor_move', 'colo_model_data_tensor_move_inline',
|
|
|
|
'colo_model_data_move_to_cpu', 'colo_model_tensor_clone', 'colo_tensor_mem_usage', 'TensorState', 'StatefulTensor'
|
|
|
|
]
|