mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-06 19:40:28 +00:00
fix typo colossalai/auto_parallel autochunk fx/passes etc. (#3808)
This commit is contained in:
@@ -523,7 +523,7 @@ def emit_code_with_activation_checkpoint(body, ckpt_func, nodes, emit_node_func,
|
||||
# append code text to body
|
||||
for idx, node in enumerate(node_list):
|
||||
# if this is the first node of the ckpt region
|
||||
# append the ckpt function defition
|
||||
# append the ckpt function definition
|
||||
if idx in start_idx:
|
||||
label = start_idx.index(idx)
|
||||
ckpt_fn_def = _gen_ckpt_fn_def(label, input_vars[label])
|
||||
|
Reference in New Issue
Block a user