Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPEG XL support #3600

Closed
wants to merge 249 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
73d6275
JPEG XL support
Disty0 Nov 28, 2024
a43ebc3
Major lora refactor: works on my machine edition
AI-Casanova Nov 24, 2024
f7bccee
Enable stepwise LoRA (untested)
AI-Casanova Nov 24, 2024
4a2d999
Fix multiple LoRA
AI-Casanova Nov 25, 2024
38f467a
euler flowmatch add sigma methods
vladmandic Nov 28, 2024
e519dca
simplify impaint/sketch canvas handling
vladmandic Nov 28, 2024
4524f75
Fix Cascade and add full_vqgan_decode
Disty0 Nov 28, 2024
27e9d9e
Small changes to black-teal-reimagined
Artheriax Nov 29, 2024
ad38d8a
Removed redundant css
Artheriax Nov 29, 2024
88c8a42
Rearrange forms and tab-nav
Artheriax Nov 29, 2024
eeb5950
small changes
Artheriax Nov 29, 2024
d4d00aa
networks page rework
Artheriax Nov 29, 2024
f4bf627
mini changes
Artheriax Nov 29, 2024
ddc6282
detailer add augment setting
vladmandic Nov 29, 2024
fabf74d
update modernui reference
vladmandic Nov 29, 2024
91ca683
lint fixes
vladmandic Nov 29, 2024
ed6d475
modules.lora full integration
vladmandic Nov 29, 2024
ae1ae69
conditional imports and summary timer
vladmandic Nov 29, 2024
998f75c
cleanup
vladmandic Nov 29, 2024
6187696
Fix sequential offload with lora
Disty0 Nov 29, 2024
76d1708
revert networs.py
Disty0 Nov 29, 2024
10dc198
revert sd_models.py
Disty0 Nov 29, 2024
a969c19
lora stats
vladmandic Nov 29, 2024
4a141ba
lora stats
vladmandic Nov 29, 2024
9624cdf
Fix offload issues with lora
Disty0 Nov 29, 2024
bb4ba59
update lora
vladmandic Nov 30, 2024
8800cd6
add stats
vladmandic Nov 30, 2024
cebf1a1
Disable load lora gpu with medvram too
Disty0 Nov 30, 2024
3a50710
lora refactor in progress
vladmandic Nov 30, 2024
2e24463
Improve balanced offload pre forward performance
Disty0 Nov 30, 2024
8347c80
Skip apply_balanced_offload if not needed
Disty0 Nov 30, 2024
902bc91
update lora apply weights and xyz
vladmandic Nov 30, 2024
7003024
update stats
vladmandic Nov 30, 2024
6413c1f
add low/high threshold to balanced offload
vladmandic Dec 1, 2024
4d8b39a
reinit offoad instance on change
vladmandic Dec 1, 2024
5cc8497
Fix NaNs on Intel with Lora + Offloading
Disty0 Dec 1, 2024
d703359
interruptible lora apply
vladmandic Dec 1, 2024
5af1f6c
lora-refactor
vladmandic Dec 1, 2024
c57bc17
balanced offload improvements
vladmandic Dec 1, 2024
56e234c
Reduce balanced offload max gpu memory to 0.70
Disty0 Dec 1, 2024
2ef23bb
memory optimizations
vladmandic Dec 1, 2024
318bbba
cleanup
vladmandic Dec 1, 2024
8bc2c66
lora add fuse
vladmandic Dec 2, 2024
9126483
add bdia sampler
vladmandic Dec 2, 2024
9f86224
Update OpenVINO to 2024.5.0
Disty0 Nov 29, 2024
3df4e87
ZLUDA enable Dynamic attention by default
Disty0 Nov 29, 2024
d0a81c1
prompt token counter fix
Artheriax Dec 1, 2024
dc1c907
small changes and removed useless css
Artheriax Dec 1, 2024
90e5dcc
darker colors and fancy live preview
Artheriax Dec 1, 2024
990d643
Fancy loader
Artheriax Dec 1, 2024
798622e
update light theme
vladmandic Dec 2, 2024
80fd087
update requirements and notes
vladmandic Dec 2, 2024
66de64d
remove tracemalloc
vladmandic Dec 2, 2024
736294e
samplers add custom sigma
vladmandic Dec 3, 2024
6c74fff
add nvml charts
vladmandic Dec 3, 2024
e928dcf
cleanup nvml
vladmandic Dec 3, 2024
d90061b
add offload warning
vladmandic Dec 4, 2024
620539c
lora maintain device
vladmandic Dec 4, 2024
bf89599
pin ultralytics
Disty0 Dec 5, 2024
b588531
pin ultralytics
Disty0 Dec 5, 2024
353431d
change offload and upcast defaults
vladmandic Dec 5, 2024
73c0602
lora one more safe cast
vladmandic Dec 5, 2024
56da810
flux redux allow prompt
vladmandic Dec 5, 2024
1d8922c
safer lora unapply
vladmandic Dec 6, 2024
0c509e5
handle os err
vladmandic Dec 6, 2024
2303d55
remove non-blocking
vladmandic Dec 6, 2024
113db65
update wiki
vladmandic Dec 6, 2024
d822184
lora low memory mode: switching requires manual model reload
AI-Casanova Dec 7, 2024
e180114
Create mkdocs.yml
BinaryQuantumSoul Dec 7, 2024
2892e82
yet another lora refactor
vladmandic Dec 9, 2024
8ac5834
update hotkeys
vladmandic Dec 9, 2024
6c87458
fix preview choice
vladmandic Dec 9, 2024
d40dfc0
lora split te apply
vladmandic Dec 9, 2024
22d9520
fix sd upscale
vladmandic Dec 10, 2024
5dfe26e
reorg settings
vladmandic Dec 10, 2024
f863445
warn on quanto with offload
vladmandic Dec 10, 2024
9bac658
update lora
vladmandic Dec 10, 2024
72d946b
update bug report
vladmandic Dec 10, 2024
ee4b633
optimize balanced offload
vladmandic Dec 10, 2024
bb80f2d
update balanced offload
vladmandic Dec 11, 2024
bbdf5fc
add SD_NO_CACHE env variable
vladmandic Dec 11, 2024
1b8f823
lora add erorr handler for partial offload
vladmandic Dec 11, 2024
7b46963
offload logging
vladmandic Dec 11, 2024
eb9859c
update bnb and increase ui timeouts
vladmandic Dec 11, 2024
e8a9fc2
lora: absolute path, hf download, flux controlnet loras
vladmandic Dec 11, 2024
80937c1
add docs reference
vladmandic Dec 12, 2024
e0895db
IPEX fix Flux
Disty0 Dec 12, 2024
8adf5d0
Fix IPEX 2.5
Disty0 Dec 13, 2024
08f919c
Update to IPEX 2.5.10+xpu
Disty0 Dec 13, 2024
c827201
Fix balanced offload with Cascade
Disty0 Dec 13, 2024
a5d0fa1
major controlnet work, xinsir promax and tiling support
vladmandic Dec 14, 2024
bcded9f
add freescale
vladmandic Dec 15, 2024
0051925
lint updates
vladmandic Dec 15, 2024
42a28cb
update requirements
vladmandic Dec 15, 2024
1215d86
add sana
vladmandic Dec 16, 2024
925ec08
add ufogen
vladmandic Dec 16, 2024
4e44120
update sana
vladmandic Dec 16, 2024
19ed075
update sana and changelog
vladmandic Dec 17, 2024
f8311b8
update readme
vladmandic Dec 17, 2024
adb00b2
add torchao
vladmandic Dec 17, 2024
d938e75
Use apply_compile_model with torchao
Disty0 Dec 17, 2024
9f8a404
update changelog
vladmandic Dec 17, 2024
1c060ca
IPEX enable empty_cache fix for WSL on PyTorch
Disty0 Dec 17, 2024
a3bdee5
update readme
vladmandic Dec 17, 2024
db08fbd
relpath fails when venv is in different drive
lshqqytiger Dec 18, 2024
c034644
update wiki
vladmandic Dec 18, 2024
dfe695b
zluda HIP SDK 6.2 support
lshqqytiger Dec 18, 2024
2ba0193
add sana chi
vladmandic Dec 18, 2024
176acb5
profiling
vladmandic Dec 18, 2024
ee9b014
add ltx-video
vladmandic Dec 18, 2024
9ddd4d7
update changelog and cleanup
vladmandic Dec 19, 2024
f9fda69
uninstall wandb
vladmandic Dec 19, 2024
8c856f6
dont use uv for uninstall
vladmandic Dec 19, 2024
82d6916
add hunyuan video and mochi video
vladmandic Dec 19, 2024
cba014e
update wiki
vladmandic Dec 19, 2024
042e5bf
add sd35-ipadapter and more balanced offload optimizations
vladmandic Dec 20, 2024
14e4a5a
notify on torch install
vladmandic Dec 20, 2024
ff93e1b
IPEX dupe conv2d fix for conv1d and conv3d too
Disty0 Dec 20, 2024
ee594e6
on-the-fly quant for sd35, flux and sana
vladmandic Dec 20, 2024
c19bfc3
lora-direct with bnb
vladmandic Dec 20, 2024
c60c87b
linting
vladmandic Dec 20, 2024
431cb05
ruff updates
vladmandic Dec 20, 2024
0d124d5
update changelog
vladmandic Dec 21, 2024
49b53a5
switch gguf loader
vladmandic Dec 21, 2024
226e513
batch image processing use captions
vladmandic Dec 21, 2024
fd72a32
fix
vladmandic Dec 21, 2024
f72d45a
fix xyz with lora none
vladmandic Dec 21, 2024
32764cb
fix svd i2v
vladmandic Dec 21, 2024
5cc8f56
fix gallery display during generate
vladmandic Dec 21, 2024
8b667b2
flux true-scale and flux ipadapters
vladmandic Dec 21, 2024
ef0b90b
IPEX disable interpolate cpu fallback with IPEX 2.5
Disty0 Dec 22, 2024
312e478
fix wildcards
vladmandic Dec 22, 2024
e993713
update all todo statements
vladmandic Dec 22, 2024
e699e45
Update OpenVINO to 2024.6.0
Disty0 Dec 22, 2024
a53009e
Don't install OpenVINO without --use-openvino
Disty0 Dec 22, 2024
0c7d794
OpenVINO disable model caching by default
Disty0 Dec 22, 2024
dcb9149
fix pag with batch count
vladmandic Dec 22, 2024
acde6f2
new ltxvideo, offloading, quantization
vladmandic Dec 23, 2024
fb804f4
move postprocessing scripts to accordions
vladmandic Dec 23, 2024
90a19a2
css tweaks
vladmandic Dec 23, 2024
e1f5fef
update requirements and changelog
vladmandic Dec 24, 2024
fe3f54e
Deploying to master from @ vladmandic/automatic@f79e85efeb5c43a344c99…
vladmandic Dec 9, 2024
f1c47c9
cleanup
vladmandic Dec 24, 2024
ef8a0f0
prototype image-search
vladmandic Dec 24, 2024
f895180
remove experimental from consistory
vladmandic Dec 24, 2024
f4cb8a1
Better live previews
Disty0 Dec 25, 2024
8f503e5
Live previews add flow_prediction
Disty0 Dec 25, 2024
4ab9603
Move simga calcs to do_set_current_image
Disty0 Dec 25, 2024
f6edbaa
Live previews add a check for txt2img
Disty0 Dec 25, 2024
e746f9b
add granular vae tiling options
vladmandic Dec 25, 2024
bef7789
Fix live previews with detailer
Disty0 Dec 25, 2024
9838f52
set detailer job
vladmandic Dec 25, 2024
33f2baa
size preview image
vladmandic Dec 25, 2024
c529508
update vae tiling defaults and allow hypertile min size setting
vladmandic Dec 25, 2024
26af293
- HunyuanVideo optimizations: full offload, quantization and tiling s…
vladmandic Dec 26, 2024
1717327
Fix PuLID
Disty0 Dec 26, 2024
af52b93
update wiki
vladmandic Dec 26, 2024
05bca57
Fix live preview sigmas with img2img
Disty0 Dec 27, 2024
af3cd44
hide disabled networks and add more previews
vladmandic Dec 27, 2024
8dc5cb9
ltxvideo optimizations
vladmandic Dec 27, 2024
16f4101
minor xyz patch
vladmandic Dec 27, 2024
fabdcf2
css optimizations
vladmandic Dec 27, 2024
dbdb929
sampler flow shift options and fix img2img
vladmandic Dec 27, 2024
a3ad3b6
fix flux pipeline switches
vladmandic Dec 27, 2024
2708056
fix lora legacy loader
vladmandic Dec 28, 2024
70b5266
fix interrogate caption with t5
vladmandic Dec 28, 2024
3d6c7cb
quantization improvements and lora support
vladmandic Dec 28, 2024
ea6282c
cleanup
vladmandic Dec 28, 2024
2478456
lora direct on-demand apply/unapply
vladmandic Dec 29, 2024
0d5c844
refactor lora add_weights
vladmandic Dec 29, 2024
6ea4d71
live preview error handling
vladmandic Dec 29, 2024
14bf2da
typo
vladmandic Dec 29, 2024
b3ae6d4
again
vladmandic Dec 29, 2024
c093e07
livepreview fixes and debug
vladmandic Dec 29, 2024
dcdd6f2
Fix quanto logging with model offload
Disty0 Dec 30, 2024
28f966d
Fix live previews with Flux
Disty0 Dec 30, 2024
77cc167
fix hires batch, sdxl refiner
vladmandic Dec 30, 2024
4f79f86
update live preview
vladmandic Dec 30, 2024
ca5c939
fix kandinsky
vladmandic Dec 30, 2024
a2e1ae4
update live preview
vladmandic Dec 30, 2024
5749b9f
reenable preview sigma calculations
vladmandic Dec 30, 2024
7609e5c
remove all ldm imports when running in native mode
vladmandic Dec 30, 2024
e7f173f
samplers autodetect if sigma is required and available
vladmandic Dec 30, 2024
428a5f2
fix flux unet override load with bnb
vladmandic Dec 30, 2024
62789e2
cleanup
vladmandic Dec 30, 2024
8648033
teacache for ltxvideo
vladmandic Dec 30, 2024
9263b1b
update changelog
vladmandic Dec 30, 2024
741566d
cleanup hdr logging
vladmandic Dec 30, 2024
3474dd1
update changelog
vladmandic Dec 30, 2024
5339531
OpenVINO fix Lora
Disty0 Dec 31, 2024
c584ca9
increase progress timeout
vladmandic Dec 31, 2024
6c49b50
enable debug by default and optimize startup
vladmandic Dec 31, 2024
cde11b4
fix hires and corrections with batch processing
vladmandic Dec 31, 2024
f0942d5
log cleanup
vladmandic Dec 31, 2024
6ad9579
wiki update
vladmandic Dec 31, 2024
cde4585
fix processing with nested calls
vladmandic Dec 31, 2024
5c36d7b
torch 2.6.0 support
vladmandic Dec 31, 2024
5c07b94
OpenVINO fix shapes resolution change and disable re-compile
Disty0 Dec 31, 2024
f0a6df8
Cleanup
Disty0 Dec 31, 2024
0e7977d
fix lora on model change
vladmandic Dec 31, 2024
78c9329
OpenVINO use model hash for signature
Disty0 Dec 31, 2024
42d9327
ui networks initial sort
vladmandic Dec 31, 2024
296ce02
Fix ESRGAN with CPU
Disty0 Dec 31, 2024
12b81ad
Don't reset dynamo on upcaler compile
Disty0 Dec 31, 2024
3808c62
preview use per-job lock instead of global
vladmandic Dec 31, 2024
b0f1848
upadate wiki
vladmandic Dec 31, 2024
5abcb6e
lint fixes
vladmandic Dec 31, 2024
daee93e
add commit info to changelog
vladmandic Dec 31, 2024
39723c3
update lora changed
vladmandic Dec 31, 2024
e1b190e
first update in 2025
vladmandic Jan 1, 2025
35e41c2
allegro
vladmandic Jan 1, 2025
abaa01b
fix vae tiling defaults
vladmandic Jan 1, 2025
e155312
update readme
vladmandic Jan 1, 2025
865dcd9
fix xyz with detailer, sd35 img2img
vladmandic Jan 2, 2025
28d9302
fix scheduler api
vladmandic Jan 2, 2025
697076b
add pixelsmith
vladmandic Jan 3, 2025
17aaa6f
zluda experimental hipblaslt support
lshqqytiger Jan 3, 2025
14d462b
improve metadata
vladmandic Jan 4, 2025
a1fe0f4
fix pulid
vladmandic Jan 5, 2025
346be51
refactor of progress monitoring
vladmandic Jan 5, 2025
3365642
fix controlnet with hires
vladmandic Jan 5, 2025
de679eb
remove legacy restore resolution
vladmandic Jan 5, 2025
fca0add
fix controlnet with batch count
vladmandic Jan 5, 2025
0855007
add tdd scheduler and lint updates
vladmandic Jan 6, 2025
bef1478
update diffusers and register mask_processor
vladmandic Jan 6, 2025
90ff614
refactor detailer
vladmandic Jan 7, 2025
182000e
settings debug
vladmandic Jan 7, 2025
92fed9f
apply settings skip hidden
vladmandic Jan 7, 2025
2a86b3b
hunyuanvideo lora support
vladmandic Jan 7, 2025
7a36812
add detailer to modernui
vladmandic Jan 7, 2025
ff5cb92
flux bnb on-the-fly for unet-only
vladmandic Jan 7, 2025
4bd5c17
fix pbar error
vladmandic Jan 8, 2025
4ef1eec
startup tracing
vladmandic Jan 8, 2025
61d29ab
correct log message
vladmandic Jan 8, 2025
4a2af7b
pipeline restore args after batch and restore pipeline after base
vladmandic Jan 9, 2025
e9cf6a5
ZLUDA 3.8.6
lshqqytiger Jan 10, 2025
2066652
add zluda nightly flag
lshqqytiger Jan 10, 2025
5baba50
fix pulid
vladmandic Jan 10, 2025
ee50aea
control processor handle null output
vladmandic Jan 10, 2025
1516aef
update wiki
vladmandic Jan 10, 2025
a4d9d7f
cleanup
vladmandic Jan 10, 2025
954e09e
reduce control logging
vladmandic Jan 10, 2025
df51587
fix splash on mobile
vladmandic Jan 10, 2025
f7db34e
controlnet load lock
vladmandic Jan 10, 2025
1fc72b6
load thread locks
vladmandic Jan 10, 2025
ba0b715
add vscode launch config
vladmandic Jan 10, 2025
49a7f30
check hipblaslt availability in windows
lshqqytiger Jan 11, 2025
2914393
Fix bug.
lshqqytiger Jan 11, 2025
9ee3921
Move jxl plugin to optional pkgs
Disty0 Jan 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"default-case":"off",
"no-await-in-loop":"off",
"no-bitwise":"off",
"no-continue":"off",
"no-confusing-arrow":"off",
"no-console":"off",
"no-empty":"off",
Expand Down
8 changes: 6 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,14 @@ body:
- StableDiffusion 1.5
- StableDiffusion 2.1
- StableDiffusion XL
- StableDiffusion 3
- PixArt
- StableDiffusion 3.x
- StableCascade
- FLUX.1
- PixArt
- Kandinsky
- Playground
- AuraFlow
- Any Video Model
- Other
default: 0
validations:
Expand Down
5 changes: 5 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ignore-paths=/usr/lib/.*$,
modules/control/units,
modules/ctrlx,
modules/dml,
modules/freescale,
modules/ggml,
modules/hidiffusion,
modules/hijack,
Expand All @@ -25,15 +26,18 @@ ignore-paths=/usr/lib/.*$,
modules/omnigen,
modules/onnx_impl,
modules/pag,
modules/pixelsmith,
modules/prompt_parser_xhinker.py,
modules/pulid/eva_clip,
modules/rife,
modules/schedulers,
modules/taesd,
modules/teacache,
modules/todo,
modules/unipc,
modules/xadapter,
repositories,
extensions-builtin/Lora,
extensions-builtin/sd-webui-agent-scheduler,
extensions-builtin/sd-extension-chainner/nodes,
extensions-builtin/sdnext-modernui/node_modules,
Expand Down Expand Up @@ -148,6 +152,7 @@ disable=abstract-method,
consider-using-min-builtin,
consider-using-max-builtin,
consider-using-sys-exit,
cyclic-import,
dangerous-default-value,
deprecated-pragma,
duplicate-code,
Expand Down
4 changes: 4 additions & 0 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ exclude = [
"modules/consistory",
"modules/control/proc",
"modules/control/units",
"modules/freescale",
"modules/ggml",
"modules/hidiffusion",
"modules/hijack",
Expand All @@ -18,17 +19,20 @@ exclude = [
"modules/meissonic",
"modules/omnigen",
"modules/pag",
"modules/pixelsmith",
"modules/postprocess/aurasr_arch.py",
"modules/prompt_parser_xhinker.py",
"modules/pulid/eva_clip",
"modules/rife",
"modules/schedulers",
"modules/segmoe",
"modules/taesd",
"modules/teacache",
"modules/todo",
"modules/unipc",
"modules/xadapter",
"repositories",
"extensions-builtin/Lora",
"extensions-builtin/sd-extension-chainner/nodes",
"extensions-builtin/sd-webui-agent-scheduler",
"extensions-builtin/sdnext-modernui/node_modules",
Expand Down
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "SD.Next VSCode Debugger",
"type": "debugpy",
"request": "launch",
"program": "launch.py",
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"env": { "USED_VSCODE_COMMAND_PICKARGS": "1" },
"args": [
"--uv",
"--quick",
"--debug",
"--docs",
"--api-log",
"--log", "vscode.log",
"${command:pickArgs}",
]
}
]
}
295 changes: 285 additions & 10 deletions CHANGELOG.md

