diff --git a/colossalai/auto_parallel/tensor_shard/deprecated/constants.py b/colossalai/auto_parallel/tensor_shard/deprecated/constants.py index 91c20d343..3d100b745 100644 --- a/colossalai/auto_parallel/tensor_shard/deprecated/constants.py +++ b/colossalai/auto_parallel/tensor_shard/deprecated/constants.py @@ -1,6 +1,7 @@ -import torch import operator +import torch + __all__ = [ 'ELEMENTWISE_MODULE_OP', 'ELEMENTWISE_FUNC_OP', 'RESHAPE_FUNC_OP', 'CONV_MODULE_OP', 'CONV_FUNC_OP', 'LINEAR_MODULE_OP', 'LINEAR_FUNC_OP', 'BATCHNORM_MODULE_OP', 'POOL_MODULE_OP', 'NON_PARAM_FUNC_OP', 'BCAST_FUNC_OP',