"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "7e5d605518be12fb60f4a177093c55689461c3e5"
[UNet2DConditionModel] add gradient checkpointing (#461)
* add grad ckpt to downsample blocks * make it work * don't pass gradient_checkpointing to upsample block * add tests for UNet2DConditionModel * add test_gradient_checkpointing * add gradient_checkpointing for up and down blocks * add functions to enable and disable grad ckpt * remove the forward argument * better naming * make supports_gradient_checkpointing private
Showing
Please register or sign in to comment