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
Elias Joseph
73cd7e8320
added full vicuna to vicuna.py
2023-05-26 22:06:40 +05:30
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
PhaneeshB
a8ea0326f5
correct SLM saved vmfb naming
2023-05-25 20:29:41 +05:30
PhaneeshB
58e9194553
add Lists import
2023-05-25 20:29:41 +05:30
PhaneeshB
eb360e255d
remove unused imports
2023-05-25 20:29:41 +05:30
PhaneeshB
a6f88d7f72
refactor mlir compile
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
Daniel Garvey
aefcf80b48
swap to cpu an remove hardcoded paths ( #1448 )
...
Co-authored-by: powderluv <powderluv@users.noreply.github.com >
2023-05-17 10:53:34 -07:00
PhaneeshB
512235892e
fix SLM for SharkStudio
2023-05-17 22:34:30 +05:30
PhaneeshB
6602a2f5ba
add continuous output for CLI
2023-05-17 18:33:46 +05:30
powderluv
8ee2ac89f8
Rename sharded_vicuna_fp32_web.py to vicuna_web.py
2023-05-16 09:41:35 -07:00
powderluv
60cb48be2e
Rename sharded_vicuna_fp32.py to vicuna.py
2023-05-16 09:40:51 -07:00
powderluv
86a215b063
Delete sharded_vicunia.py
2023-05-16 09:37:39 -07:00
powderluv
d6e3a9a236
Delete standalone_vicuna.py
2023-05-16 09:37:26 -07:00
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
e0cc2871bb
[SD] Yield 2 tokens at a time in vicuna
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-05-11 23:49:01 +05:30
Gaurav Shukla
649f39408b
[SD] Fix vicuna response
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-05-11 18:06:21 +05:30
Gaurav Shukla
9e07360b00
[SD] Standalone vicuna with web
...
Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com >
2023-05-11 17:23:44 +05:30
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
Eliasj42
fa833f8366
fixed spacing issue with chat-bot ( #1417 )
...
Co-authored-by: Elias Joseph <elias@nod-labs.com >
2023-05-10 16:07:50 -07:00
Gaurav Shukla
fcb059aa38
[SD] Integrate vicuna in the web ( #1410 )
2023-05-10 11:30:22 -07:00
PhaneeshB
517c670f82
vicuna chat cli
2023-05-10 22:55:06 +05:30
Eliasj42
59df14f18b
added vicuna demo ( #1408 )
...
Co-authored-by: Elias Joseph <elias@nod-labs.com >
2023-05-09 21:18:20 -07:00
Daniel Garvey
7a4a51ae73
vulkan vic f16 ( #1404 )
...
Co-authored-by: dan <dan@nod-labs.com >
2023-05-08 16:46:53 -07:00
Eliasj42
54ce3d48ca
added standalone vicuna script ( #1401 )
...
Co-authored-by: Elias Joseph <elias@nod-labs.com >
2023-05-05 18:05:52 -05: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