yzhang93
467f900759
Add auto-tuner to SD apps ( #1291 )
2023-04-12 09:21:17 -07: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
Gaurav Shukla
1b49b5149a
[SD] Add Img2Img rest API
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-04-11 23:06:58 +05:30
jinchen62
3002793301
Unload clip on demand and workaround memory leak ( #1283 )
2023-04-10 16:59:03 -07:00
Phaneesh Barwaria
d25ef5529f
Add fix for vae fp32 Upscalar ( #1284 )
...
- fixes size mismatch error for upscalar vae
2023-04-07 14:36:40 -05:00
Ean Garvey
308856a947
Touch unet if base cfg needed for SD pipeline init ( #1281 )
2023-04-05 03:02:29 -05:00
m68k-fr
151b4e142f
[SD] Fix encoder error for model_max_length not beeing 77 ( #1278 )
...
Co-authored-by: powderluv <powderluv@users.noreply.github.com >
2023-04-04 22:39:29 -07:00
m68k-fr
450b6cafc4
[SD] Add weight emphasis to prompts encoder ( #1276 )
2023-04-04 09:47:04 -07:00
Daniel Garvey
237d26baa2
update model db to reflect changes ( #1277 )
...
* remove 1/1 tqdm progress bar
* update model_db to reflect changes
2023-04-04 11:46:55 -05:00
Daniel Garvey
67d6ee1104
remove 1/1 tqdm progress bar ( #1274 )
2023-04-03 22:30:09 -05:00
jinchen62
e0f227643a
Fix webui circular import issue ( #1271 )
2023-04-03 16:00:10 -07:00
jinchen62
a0af3bb0cb
xload and unload models ( #1242 )
2023-04-03 14:42:18 -07:00
Gaurav Shukla
f49d41a807
[SD] Add Stable diffusion text2image rest API ( #1265 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-04-03 12:02:24 -07:00
PhaneeshB
aea7796e60
add gradio client to spec
2023-04-03 18:57:19 +05:30
Abhishek Varma
a376619f1e
[SD] Improve vmfb caching algo and retry mechanism ( #1248 )
...
-- This commit gets rid of the all-or-nothing vmfb caching mechanism
and improves the retry mechanism by providing lower-level granularity
for compiling each model units.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Ean Garvey <87458719+monorimet@users.noreply.github.com >
2023-03-31 09:38:14 -07:00
Abhishek Varma
3b63645f79
[SD] Fix custom model path for WebUI ( #1260 )
...
-- This commit fixes custom model path for WebUI.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
2023-03-29 09:48:11 -07:00
Daniel Garvey
594c6b8ea2
fix ckpt dir ( #1258 )
2023-03-28 14:31:01 -07:00
Abhishek Varma
0ef6a0e234
[SD] Fix Stencil scribble crash by updating image resize ( #1255 )
...
-- This commit updates Stencil resize feature to cap the size of
images within [128,768] as supported by the SD pipeline.
-- This solves the issue of scribble crashing on larger image.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
2023-03-28 10:13:11 -07:00
Gaurav Shukla
641d535f44
[SD] Fix device path issue for cpu ( #1256 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-03-28 10:09:49 -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
yzhang93
8f84258fb8
Fix check for use_tuned conditions ( #1252 )
2023-03-27 11:21:25 -07:00
Phaneesh Barwaria
431132b8ee
Fix img2img mode switch ( #1247 )
...
* add updated scheduler value in global config
* clear scheduler global variable with others
2023-03-27 07:01:22 -07:00
yzhang93
17a67897d1
Add SD v2.1 768x768 tuned model ( #1244 )
...
Co-authored-by: powderluv <powderluv@users.noreply.github.com >
2023-03-24 10:39:15 -07:00
Gaurav Shukla
da449b73aa
[SD] Disable lora training tab for now ( #1241 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-03-24 09:16:24 -07:00
Kyle Herndon
0b0526699a
Fix incorrect device argument initialization for LoRA training by extracting the device type and number and formatting it for pytorch ( #1237 )
...
Co-authored-by: Kyle Herndon <kyle@nod-labs.com >
2023-03-24 01:10:50 -07: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
Prashant Kumar
c2360303f0
Add the int8 quantized model.
2023-03-22 16:28:13 +05:30
jinchen62
420366c1b8
Move schedulers to global obj ( #1225 )
2023-03-21 22:40:43 -07:00
Ean Garvey
d31bae488c
Set iree-input-type to tm_tensor for SD ( #1228 )
2023-03-21 19:07:31 -07:00
Kyle Herndon
c23fcf3748
Fix incorrect device argument initialization for LoRA training ( #1231 )
...
Co-authored-by: Kyle Herndon <kyle@nod-labs.com >
Co-authored-by: powderluv <powderluv@users.noreply.github.com >
2023-03-21 19:07:18 -07:00
jinchen62
7dbbb1726a
Fix SD obj not defined if fail to get models from pretrained ( #1222 )
2023-03-21 07:55:17 -07:00
Abhishek Varma
8b8cc7fd33
[SD] Update LoRA inference to handle various checkpoints ( #1215 )
2023-03-21 06:52:20 -07:00
Ean Garvey
5e3f50647d
Set --vulkan_large_heap_block_size default to 2gb. ( #1220 )
2023-03-20 21:07:09 -07:00
m68k-fr
4a622532e5
[Web] Stop images ( #1212 )
2023-03-19 14:37:30 -07:00
cstueckrath
650b2ada58
add pytorch_lightning to requirements ( #1211 )
...
* add pytorch_lightning to requirements
this will additionally add lightning-utilities and torchmetrics
* Update shark_sd.spec
* Update shark_sd_cli.spec
2023-03-19 12:29:54 -07:00
m68k-fr
f87f8949f3
[Web] CSS fix for gradio V3.22.1 ( #1210 )
2023-03-19 06:13:59 -07:00
m68k-fr
7dc9bf8148
[Web] Move "stop Batch" button to "Advanced Options" toggle ( #1209 )
2023-03-18 20:54:42 -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
638840925c
[SD] Add support for larger size upscaling ( #1204 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-03-17 10:20:48 -07:00
m68k-fr
b661656c03
[Web] Fix custom model path for upscaler ( #1199 )
2023-03-16 15:57:23 -07:00
Gaurav Shukla
0225434389
[SD] Add sendTo Upscaler
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-03-16 20:49:19 +05:30
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
Gaurav Shukla
d8f0c4655d
[SD] Add Upscaler web
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-03-16 20:49:19 +05:30
Gaurav Shukla
7e8d3ec0df
[SD] Add upscalar pipeline
...
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
2d2c523ac5
[Web] Upgrade Gradio to v3.21.0 ( #1188 )
...
Co-authored-by: powderluv <powderluv@users.noreply.github.com >
2023-03-15 10:14:49 -07:00
Abhishek Varma
f17b3128c0
[SD] Add LoRA inference to SD pipeline ( #1189 )
...
-- This commit adds LoRA inference to SD pipeline.
-- It also modifies txt2img to incorporate the new feature.
img2img, inpaint, outpaint, etc using Unet can also be extended in a
similar way.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
2023-03-15 10:13:45 -07:00
Abhishek Varma
7c7e630099
[SD] Add fix for using latest diffusers + add scribble variant to Stencil ( #1191 )
...
* [SD] Add Scribble variant in Stencil
-- This commit adds scribble variant in Stencil.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
* [SD] Use latest diffusers
-- This commit points back to the latest diffusers and updates the
processing script to tackle the Pix2Pix import issue.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
---------
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
2023-03-15 10:13:20 -07:00
m68k-fr
2dd1491ec1
[Web] Add clear queue button ( #1192 )
2023-03-15 10:12:59 -07:00