Skip to content

fast-stable-diffusion, +25% speed increase + memory efficient.

Notifications You must be signed in to change notification settings

kaneda2004/fast-stable-diffusion

 
 

Repository files navigation

fast-stable-diffusion, +25% speed increase + memory efficient.

2 Colab adaptations for both hlky AUTOMATIC1111 Webui versions of stable diffusion implementing the optimization suggested by https://github.com/MatthieuTPHR : huggingface/diffusers#532, using the MemoryEfficientAttention implementation from xformers (cc. @fmassa, @danthe3rd, @blefaudeux) to both speedup the cross-attention speed and decrease its GPU memory requirements.

All you have to do is enter your huggingface token only once and you're all set, the colabs will install the repos and the models inside Gdrive, so the loading will be fast everytime you use it, enjoy !!

hlky WEBUI Open In Colab

AUTOMATIC1111 WEBUI Open In Colab

About

fast-stable-diffusion, +25% speed increase + memory efficient.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%