diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Support Residual Classifier-Free Guidance (RCFG) ?

Open soryxie opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. In text2img/img2img pipelines, we use Classifier-free guidance (CFG) to enhance the effect of the condition, which requires 2n computations of model (U-Net): unconditioning term and the original conditioning term.

Describe the solution you'd like. https://arxiv.org/abs/2312.12491 in this work, they introduce RCFG that reduces computations to only n and n+1 times. Will we support this as an alternative featrue? Thanks:)

soryxie avatar May 05 '24 04:05 soryxie