mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 19:13:01 +00:00
[autoparallel] align the data_ptr with the old version of auto activation checkpoint pipeline (#2261)
This commit is contained in:
8
colossalai/auto_parallel/passes/constants.py
Normal file
8
colossalai/auto_parallel/passes/constants.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import torch
|
||||
|
||||
OUTPUT_SAVED_OPS = [torch.nn.functional.relu, torch.nn.functional.softmax, torch.flatten]
|
||||
|
||||
OUTPUT_SAVED_MOD = [
|
||||
torch.nn.ReLU,
|
||||
torch.nn.Softmax,
|
||||
]
|
Reference in New Issue
Block a user