continue-revolution / sd-webui-animatediff

AnimateDiff for AUTOMATIC1111 Stable Diffusion WebUI
Other
3.05k stars 253 forks source link

Freeinit #458

Closed thiswinex closed 6 months ago

thiswinex commented 6 months ago

Compare to the v2.0.0 version: The FreeInit iteration repeatedly calls cfg_denoiser.forward and the callback function animatediff_on_cfg_denoiser(). To prevent the original_forward from being discarded after the first call, I introduced a getattr() check.