mirror of https://github.com/hpcaitech/ColossalAI
[fx] allow control of ckpt_codegen init (#2498)
* [fx] allow control of ckpt_codegen init Currently in ColoGraphModule, ActivationCheckpointCodeGen will be set automatically in __init__. But other codegen can't be set if so. So I add an arg to control whether to set ActivationCheckpointCodeGen in __init__. * code stylepull/2499/head
parent
e327e95144
commit
5db3a5bf42
Loading…
Reference in new issue