stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

Implement callback support for DDIM sampler

Open kylewlacy opened this issue 3 years ago • 0 comments

This PR updates the optimizedSD's DDIM sampler to support passing in callbacks via the callback and img_callback args, just like what the PLMS sampler supports. These arguments automatically get passed when calling the DDPM.sample() method, so it now automatically works regardless of the sampler used.

kylewlacy avatar Sep 13 '22 03:09 kylewlacy