SD.Next: Advanced Implementation of Stable Diffusion
 
 
 
 
Go to file
Vladimir Mandic 2965045993 change offload and upcast defaults
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-12-05 07:58:55 -05:00
.github Update bug_report.yml 2024-07-09 23:28:33 -04:00
.vscode fix vae decode for backend original 2024-09-02 08:23:40 -04:00
cli model-loader allow absolsute path 2024-11-27 15:36:22 -05:00
configs change offload and upcast defaults 2024-12-05 07:58:55 -05:00
extensions add placeholders 2023-01-06 12:15:25 -05:00
extensions-builtin add nvml charts 2024-12-03 09:46:23 -05:00
html custom swagger docs 2024-11-14 10:11:20 -05:00
javascript cleanup nvml 2024-12-03 09:52:15 -05:00
models add sd3.5 2024-10-22 13:29:03 -04:00
modules change offload and upcast defaults 2024-12-05 07:58:55 -05:00
repositories update 2024-10-28 15:32:01 -04:00
scripts lora add fuse 2024-12-02 10:51:41 -05:00
wiki@2a83f725bd add offload warning 2024-12-04 08:47:22 -05:00
.dockerignore add docker support 2024-11-13 17:28:04 -05:00
.eslintrc.json fix api scripts callbacks 2024-11-27 10:07:37 -05:00
.gitignore update docker build 2024-11-14 18:09:53 -05:00
.gitmodules add modernui submodule 2024-04-26 12:32:37 -04:00
.markdownlint.json Add pre-commit. 2023-09-04 13:57:47 +02:00
.pre-commit-config.yaml Add pre-commit. 2023-09-04 13:57:47 +02:00
.pylintrc cleanup custom schedulers 2024-11-19 07:43:30 -05:00
.ruff.toml cleanup custom schedulers 2024-11-19 07:43:30 -05:00
CHANGELOG.md change offload and upcast defaults 2024-12-05 07:58:55 -05:00
CITATION.cff add sd3 controlnets 2024-10-30 14:24:12 -04:00
CODE_OF_CONDUCT update metafiles 2024-04-27 12:02:34 -04:00
CONTRIBUTING update metafiles 2024-04-27 12:02:34 -04:00
Dockerfile update docker and progress monitoring 2024-11-16 10:49:08 -05:00
LICENSE.txt revert license 2024-10-30 18:03:38 -04:00
README.md post release jumbo patch 2024-11-22 12:55:18 -05:00
SECURITY.md change onboarding and remove download default model 2023-12-26 13:06:14 -05:00
TODO.md update requirements and notes 2024-12-02 12:26:27 -05:00
installer.py Merge pull request #3617 from vladmandic/master 2024-12-05 11:44:44 +03:00
launch.py remove tracemalloc 2024-12-02 16:27:22 -05:00
motd add motd 2023-10-09 08:46:48 -04:00
package.json update lint rules 2024-11-21 15:41:38 -05:00
requirements.txt update requirements and notes 2024-12-02 12:26:27 -05:00
webui.bat global crlf to lf 2024-01-10 09:45:26 -05:00
webui.ps1 update startup scripts 2023-11-04 08:22:57 -04:00
webui.py cleanup 2024-11-29 10:22:47 -05:00
webui.sh fix unix launcher to use python from venv 2024-06-11 13:20:32 -04:00

README.md

SD.Next

Image Diffusion implementation with advanced features

Last update License Discord Sponsors

Wiki | Discord | Changelog


Table of contents

SD.Next Features

All individual features are not listed here, instead check ChangeLog for full list of changes

  • Multiple UIs!
    Standard | Modern
  • Multiple diffusion models!
  • Built-in Control for Text, Image, Batch and video processing!
  • Multiplatform!
    Windows | Linux | MacOS | nVidia | AMD | IntelArc/IPEX | DirectML | OpenVINO | ONNX+Olive | ZLUDA
  • Multiple backends!
    Diffusers | Original
  • Platform specific autodetection and tuning performed on install
  • Optimized processing with latest torch developments with built-in support for torch.compile
    and multiple compile backends: Triton, ZLUDA, StableFast, DeepCache, OpenVINO, NNCF, IPEX, OneDiff
  • Improved prompt parser
  • Built-in queue management
  • Enterprise level logging and hardened API
  • Built in installer with automatic updates and dependency management
  • Mobile compatible

Main interface using StandardUI:
screenshot-standardui

Main interface using ModernUI:

screenshot-modernui

For screenshots and informations on other available themes, see Themes Wiki


Model support

Additional models will be added as they become available and there is public interest in them
See models overview for details on each model, including their architecture, complexity and other info

Platform support

  • nVidia GPUs using CUDA libraries on both Windows and Linux
  • AMD GPUs using ROCm libraries on Linux
    Support will be extended to Windows once AMD releases ROCm for Windows
  • Intel Arc GPUs using OneAPI with IPEX XPU libraries on both Windows and Linux
  • Any GPU compatible with DirectX on Windows using DirectML libraries
    This includes support for AMD GPUs that are not supported by native ROCm libraries
  • Any GPU or device compatible with OpenVINO libraries on both Windows and Linux
  • Apple M1/M2 on OSX using built-in support in Torch with MPS optimizations
  • ONNX/Olive
  • AMD GPUs on Windows using ZLUDA libraries

Getting started

[!TIP] And for platform specific information, check out
WSL | Intel Arc | DirectML | OpenVINO | ONNX & Olive | ZLUDA | AMD ROCm | MacOS | nVidia

[!WARNING] If you run into issues, check out troubleshooting and debugging guides

[!TIP] All command line options can also be set via env variable For example --debug is same as set SD_DEBUG=true

Backend support

SD.Next supports two main backends: Diffusers and Original:

  • Diffusers: Based on new Huggingface Diffusers implementation
    Supports all models listed below
    This backend is set as default for new installations
  • Original: Based on LDM reference implementation and significantly expanded on by A1111
    This backend and is fully compatible with most existing functionality and extensions written for A1111 SDWebUI
    Supports SD 1.x and SD 2.x models
    All other model types such as SD-XL, LCM, Stable Cascade, PixArt, Playground, Segmind, Kandinsky, etc. require backend Diffusers

Collab

  • We'd love to have additional maintainers (with comes with full repo rights). If you're interested, ping us!
  • In addition to general cross-platform code, desire is to have a lead for each of the main platforms
    This should be fully cross-platform, but we'd really love to have additional contributors and/or maintainers to join and help lead the efforts on different platforms

Credits

Evolution

starts

Docs

If you're unsure how to use a feature, best place to start is Wiki and if its not there,
check ChangeLog for when feature was first introduced as it will always have a short note on how to use it

Sponsors

Allan GrantBrent OzarMatthew Runoa.v.mantzarisSML (See-ming Lee)