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
Daniel Garvey
236357fb61
add missing import for shark_sd.spec ( #1190 )
...
L
2023-03-15 09:23:29 -05:00
Daniel Garvey
bdbe992769
Add IREE_SAVE_TEMPS for import_debug command ( #1184 )
...
based on hf_model_id. Works on windows
2023-03-14 11:40:23 -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
Phaneesh Barwaria
b6dcf2401b
Stencil perf improvement ( #1179 )
...
* remove conditioning strength multiplier
* mod diffusers lib to v0.14.0
2023-03-13 14:37:38 -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
2f133e9d5c
Fix png metadata ( #1178 )
2023-03-12 22:43:39 -07:00
m68k-fr
b94266d2b9
[Web] Randomize seed to -1 ( #1176 )
2023-03-12 12:42:31 -07:00
m68k-fr
1b08242aaa
[Web] Improve dropdowns ux ( #1175 )
2023-03-12 12:41:51 -07:00
Abhishek Varma
691030fbab
[SD] Improve Stencil feature to handle general image sizes
...
-- Currently stencil feature works with 512x512 images only.
-- This commit relaxes this constraint and adds support for various
image sizes.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
2023-03-11 21:48:31 +05:30
m68k-fr
16ad7d57a3
[WebUi] txt2img_ui: Import png metadata ( #1147 )
2023-03-10 16:26:34 -08:00
Abhishek Varma
b8f4b18951
[SD] Use dynamic stencil HF repo id
...
-- This commit removes the hardcoded HF ID for Stencil and instead
utilizes a dynamic instantiation of HF model.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
2023-03-10 23:31:45 +05:30
Boian Petkantchin
996c645f6a
In SD don't include device path in vmfb filename
...
Include only the driver name instead.
2023-03-09 10:45:32 -08:00
m68k-fr
1f7d249a62
Use utf-8 format for imgs_details.csv
2023-03-09 16:15:58 +05:30