ColossalAI
ColossalAI copied to clipboard
[autoparallel] support more flexible data types
Previous problem
The output of majority nodes are a torch.Tensor. However, some kernels, such as split, have a tuple type output, which will lead to the previous implementation broken.
What does this PR do
In this PR, outputs of nodes are not supposed to be a tensor, more flexible data types are supported now.