Phaneesh Barwaria
f0a4e59758
LLM Pipeline Wrapper ( #1477 )
...
* [LLM] Add LLM pipeline
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
* add base pipeline and stableLM
* StableLM on UI - full block
* add SLM default model name
* add vicuna with pipeline
* add one token gen api for vic
* Fix stableLM bugs
* debug vic memory
* lint fix
---------
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
Co-authored-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-05-31 10:17:20 -07:00
Stefan Kapusniak
1ddef26af5
Web/UI: Add an Output Gallery tab for SD ( #1470 )
...
* WebUI: Adds an Output Gallery tab
Adds an new Output Gallery tab to the ui/webui with these features:
* Subdirectory select dropdown listing subdirectories at any depth below
the <output_dir>/generated_imgs directory,
* Large, full height, gallery area displaying the images in the selected
subdirectory. Shows nod logo when no images are in the selected
subdirectory.
* Slider that changes the number of columns of images that the gallery
displays from between 1 to 16 columns (defaults to 4).
* Expandable parameter info panel showing any generation parameters
saved in the file of the selected image for PNGs, alternatively the
image's EXIF data for JPEGs
* Send to buttons for txt2img, img2img, inpaint, outpaint and upscaler.
* Auto update of gallery and gallery label (to show generation status),
when a new image is generated by any of the stable diffusion tabs, and
is outputted to the currently selected subdirectory.
* Command line option for enabling and disabling the output gallery
(defaults to enabled)
* Command line option for following symlinks when getting entries
for the subdirectory list (defaults to off, as Python os.walk doesn't
check for circular references if following symlinks)
* Reformat with black
Reformat changes with black and then adjust some places where black's
formatting then needed some rephrasing of the code to make things
clearer.
* Add back transformers and sd_cancel imports
Adds back the transformers import in index.py needed for .exe
generation. Add comment so it doesn't get mistakenly removed
next time.
Adds back sd_cancel import in upscaler.py that is currently unused
but should be being used for the 'Stop' button.
2023-05-30 13:47:48 -07:00
Ean Garvey
1b4f4f5f4d
Fix download path for SD1.4 Unet. ( #1469 )
2023-05-26 11:59:51 -07:00
Ean Garvey
19c0ae3702
Cleanup SD pipeline utils ( #1466 )
2023-05-25 12:50:11 -05:00
Ean Garvey
54e57f7771
Revive SD downloads from shark_tank. ( #1465 )
2023-05-25 12:03:21 -05:00
PhaneeshB
6d64b8e273
vic and slm common generation base
2023-05-25 20:29:41 +05:30
Phaneesh Barwaria
f5ce121988
SLM on Sharkstudio ( #1454 )
...
* localize import, fix file reading, device cpu
* extract out model args
2023-05-19 11:21:08 -07:00
Ean Garvey
991f144598
Add iree hidden imports to SD spec ( #1456 )
...
* Add iree hidden imports to SD spec
* Update shark_sd_cli.spec
2023-05-19 11:19:16 -07:00
PhaneeshB
09bea17e59
fix #2 SLM in SharkStudio
2023-05-18 00:56:22 +05:30
PhaneeshB
512235892e
fix SLM for SharkStudio
2023-05-17 22:34:30 +05:30
Daniel Garvey
4731c1a835
prevent loading tokenizer on import ( #1432 )
...
also adds sentencepiece dep for exe
moved vicuna imports to after an if statement
in general we should avoid importing files that load whole models as
global variables
2023-05-12 19:11:45 -07:00
Gaurav Shukla
7b74c86e42
[SD] Fix SAMPLE_INPUT_LEN import issue
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-05-11 15:41:43 +05:30
Gaurav Shukla
fcb059aa38
[SD] Integrate vicuna in the web ( #1410 )
2023-05-10 11:30:22 -07:00
Daniel Garvey
6ca1298675
maximizes window size for webview launch ( #1394 )
2023-05-04 20:43:06 -07:00
jinchen62
bbef7a6464
Redesign model manager webui ( #1391 )
2023-05-04 20:41:29 -07:00
Gaurav Shukla
68ecdd2a73
[SD] Add LoRA as experimental tab
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-05-04 22:30:25 +05:30
Gaurav Shukla
3f4d444d18
[SD] Fix stable LM chatbot
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-05-04 22:30:25 +05:30
m68k-fr
e473d0375b
[Web] Models folders cleanup ( #1365 )
2023-05-03 16:13:20 -05:00
Ean Garvey
e38d96850f
Fix input image loading in img2img rest API ( #1388 )
2023-05-03 15:51:00 -05:00
Gaurav Shukla
fed63dfd4b
[SD] Add stableLM chatbot ( #1383 )
...
Signed-off-by: Gaurav Shukla <gaurav@nod-labs.com >
Co-authored-by: powderluv <powderluv@users.noreply.github.com >
2023-05-03 15:37:20 -05:00
jinchen62
307c05f38d
Convert original vae to diffusers ( #1382 )
2023-05-02 01:27:28 -07:00
jinchen62
696df349cb
Fix curl issue ( #1369 )
2023-04-28 09:31:14 -07:00
jinchen62
cb54cb1348
Add model manager tab for SD webui ( #1368 )
2023-04-28 02:43:40 -07:00
Daniel Garvey
9bdb86637d
add tkinter launch for webui ( #1364 )
2023-04-27 19:17:55 -05:00
jinchen62
fb6f26517f
Fix webui note ( #1367 )
2023-04-27 16:14:43 -07:00
powderluv
1db906a373
Revert "Add model manager tab for webui ( #1359 )" ( #1362 )
...
This reverts commit 9d1d1617d8 .
2023-04-26 22:25:26 -07:00
jinchen62
9d1d1617d8
Add model manager tab for webui ( #1359 )
2023-04-26 13:38:18 -07:00
jinchen62
7112789cb8
Add support of using civitai model download url ( #1357 )
2023-04-25 23:39:52 -07:00
jinchen62
d6b8be2849
Add drawing canvas for img2img stencil scribble ( #1355 )
2023-04-25 14:41:01 -07:00
powderluv
822171277c
Revert "[SD] Add FastChat as part of SD WebUI ( #1349 )" ( #1350 )
...
This reverts commit a5ae9d9f02 .
2023-04-24 15:22:25 -07:00
Abhishek Varma
a5ae9d9f02
[SD] Add FastChat as part of SD WebUI ( #1349 )
...
-- This commit includes FastChat as part of SD WebUI.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
2023-04-24 11:12:58 -07:00
powderluv
d60a5a9396
Add fp32 for upscaler VAE ( #1345 )
2023-04-23 15:27:55 -07:00
m68k-fr
90df0ee365
[Web] Gallery set to a 768px reference for high-end desktop users ( #1344 )
2023-04-23 11:48:06 -07:00
nirvedhmeshram
133c1bcadd
add device to scheduler model names ( #1338 )
2023-04-22 20:13:56 -05:00
powderluv
caadbe14e9
Revert VAE to use im2col ( #1339 )
2023-04-22 15:23:41 -07:00
Ean Garvey
5f5823ccd9
Fix inference object imports for SD apps. ( #1334 )
2023-04-21 13:40:48 -05: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
yzhang93
25c5fc44ae
Modify tuner.py to take vulkan target triple flag ( #1328 )
2023-04-20 14:31:32 -07:00
Ean Garvey
ce16cd5431
Create local shark_tank if needed for tuning configs. ( #1321 )
...
Now that --clear_all successfully deletes local shark_tank cache, we need to make sure it exists before trying to use it.
2023-04-19 11:44:21 -05:00
Ean Garvey
598dc5f79d
Don't dump image data on img2img api call. ( #1320 )
2023-04-19 21:24:46 +05:30
Abhishek Varma
1f8e332cbe
[SD] Fix img2img API bug for custom_vae argument ( #1319 )
...
-- https://github.com/nod-ai/SHARK/pull/1314 misses to add `custom_vae`
parameter to img2img_if's invocation within img2img_api.
-- This commit adds a fix to the same.
Signed-off-by: Abhishek Varma <abhishek@nod-labs.com >
Co-authored-by: Abhishek Varma <abhishek@nod-labs.com >
2023-04-19 10:39:52 -05:00
Abhishek Varma
17b9632659
[SD] Adapted SHARK's v1 img2img API for SdPaint + updated Stencil model ID ( #1318 )
2023-04-19 06:29:36 -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
Ean Garvey
1afe07c296
Disable winograd on VAE with rdna2 and fix unet tuning. ( #1313 )
...
* Disable winograd on VAE with rdna2 and fix unet tuning.
* Fix batch size 1 downloads and clear_all on windows.
2023-04-18 15:55:10 -05: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
m68k-fr
4e513d647f
Update list of scheduler available for inferences ( #1298 )
2023-04-17 22:37:00 -05:00
jinchen62
94cd2a0fed
Fix outpainting config ( #1310 )
2023-04-17 10:48:52 -07:00
Kyle Herndon
606029c01c
Fix LoRA device format bug and allow LoRA to resume from a previous training
2023-04-17 13:19:46 +05:30
m68k-fr
1b3f468c04
[Web] Style Fixes for Gradio V3.25.0 ( #1300 )
2023-04-13 18:40:42 -05:00