3 ms·
These guys claim a 50% speedup with a similar approach: https://www.reddit.com/r/StableDiffusion/comments/xmr3ic/speed_up_stable_diffusion_by_50_using_flash/ h
by bloaf 4y ago
These guys claim a 50% speedup with a similar approach:
https://www.reddit.com/r/StableDiffusion/comments/xmr3ic/speed_up_stable_diffusion_by_50_using_flash/ https://www.reddit.com/r/StableDiffusion/comments/xmr3ic/spe...
- eoerl 4y agoyep, same approach but it arrived 3 days later and there's no mention of the [original PR](https://github.com/huggingface/diffusers/pull/532#issuecomment-1250134751 https://github.com/huggingface/diffusers/pull/532#issuecomme...), nice. Else the kernels used in that case -upstream flash attention- are not compatible with all nvidia GPU generations, FYI (xformers' cover a wider range and are generally faster or just pull Flash')