Commit Graph

7973 Commits

Author SHA1 Message Date
AUTOMATIC1111
b531b0bbef add propmpt comments support 2024-02-11 12:23:21 +03:00
AUTOMATIC1111
e2b19900ec add infotext entry for emphasis; put emphasis into a separate file, add an option to parse but still ignore emphasis 2024-02-11 09:39:51 +03:00
Chenlei Hu
e11753ff84
Fix controlnet/detect API endpoint (#187) 2024-02-11 01:15:06 -05:00
AUTOMATIC1111
3732cf2f97
Merge pull request #14874 from hako-mikan/master
Add option to disable normalize embeddings after after calculating emphasis.
2024-02-11 08:34:40 +03:00
AUTOMATIC1111
2f1e2c492f
Merge pull request #14873 from AUTOMATIC1111/check_extensions_list_on_apply_js_method
if extensions page not loaded, prevent apply
2024-02-11 08:29:54 +03:00
AUTOMATIC1111
860534399b
Merge pull request #14879 from AUTOMATIC1111/walk_files-extensions-case-insensitive
util.walk_files extensions case insensitive
2024-02-11 08:29:05 +03:00
AUTOMATIC1111
4d46f8c25c
Merge pull request #14883 from analysisjp/dev_fix_memleak_new
fix prepare_tcmalloc (fix: #14227)(Fixed memory leak issue in Ubuntu 22.04 or modern linux environment)
2024-02-11 08:28:42 +03:00
AUTOMATIC1111
5ddd5d29e5
Merge pull request #14884 from light-and-ray/ResizeHandleRow_png_info_and_train
ResizeHandleRow png_info and train
2024-02-11 08:26:20 +03:00
AUTOMATIC1111
440fff64a2
Merge pull request #14890 from AUTOMATIC1111/always-append-timestamp
Always add timestamp to displayed image
2024-02-11 08:26:00 +03:00
AUTOMATIC1111
d2246df160
Merge pull request #14885 from AUTOMATIC1111/extensions-tab-table-row-hover-highlight
extensions tab table row hover highlight
2024-02-11 08:24:41 +03:00
Chenlei Hu
6a854fcb38
Add documentation on ControlNetUnit (#176)
* remove dict from any

* nit

* nit
2024-02-10 22:30:22 -05:00
lllyasviel
ee023f4fbf Fix UniPC data cast and shape broadcast in #184
Fix UniPC data cast and shape broadcast in #184

This also fix potential problems in DDIM. The cause of this BUG is A1111’s `modules\models\diffusion\uni_pc\uni_pc.py` does not have a data cast and the Forge’s DDIM estimator forget to match the broadcast shape of sigmas.

(At the same time when we are fixing this BUG in A1111’s very original and high-quality samplers, comfyanonymous is still believing that Forge is using comfyui to sample images, eg, ComfyUI UniPC.
Comfyanonymous is so cute.
See also the jokes here https://github.com/lllyasviel/stable-diffusion-webui-forge/discussions/169#discussioncomment-8428689)
2024-02-10 18:35:42 -08:00
missionfloyd
c04c4b95de Always add timestamp to displayed image 2024-02-10 14:49:08 -07:00
lllyasviel
15bb49e761
add backend note 2024-02-10 05:39:03 -08:00
lllyasviel
6e71d97478 Update forge_version.py 2024-02-10 03:25:27 -08:00
lllyasviel
998327c744 add edit model 2024-02-10 03:24:40 -08:00
w-e-w
7583351760 extensions tab table row hover highlight 2024-02-10 18:09:10 +09:00
Andray
82e2e25325 ResizeHandleRow png_info and train 2024-02-10 13:00:16 +04:00
Andray
44b647a83e
Use ResizeHandleRow for z123 and svd (#168) 2024-02-10 00:57:12 -08:00
lllyasviel
ce21e7afe4 fix degradation 2024-02-09 23:09:01 -08:00
lllyasviel
ac94f38d9a Update forge_version.py 2024-02-09 22:21:53 -08:00
Chenlei Hu
5a7e755528
ControlNet API (#162)
* ControlNet API

* update cache key

* nits

* disable controlnet tests
2024-02-10 01:16:13 -05:00
lllyasviel
bd0878754c apply loras to refiner like upstream #161 2024-02-09 21:40:19 -08:00
lllyasviel
371687a1da fix degradation 2024-02-09 20:58:38 -08:00
lllyasviel
e9459b6c4a support sd1.5 model with v prediction #123 2024-02-09 20:51:18 -08:00
Chengsong Zhang
ee565b337c
ControlNet batch fix (#113)
* cn forward patcher

* simplify

* use args instead of kwargs

* postpond moving cond_hint to gpu

* also do this for t2i adapter

* use a1111's code to load files in a batch

* revert

* patcher for batch images

* patcher for batch images

* remove cn fn wrapper dupl

* remove shit

* use unit getattr instead of unet patcher

* fix bug

* small changte
2024-02-09 21:55:29 -06:00
lllyasviel
d6f2e5bdd9 Disable Legacy Multidiffusion
Both Multidiffusion and Tiled VAE are integrated and this extension can be disabled
2024-02-09 19:07:50 -08:00
lllyasviel
dca0a1d5d8
Integrate Multi Diffusion
Integrated Multi Diffusion, based on codes from pkuliyi2015 and shiimizu
Basic Diffusion test passed
ControlNet test passed
2024-02-09 18:37:32 -08:00
lllyasviel
4ec1015162 fix mask can be none 2024-02-09 18:25:44 -08:00
analysisjp
2ba0277b52 fix: prepare_tcmalloc (Fixed memory leak issue in Ubuntu 22.04 or modern linux environment) 2024-02-10 10:09:19 +09:00
lllyasviel
fb2e271668 support inpaint models from fooocus
put inpaint_v26.fooocus.patch in models\ControlNet, control SDXL models only
To get same algorithm as Fooocus, set "Stop at" (Ending Control Step) to 0.5
Fooocus always use 0.5 but in Forge users may use other values.
Results are best when stop at < 0.7. The model is not optimized with ending timesteps > 0.7
Supports inpaint_global_harmonious, inpaint_only, inpaint_only+lama.
In theory the inpaint_only+lama always outperform Fooocus in object removal task (but not all tasks).
2024-02-09 17:08:48 -08:00
lllyasviel
d2af6d1b44 Contribution Guideline 2024-02-09 14:57:45 -08:00
lllyasviel
54edd29725 integrate latent modifier 2024-02-09 14:38:57 -08:00
lllyasviel
8c8f948666 integrated DynamicThresholding (CFG-Fix) 2024-02-09 14:11:59 -08:00
lllyasviel
8059533eaf fix lora not loaded for text encoder #142 2024-02-09 13:50:50 -08:00
Chenlei Hu
200f2b69ed
Add back ControlNet model version filter (#131)
* Add back ControlNet model version filter

* Update choice after sd model changes
2024-02-09 16:34:09 -05:00
Chenlei Hu
ac4a8820a5
Fix CQ tests (#141)
* Make test client run on cpu

* test on cpu

try fix device

try fix device

try fix device

* Use real SD1.5 model for testing

* ckpt nits

* Remove coverage calls
2024-02-09 16:33:05 -05:00
lllyasviel
472a510151 try fix control mode weighting #155 2024-02-09 13:23:49 -08:00
Andray
e8f51579cc add button for refreshing extensions list 2024-02-09 13:12:14 -08:00
lllyasviel
658da35cdc Merge branch 'dev' of github.com:AUTOMATIC1111/stable-diffusion-webui into dev 2024-02-09 13:10:55 -08:00
w-e-w
542611cce4 walk_files extensions case insensitive 2024-02-10 05:39:01 +09:00
Chenlei Hu
c06769c1fa
Temporarily disable CQ unittests (#154) 2024-02-09 12:11:11 -05:00
hako-mikan
c3c88ca8b4
Update sd_hijack_clip.py 2024-02-10 00:18:08 +09:00
hako-mikan
6b3f7039b6
add option 2024-02-09 23:57:46 +09:00
w-e-w
6b8458eb9f if extensions page not loaded, prevent apply
since they are built-in extensions we can make the assumption that they will be at least one or more extensions

Co-Authored-By: Andray <33491867+light-and-ray@users.noreply.github.com>
2024-02-09 23:19:39 +09:00
hako-mikan
0bc7867ccd
Merge branch 'AUTOMATIC1111:master' into master 2024-02-09 23:17:40 +09:00
AUTOMATIC1111
d69a7944c9
Merge pull request #14857 from light-and-ray/refresh_extensions_list
Button for refresh extensions list
2024-02-09 16:06:02 +03:00
v0xie
eb6f2df826 Revert "fix: add butterfly_factor fn"
This reverts commit 81c16c965e.
2024-02-08 22:00:15 -08:00
v0xie
613b0d9548 doc: add boft comment 2024-02-08 21:58:59 -08:00
Chenlei Hu
ed60a99826
Fix import error (#146) 2024-02-08 23:02:33 -05:00