Skip to content

Kris248/fastsdcpu

 
 

Repository files navigation

FastSD CPU ✨

Faster version of stable diffusion running on CPU.

Took 10 seconds to generate single 512x512 image on Core i7-12700(With OpenVINO).

Based on Latent Consistency Models .

Screenshot

Features

  • Supports 256,512,768 image sizes
  • Supports Windows and Linux
  • Saves images
  • Settings to control,steps,guidance and seed
  • Added safety checker setting
  • Maximum inference steps increased to 25
  • OpenVINO support

OpenVINO support

Thanks deinferno for the OpenVINO model contribution. Currently, it is tested on Windows only,by default it is disabled. We found a 50% speed improvement using OpenVINO.It Took 10 seconds to generate single 512x512 image on Core i7-12700

LCM Models

Currently LCM model(Dreamshaper_v7) is supported (Diffuser format).

FastSD CPU on Windows

You must have a working Python installation.(Recommended : Python 3.10 or 3.11 )

Clone/download this repo or download release.

Installation

  • Double click install.bat (It will take some time to install,depends on your internet speed.)

Run

  • To start fastsdcpu double click start.bat

FastSD CPU on Linux

Ensure that you have Python 3.8 or higher version installed.

  • Clone/download this repo

  • In the terminal enter into fastsdcpu directory

  • Run the following command

    chmod +x install.sh

    ./install.sh

  • To start FastSD CPU run

    chmod +x start.sh

    ./start.sh

About

Fast stable diffusion on CPU

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.9%
  • Shell 1.6%
  • Batchfile 1.5%