[fx] Add activation checkpoint solver rotor (#1496)

* [fx] fix defining ckpt functions inside forward

* [fx] Modify activation checkpoint codegen and add ColoGraphModule

* [fx] some modification

* some modifications

* some modifications

* some modifications

* some modifications

* some code modifications

* [automatic_parallel] ckpt solver rotor

* [fx] add ckpt_solver_rotor

* [fx] modification

* code refactor

* code refactor
This commit is contained in:
Boyuan Yao
2022-08-26 10:34:21 +08:00
committed by GitHub
parent 09c023bee2
commit de1e716dc4
6 changed files with 529 additions and 4 deletions

View File

@@ -1 +1,2 @@
from .tracer import ColoTracer
from .graph_module import ColoGraphModule