Commit Graph

214 Commits

Author SHA1 Message Date
JohannesGaessler
c295420293 Set YAML dump width to 10000 2022-08-30 23:17:57 +01:00
Oxlamon
3ce28c2e76 FIx simple tmpl image grid. Detach from orig grid 2022-08-30 23:13:51 +01:00
_nderscore
af7f64028c fix: remove unneeded map 2022-08-30 23:13:51 +01:00
_nderscore
fcfe7ba9e1 feat: simplify prompt weight splitting function 2022-08-30 23:13:51 +01:00
hlky
33517d4381
Revert "Startup OOM fix (optimized)"
This reverts commit fe173407fe.
2022-08-30 16:30:30 +01:00
oobabooga
fe173407fe Startup OOM fix (optimized)
Prevent model from being loaded into VRAM at startup in optimized mode (causes OOM)
2022-08-30 14:32:53 +01:00
hlky
7ad5c4ecd8
Revert "Removed share options"
This reverts commit 123b21e452.
2022-08-30 14:06:09 +01:00
anon-hlhl
c73fdd78d9
Implement masking during sampling to improve blending (#308)
* Implement masking during sampling to improve blending

 - Almost inpainting-like behaviour
 - Works best with small erased areas
 - Denoiser strength to 1 results to completely in-paint with no previous image info
 - Uncrop kind of sometimes works, but not really
 - DDIM changes depend on a PR in stable-diffusion core

* Remove old init_masking code on save, as the masked image is applied during sampling

Co-authored-by: anon-hlhl <>
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-08-30 11:32:15 +01:00
xraxra
96aba4b36d
Variations (#307)
* variation support

WIP

* removed extra )

* fixed warning

Co-authored-by: xra <mail@xra.dev>
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-08-30 11:18:00 +01:00
hlky
123b21e452
Removed share options
Share doesn't work due to a gradio bug, not sure why someone added that. Especially because queuing was broken with share even before we switched to Blocks interface (which is the reason for the share issue).
Some people are using other workarounds to share with friends so need queuing, iirc it doesn't cause any issues to have queuing enabled by default.
2022-08-30 10:58:08 +01:00
hlky
b31af46487
not >_> 2022-08-30 10:23:18 +01:00
hlky
73754a1b29
Revert "Original grid captions bugfix"
This reverts commit 9119ca4b57.
2022-08-30 10:19:45 +01:00
Oxlamon
9119ca4b57 Original grid captions bugfix 2022-08-30 09:24:19 +01:00
Oxlamon
4d13c894aa Simple templating with ESRGAN bug fix 2022-08-30 09:24:19 +01:00
hlky
49e6178fd8
#287 2022-08-30 00:17:33 +01:00
hlky
842a53fb71
#287 2022-08-29 23:58:49 +01:00
hlky
dab958377e
#287 2022-08-29 23:52:49 +01:00
hlky
9f8516b493
Fix for #287 2022-08-29 23:31:45 +01:00
hlky
4878a68b40
Update webui.py 2022-08-29 19:16:41 +01:00
hlky
3fb8e64a7d
remove default=int(os.environ.get('CUDA_VISIBLE_DEVICES', 0) 2022-08-29 19:14:24 +01:00
hlky
5eae4377ce f"cuda:{opt.gpu}" 2022-08-29 19:10:18 +01:00
hlky
0534b89ff5 --extra-models-gpu --gfpgan-gpu <id> --esrgan-gpu <id>
This will let you set the gpu id which gfgpan and esrgan load on. I don't have multiple gpus so i can't test it properly myself but the code is working without errors when I use --extra-models-gpu --gfpgan-gpu 0 --esrgan-gpu 0

Note: you will want to use this in combination with --gpu to ensure the main model loads of the gpu you want it to, otherwise the default is id 0
2022-08-29 19:10:18 +01:00
oobabooga
e253a27a0f Fix OOM issue
modelFS must be removed from GPU memory after each batch is generated, otherwise both modelFS and modelCS will be loaded into memory at once and the script will OOM
2022-08-29 17:51:49 +01:00
Oxlamon
10cf5e5317 Grid rows and batch count support. 2022-08-29 15:53:21 +01:00
hlky
c1ad047a82
Revert "⚠️ note to everyone dont mess with line endings again ⚠️"
This reverts commit e6d06a2b24.
2022-08-29 13:44:40 +01:00
hlky
e6d06a2b24
⚠️ note to everyone dont mess with line endings again ⚠️ 2022-08-29 12:46:20 +01:00
_nderscore
0f28871a64 feat: add denoising strength to parameter output and pnginfo 2022-08-29 12:21:58 +01:00
hlky
2ae6be00ef Revert "Set auto prompt_matrix depending on prompt"
This reverts commit 6d5dd00981.
2022-08-29 12:20:40 +01:00
hlky
4d0572cfc1 Revert "Update matrix prompt generation code"
This reverts commit 2891456369.
2022-08-29 12:20:40 +01:00
hlky
d28ea40140 Revert "Bug fix"
This reverts commit 45db349689.
2022-08-29 12:20:40 +01:00
hlky
9156c8b834 Revert "Removed auto prompt_matrix check (revert)"
This reverts commit 0b2f5bf46a.
2022-08-29 12:20:40 +01:00
hlky
c0cd601d6a Revert "Removed [obsolete] text in check box"
This reverts commit ca9e20905f.
2022-08-29 12:20:40 +01:00
Oxlamon
ca9e20905f Removed [obsolete] text in check box 2022-08-29 12:20:14 +01:00
Oxlamon
0b2f5bf46a Removed auto prompt_matrix check (revert) 2022-08-29 12:20:14 +01:00
Oxlamon
45db349689 Bug fix 2022-08-29 12:20:14 +01:00
Oxlamon
2891456369 Update matrix prompt generation code 2022-08-29 12:20:14 +01:00
Oxlamon
6d5dd00981 Set auto prompt_matrix depending on prompt 2022-08-29 12:20:14 +01:00
Alex Volkov
923e437bcf Resize image was exported as well
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
2022-08-29 00:41:17 +01:00
Alex Volkov
8662ea4623 Ugh I only added these to the playground! Added now 2022-08-29 00:41:17 +01:00
Alex Volkov
64ca78ca76 Refactored the UI, added a web_playground.py to be run without any models. 2022-08-29 00:41:17 +01:00
hlky
8d15f865e9
re-fix esrgan/gfpgan multiple images bug
Must have been undone by some pr

also, grid is now only appended to output images if more than 1 images is being generated
2022-08-28 22:12:59 +01:00
_nderscore
ea4bc1aa53 fix: working loopback buttons on txt2img and img2img 2022-08-28 19:37:14 +01:00
jansteffen
244f945c40 Revamped output info area 2022-08-28 17:25:02 +01:00
interficiam
e71d82e3a6
🔥 fix and update optimized mode (#194) 🔥 2022-08-28 17:00:58 +01:00
hlky
7b468aaa17
Revert automatic prompt matrix
@lendrick
2022-08-28 15:30:29 +01:00
JustOxlamon
5765d729af
Grid image generation fixes (#180)
* Add simple templating

* Little grid generation image fix

* Add new grid help to readme

* Grid image generation fixes

* Trim @ symbol if no matrix inputs

* Resolve conflicts
2022-08-28 15:23:21 +01:00
PrinzKasper
f23a14d371
Add a simple footer to the bottom of the page (#182)
* Add a simple footer to the bottom of the page

* grammar is important kids
2022-08-28 13:01:14 +01:00
AbdBarho
ee571eaced
Respect CLI parameters (#179)
the CLI parameters ckpt and config now work if required - the paths were hardcoded.
2022-08-28 12:50:54 +01:00
hlky
7518c3ac27
img2img value unpack
unsure what caused this
2022-08-28 04:17:12 +01:00
hlky
4a393bdba9
Remove gobig 2022-08-28 02:20:59 +01:00