mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-03 10:06:44 +00:00
[autoparallel] modify comm nodes' memory cost in construct chain (#2263)
* [autoparallel] align the data_ptr with the old version of auto activation checkpoint pipeline * [autoparallel] using fwd_time and bwd_time instead of fwd_flop and bwd_flop * [autoparallel] specifycomm nodes' memory cost in construct chain
This commit is contained in:
@@ -151,6 +151,7 @@ class MetaInfoProp:
|
||||
# fetch other memory informations
|
||||
memory_cost = meta_info.memory_cost
|
||||
graph_info.fwd_mem_tmp = memory_cost.fwd.temp
|
||||
graph_info.fwd_mem_out = memory_cost.fwd.activation
|
||||
graph_info.bwd_mem_tmp = memory_cost.bwd.temp
|
||||
graph_info.bwd_mem_out = memory_cost.bwd.activation
|
||||
|
||||
|
Reference in New Issue
Block a user