mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-04 18:40:28 +00:00
[autoparallel] refactor runtime pass (#2644)
* [autoparallel] refactor runtime pass * add unit test * polish
This commit is contained in:
@@ -6,3 +6,8 @@ OUTPUT_SAVED_MOD = [
|
||||
torch.nn.ReLU,
|
||||
torch.nn.Softmax,
|
||||
]
|
||||
|
||||
# SHAPE_ARGUMENT_OPS contains node with (input, *shape) style args.
|
||||
# This list could be extended if any other method has the same
|
||||
# argument style as view and reshape.
|
||||
SHAPE_ARGUMENT_OPS = [torch.Tensor.view, torch.Tensor.reshape, torch.reshape]
|
||||
|
Reference in New Issue
Block a user