mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-06 11:32:10 +00:00
[Tensor] remove ParallelAction, use ComputeSpec instread (#1166)
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import torch
|
||||
|
||||
from typing import Optional
|
||||
from copy import copy
|
||||
|
||||
from colossalai.tensor.colo_tensor import ColoTensor
|
||||
from colossalai.tensor.const import TensorType
|
||||
import torch
|
||||
from colossalai.tensor import TensorSpec, distspec
|
||||
from copy import copy
|
||||
from colossalai.tensor.param_op_hook import ParamOpHookManager
|
||||
from typing import Optional
|
||||
|
||||
|
||||
def filter_args(func, *args):
|
||||
|
Reference in New Issue
Block a user