"...en/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "f1d052c5b8a4401e0e60352ddfeaafbb203e5bbf"
add a helper to record layers in a model
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/418 This diff adds a function that can be used to add `CachedLayers` to a model. Function iterates over named modules and dynamically mixes in `CachedLayer` to target modules. This diff adds a function to remove the cached layers. Reviewed By: Minione Differential Revision: D40285806 fbshipit-source-id: 3137d19927d8fb9ec924a77c9085aea29fe94d5e
Showing
Please register or sign in to comment