rupeshs/fastsdcpu
Fast stable diffusion on CPU and AI PC
What it solves
FastSD CPU enables high-speed image generation using Stable Diffusion on CPUs, overcoming the typical slowness of CPU-based inference. It allows users to generate images in as little as one step, significantly reducing the time required to create visuals on hardware that lacks a powerful dedicated GPU.
How it works
The project utilizes Latent Consistency Models (LCM) and Adversarial Diffusion Distillation (ADD) to reduce the number of inference steps needed. It leverages Intel's OpenVINO toolkit to further accelerate performance on CPUs, integrated GPUs (iGPUs), and NPUs. To save memory and increase speed, it supports Tiny AutoEncoders (TAESD), which replace the standard decoder to reduce RAM usage and latency.
Who it’s for
It is designed for users who want to run Stable Diffusion locally on Windows, Linux, Mac, Android (via Termux), or Raspberry Pi 4, particularly those without high-end NVIDIA GPUs.
Highlights
- Multi-Interface Support: Offers a Desktop GUI (Qt), a WebUI for advanced features, and a Command Line Interface (CLI).
- Extreme Speed: Capable of generating a 512x512 image in 0.82 seconds on a Core i7-12700 using OpenVINO and SDXS-512-0.9.
- Broad Model Support: Compatible with SD 1.5, SDXL, SD Turbo, SDXL-Lightning, FLUX.1, and FLUX.2-klein.
- C-Suite Features: Includes support for LoRA, ControlNet, image-to-image, image variations, and image editing (restoration and colorization).
- Hardware Optimization: Specifically optimized for Intel AI PCs, including support for Lunar Lake NPUs.
Related
- Dispatch
- Project
- Dispatch
- Project
- Dispatch