Large diffs are not rendered by default.

93 changes: 20 additions & 73 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align="center">
<img src="https://github.com/vladmandic/automatic/blob/master/html/logo-transparent.png" width=200 alt="SD.Next">
<img src="https://github.com/vladmandic/automatic/raw/master/html/logo-transparent.png" width=200 alt="SD.Next">

**Image Diffusion implementation with advanced features**

Expand All @@ -8,15 +8,16 @@
[![Discord](https://img.shields.io/discord/1101998836328697867?logo=Discord&svg=true)](https://discord.gg/VjvR2tabEX)
[![Sponsors](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/vladmandic)

[Wiki](https://github.com/vladmandic/automatic/wiki) | [Discord](https://discord.gg/VjvR2tabEX) | [Changelog](CHANGELOG.md)
[Docs](https://vladmandic.github.io/sdnext-docs/) | [Wiki](https://github.com/vladmandic/automatic/wiki) | [Discord](https://discord.gg/VjvR2tabEX) | [Changelog](CHANGELOG.md)

</div>
</br>

## Table of contents

- [Documentation](https://vladmandic.github.io/sdnext-docs/)
- [SD.Next Features](#sdnext-features)
- [Model support](#model-support)
- [Model support](#model-support) and [Specifications]()
- [Platform support](#platform-support)
- [Getting started](#getting-started)

Expand All @@ -25,18 +26,15 @@
All individual features are not listed here, instead check [ChangeLog](CHANGELOG.md) for full list of changes
- Multiple UIs!
▹ **Standard | Modern**
- Multiple diffusion models!
- Multiple [diffusion models](https://vladmandic.github.io/sdnext-docs/Model-Support/)!
- 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
- Optimized processing with latest `torch` developments with built-in support for model compile, quantize and compress
Compile backends: *Triton | StableFast | DeepCache | OneDiff*
Quantization and compression methods: *BitsAndBytes | TorchAO | Optimum-Quanto | NNCF*
- Built-in queue management
- Enterprise level logging and hardened API
- Built in installer with automatic updates and dependency management
- Mobile compatible

Expand All @@ -49,42 +47,13 @@ All individual features are not listed here, instead check [ChangeLog](CHANGELOG

![screenshot-modernui](https://github.com/user-attachments/assets/39e3bc9a-a9f7-4cda-ba33-7da8def08032)

For screenshots and informations on other available themes, see [Themes Wiki](https://github.com/vladmandic/automatic/wiki/Themes)
For screenshots and informations on other available themes, see [Themes](https://vladmandic.github.io/sdnext-docs/Themes/)

<br>

## Model support

Additional models will be added as they become available and there is public interest in them
See [models overview](https://github.com/vladmandic/automatic/wiki/Models) for details on each model, including their architecture, complexity and other info

- [RunwayML Stable Diffusion](https://github.com/Stability-AI/stablediffusion/) 1.x and 2.x *(all variants)*
- [StabilityAI Stable Diffusion XL](https://github.com/Stability-AI/generative-models), [StabilityAI Stable Diffusion 3.0](https://stability.ai/news/stable-diffusion-3-medium) Medium, [StabilityAI Stable Diffusion 3.5](https://huggingface.co/stabilityai/stable-diffusion-3.5-large) Medium, Large, Large Turbo
- [StabilityAI Stable Video Diffusion](https://huggingface.co/stabilityai/stable-video-diffusion-img2vid) Base, XT 1.0, XT 1.1
- [StabilityAI Stable Cascade](https://github.com/Stability-AI/StableCascade) *Full* and *Lite*
- [Black Forest Labs FLUX.1](https://blackforestlabs.ai/announcing-black-forest-labs/) Dev, Schnell
- [AuraFlow](https://huggingface.co/fal/AuraFlow)
- [AlphaVLLM Lumina-Next-SFT](https://huggingface.co/Alpha-VLLM/Lumina-Next-SFT-diffusers)
- [Playground AI](https://huggingface.co/playgroundai/playground-v2-256px-base) *v1, v2 256, v2 512, v2 1024 and latest v2.5*
- [Tencent HunyuanDiT](https://github.com/Tencent/HunyuanDiT)
- [OmniGen](https://arxiv.org/pdf/2409.11340)
- [Meissonic](https://github.com/viiika/Meissonic)
- [Kwai Kolors](https://huggingface.co/Kwai-Kolors/Kolors)
- [CogView 3+](https://huggingface.co/THUDM/CogView3-Plus-3B)
- [LCM: Latent Consistency Models](https://github.com/openai/consistency_models)
- [aMUSEd](https://huggingface.co/amused/amused-256) 256 and 512
- [Segmind Vega](https://huggingface.co/segmind/Segmind-Vega), [Segmind SSD-1B](https://huggingface.co/segmind/SSD-1B), [Segmind SegMoE](https://github.com/segmind/segmoe) *SD and SD-XL*, [Segmind SD Distilled](https://huggingface.co/blog/sd_distillation) *(all variants)*
- [Kandinsky](https://github.com/ai-forever/Kandinsky-2) *2.1 and 2.2 and latest 3.0*
- [PixArt-α XL 2](https://github.com/PixArt-alpha/PixArt-alpha) *Medium and Large*, [PixArt-Σ](https://github.com/PixArt-alpha/PixArt-sigma)
- [Warp Wuerstchen](https://huggingface.co/blog/wuertschen)
- [Tsinghua UniDiffusion](https://github.com/thu-ml/unidiffuser)
- [DeepFloyd IF](https://github.com/deep-floyd/IF) *Medium and Large*
- [ModelScope T2V](https://huggingface.co/damo-vilab/text-to-video-ms-1.7b)
- [BLIP-Diffusion](https://dxli94.github.io/BLIP-Diffusion-website/)
- [KOALA 700M](https://github.com/youngwanLEE/sdxl-koala)
- [VGen](https://huggingface.co/ali-vilab/i2vgen-xl)
- [SDXS](https://github.com/IDKiro/sdxs)
- [Hyper-SD](https://huggingface.co/ByteDance/Hyper-SD)
SD.Next supports broad range of models: [supported models](https://vladmandic.github.io/sdnext-docs/Model-Support/) and [model specs](https://vladmandic.github.io/sdnext-docs/Models/)

## Platform support

Expand All @@ -97,47 +66,25 @@ See [models overview](https://github.com/vladmandic/automatic/wiki/Models) for d
- 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
- *AMD* GPUs on Windows using **ZLUDA** libraries

## Getting started

- Get started with **SD.Next** by following the [installation instructions](https://github.com/vladmandic/automatic/wiki/Installation)
- For more details, check out [advanced installation](https://github.com/vladmandic/automatic/wiki/Advanced-Install) guide
- List and explanation of [command line arguments](https://github.com/vladmandic/automatic/wiki/CLI-Arguments)
- Get started with **SD.Next** by following the [installation instructions](https://vladmandic.github.io/sdnext-docs/Installation/)
- For more details, check out [advanced installation](https://vladmandic.github.io/sdnext-docs/Advanced-Install/) guide
- List and explanation of [command line arguments](https://vladmandic.github.io/sdnext-docs/CLI-Arguments/)
- Install walkthrough [video](https://www.youtube.com/watch?v=nWTnTyFTuAs)

> [!TIP]
> And for platform specific information, check out
> [WSL](https://github.com/vladmandic/automatic/wiki/WSL) | [Intel Arc](https://github.com/vladmandic/automatic/wiki/Intel-ARC) | [DirectML](https://github.com/vladmandic/automatic/wiki/DirectML) | [OpenVINO](https://github.com/vladmandic/automatic/wiki/OpenVINO) | [ONNX & Olive](https://github.com/vladmandic/automatic/wiki/ONNX-Runtime) | [ZLUDA](https://github.com/vladmandic/automatic/wiki/ZLUDA) | [AMD ROCm](https://github.com/vladmandic/automatic/wiki/AMD-ROCm) | [MacOS](https://github.com/vladmandic/automatic/wiki/MacOS-Python.md) | [nVidia](https://github.com/vladmandic/automatic/wiki/nVidia)
> [WSL](https://vladmandic.github.io/sdnext-docs/WSL/) | [Intel Arc](https://vladmandic.github.io/sdnext-docs/Intel-ARC/) | [DirectML](https://vladmandic.github.io/sdnext-docs/DirectML/) | [OpenVINO](https://vladmandic.github.io/sdnext-docs/OpenVINO/) | [ONNX & Olive](https://vladmandic.github.io/sdnext-docs/ONNX-Runtime/) | [ZLUDA](https://vladmandic.github.io/sdnext-docs/ZLUDA/) | [AMD ROCm](https://vladmandic.github.io/sdnext-docs/AMD-ROCm/) | [MacOS](https://vladmandic.github.io/sdnext-docs/MacOS-Python/) | [nVidia](https://vladmandic.github.io/sdnext-docs/nVidia/) | [Docker](https://vladmandic.github.io/sdnext-docs/Docker/)

> [!WARNING]
> If you run into issues, check out [troubleshooting](https://github.com/vladmandic/automatic/wiki/Troubleshooting) and [debugging](https://github.com/vladmandic/automatic/wiki/Debug) 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](https://huggingface.co/docs/diffusers/index) implementation
Supports *all* models listed below
This backend is set as default for new installations
- **Original**: Based on [LDM](https://github.com/Stability-AI/stablediffusion) reference implementation and significantly expanded on by [A1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
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
> If you run into issues, check out [troubleshooting](https://vladmandic.github.io/sdnext-docs/Troubleshooting/) and [debugging](https://vladmandic.github.io/sdnext-docs/Debug/) guides

### Credits

- Main credit goes to [Automatic1111 WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) for original codebase
- Main credit goes to [Automatic1111 WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) for the original codebase
- Additional credits are listed in [Credits](https://github.com/AUTOMATIC1111/stable-diffusion-webui/#credits)
- Licenses for modules are listed in [Licenses](html/licenses.html)

Expand All @@ -154,13 +101,13 @@ This should be fully cross-platform, but we'd really love to have additional con

### Docs

If you're unsure how to use a feature, best place to start is [Wiki](https://github.com/vladmandic/automatic/wiki) and if its not there,
check [ChangeLog](CHANGELOG.md) for when feature was first introduced as it will always have a short note on how to use it
If you're unsure how to use a feature, best place to start is [Docs](https://vladmandic.github.io/sdnext-docs/) and if its not there,
check [ChangeLog](https://vladmandic.github.io/sdnext-docs/CHANGELOG/) for when feature was first introduced as it will always have a short note on how to use it

### Sponsors

<div align="center">
<!-- sponsors --><a href="https://github.com/allangrant"><img src="https://github.com/allangrant.png" width="60px" alt="Allan Grant" /></a><a href="https://github.com/BrentOzar"><img src="https://github.com/BrentOzar.png" width="60px" alt="Brent Ozar" /></a><a href="https://github.com/inktomi"><img src="https://github.com/inktomi.png" width="60px" alt="Matthew Runo" /></a><a href="https://github.com/mantzaris"><img src="https://github.com/mantzaris.png" width="60px" alt="a.v.mantzaris" /></a><a href="https://github.com/CurseWave"><img src="https://github.com/CurseWave.png" width="60px" alt="" /></a><a href="https://github.com/smlbiobot"><img src="https://github.com/smlbiobot.png" width="60px" alt="SML (See-ming Lee)" /></a><!-- sponsors -->
<!-- sponsors --><a href="https://github.com/allangrant"><img src="https://github.com/allangrant.png" width="60px" alt="Allan Grant" /></a><a href="https://github.com/BrentOzar"><img src="https://github.com/BrentOzar.png" width="60px" alt="Brent Ozar" /></a><a href="https://github.com/mantzaris"><img src="https://github.com/mantzaris.png" width="60px" alt="a.v.mantzaris" /></a><a href="https://github.com/CurseWave"><img src="https://github.com/CurseWave.png" width="60px" alt="" /></a><a href="https://github.com/smlbiobot"><img src="https://github.com/smlbiobot.png" width="60px" alt="SML (See-ming Lee)" /></a><!-- sponsors -->
</div>

<br>
31 changes: 20 additions & 11 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,30 @@

Main ToDo list can be found at [GitHub projects](https://github.com/users/vladmandic/projects)

## Future Candidates
## Pending

- SD35 IPAdapter: <https://github.com/huggingface/diffusers/issues/9966>
- SD35 LoRA: <https://github.com/huggingface/diffusers/issues/9950>
- Flux IPAdapter: <https://github.com/huggingface/diffusers/issues/9825>
- Flux NF4: <https://github.com/huggingface/diffusers/issues/9996>
- SANA: <https://github.com/huggingface/diffusers/pull/9982>
- LTX-Video: <https://huggingface.co/Lightricks/LTX-Video> <https://huggingface.co/spaces/Lightricks/LTX-Video-Playground/tree/main>
- LoRA direct with caching
- Previewer issues
- Redesign postprocessing

## Other
## Future Candidates

- Flux NF4 loader: <https://github.com/huggingface/diffusers/issues/9996>
- IPAdapter negative: <https://github.com/huggingface/diffusers/discussions/7167>
- Control API enhance scripts compatibility
- PixelSmith: <https://github.com/Thanos-DB/Pixelsmith>

## Workaround in place
## Code TODO

- GGUF <https://github.com/huggingface/diffusers/issues/9487>
- FlowMatch <https://github.com/huggingface/diffusers/issues/9607> <https://github.com/huggingface/diffusers/issues/9924>
- TODO install: python 3.12.4 or higher cause a mess with pydantic
- TODO install: enable ROCm for windows when available
- TODO resize image: enable full VAE mode for resize-latent
- TODO processing: remove duplicate mask params
- TODO flux: fix loader for civitai nf4 models
- TODO model loader: implement model in-memory caching
- TODO hypertile: vae breaks when using non-standard sizes
- TODO model load: force-reloading entire model as loading transformers only leads to massive memory usage
- TODO lora load: direct with bnb
- TODO lora make: support quantized flux
- TODO control: support scripts via api
- TODO modernui: monkey-patch for missing tabs.select event
Loading
Loading