Giter Site home page Giter Site logo

comigor / fast-stable-diffusion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thelastben/fast-stable-diffusion

0.0 1.0 0.0 1.42 GB

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

License: MIT License

JavaScript 2.15% Python 52.43% CSS 1.40% Jupyter Notebook 44.02%

fast-stable-diffusion's Introduction

fast-stable-diffusion colabs, +25-50% speed increase + memory efficient + DreamBooth

2 Colab adaptations for both hlky and AUTOMATIC1111 Webuis 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 !!

         AUTOMATIC1111                                           HLKY                                                  Relaxed mode
                             

If you encounter any issue or you want to update to latest webui version, remove the folder "sd" or "stable-diffusion-webui" from your GDrive (and GDrive trash) and rerun the colab.

fast-dreambooth colab, simple and easy to use

Train your model using this easy simple and fast colab, all you have to do is enter you huggingface token once, and it will cache all the files in GDrive, including the trained model and you will be able to use it directly from the colab, make sure you use high quality reference pictures for the training. Thanks to https://github.com/jachiam for his diffusers to CKPT script, the trained models now can now be used in SD WEBUI from AUTOMATIC1111 and hlky and others.

                                                                                   DreamBooth

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.