Stefan Kapusniak
a2a436eb0c
SD - Add repeatable (batch) seeds option ( #1654 )
...
* Generates the seeds for all batch_count batches being run up front
rather than generating the seed for a batch just before it is run.
* Adds a --repeatable_seeds argument defaulting to False
* When repeatable_seeds=True, the first seed for a set of batches will
also be used as the rng seed for the subsequent batch seeds in the run.
The rng seed is then reset.
* When repeatable_seeds=False, batch seeding works as currently.
* Update scripts under apps/scripts that support the batch_count
argument to also support the repeatable_seeds argument.
* UI/Web: Adds a checkbox element on each SD tab after batch count/size
for toggling repeatable seeds, and update _inf functions to take
this into account.
* UI/Web: Moves the Stop buttons out of the Advanced sections and next
to Generate to make things not fit quite so badly with the extra UI
elements.
* UI/Web: Fixes logging to the upscaler output text box not working
correctly when running multiple batches.
2023-07-15 16:22:41 -07:00
gpetters94
6274a813c9
Add unet512 support for the other StableDiffusion pipelines ( #1602 )
2023-06-27 12:28:57 -07:00
Gaurav Shukla
0b01bbe479
[SD] Add txt2img/upscaler/inpaint/outpaint Rest API ( #1325 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-04-21 09:06:06 -07:00
jinchen62
bda92a54ab
Fix custom vae path ( #1317 )
2023-04-18 20:50:43 -07:00
jinchen62
747ed383b1
Add custom vae dropdown in webui ( #1314 )
2023-04-18 17:24:02 -07:00
jinchen62
b70919b38d
Fix memory leak with ondemand ( #1312 )
...
support ondemand for outpainting and multi batch_count
2023-04-18 13:03:16 -05:00
jinchen62
428cfe8dae
Fix low vram mode issues ( #1295 )
...
- add ondemand back to img2img
- workaround memory leak for batch count
2023-04-11 17:59:09 -07:00
jinchen62
3002793301
Unload clip on demand and workaround memory leak ( #1283 )
2023-04-10 16:59:03 -07:00
jinchen62
a0af3bb0cb
xload and unload models ( #1242 )
2023-04-03 14:42:18 -07:00
Daniel Garvey
5bb7846227
single entry point exe for all cli apps ( #1158 )
...
usage:
add --app="img2img" (or "inpaint" "outpaint" "txt2img")
2023-03-28 11:15:21 -05:00
Abhishek Varma
593428bda4
[SD] Fix for transformers/__init__.py issue in PyInstaller ( #1233 )
...
-- This commit fixes the transformers/__init__.py issue in PyInstaller.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
2023-03-22 08:43:53 -07:00
Abhishek Varma
cede9b4fec
[SD] Fix custom_vae as a required parameter in inpaint ( #1232 )
2023-03-22 04:30:17 -07:00
jinchen62
420366c1b8
Move schedulers to global obj ( #1225 )
2023-03-21 22:40:43 -07:00
Abhishek Varma
8b8cc7fd33
[SD] Update LoRA inference to handle various checkpoints ( #1215 )
2023-03-21 06:52:20 -07:00
m68k-fr
4a622532e5
[Web] Stop images ( #1212 )
2023-03-19 14:37:30 -07:00
Kyle Herndon
ba48ff8d25
Implement LoRA training and UI for training and UI for inference in img2img, inpaint, outpaint ( #1200 )
...
txt2img inference UI is already committed.
Co-authored-by: Kyle Herndon <kyle@nod-labs.com >
Co-authored-by: powderluv <powderluv@users.noreply.github.com >
2023-03-17 12:54:56 -07:00
Gaurav Shukla
7ffe20b1c2
[SD] Release memory used by upscaler when not in use
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-03-16 20:49:19 +05:30
jinchen62
9c08eec565
Clear memory cache when switching model and mode ( #1194 )
2023-03-15 22:18:26 -07:00
m68k-fr
2dd1491ec1
[Web] Add clear queue button ( #1192 )
2023-03-15 10:12:59 -07:00
Abhishek Varma
e6b925e012
[SD] Add Openpose to Stencil + image size issue fix ( #1181 )
...
-- This commit adds openpose model variant to stencil.
-- Fixes image size issue.
-- Also includes fix for the .exe bug introduced by https://github.com/nod-ai/SHARK/pull/1175
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
2023-03-14 10:30:52 -07:00
Daniel Garvey
62b5a9fd49
generate sharktank for apps dir ( #966 )
...
* merge confix resolution
* add support to other scripts
---------
Co-authored-by: dan <dan@nod-labs.com >
2023-03-13 10:54:15 -07:00
m68k-fr
1b08242aaa
[Web] Improve dropdowns ux ( #1175 )
2023-03-12 12:41:51 -07:00
jinchen62
7f6c9a2dc2
Add an inpainting option for only masked area ( #1154 )
2023-03-07 09:46:05 -08:00
Gaurav Shukla
b118f183d1
[SD] Fix few things in sendTo feature ( #1132 )
2023-03-02 09:11:55 -08:00
Gaurav Shukla
911dff16f1
[SD] Add sendTo feature in stable diffusion ( #1131 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-03-02 08:42:38 -08:00
jinchen62
080350d311
Make loading custom inpainting models general ( #1126 )
2023-03-01 22:14:04 -08:00
Gaurav Shukla
0a0567e944
[SD] Avoid unnecessary temp file creations ( #1092 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-02-24 10:53:34 -08:00
Gaurav Shukla
bc4459b6f4
[SD] Add inpainting web UI ( #1069 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-02-22 11:01:18 -08:00
Gaurav Shukla
4233218629
[SD] Reset args.img_path to None in txt2img to avoid vae_encode
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-02-21 18:46:15 +05:30
Gaurav Shukla
2147b6a397
[SD] Move some common code to utility
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-02-15 22:47:41 +05:30
Gaurav Shukla
67005bf57c
[SD] Update iree-vulkan-target-triple after device switch
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-02-15 22:47:41 +05:30
powderluv
bc7333f1e5
Remove forcing LLPC setting ( #1018 )
...
also fix logo paths
2023-02-14 17:09:03 -08:00
powderluv
55ae50f991
Update inpaint.py
2023-02-14 14:12:05 -08:00
Gaurav Shukla
dd2e482214
[SD] Fix multiple call to device check ( #1007 )
...
- Also makes the dark theme default.
- Fix custom_vae parameter in img2img.
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-02-13 11:57:52 -08:00
drumicube
0464c7e558
Add support for command arguments to the WebUi ( #1000 )
...
Co-authored-by: powderluv <powderluv@users.noreply.github.com >
2023-02-11 19:20:21 -08:00
jinchen62
6582475955
Add SD inpainting
...
python apps/stable_diffusion/scripts/inpaint.py --prompt="prompt" --img_path=path/to/img --mask_path=path/to/mask --import_mlir --max_length=77 --hf_model_id="stabilityai/stable-diffusion-2-inpainting"
2023-02-10 15:33:20 +05:30