Commit Graph

283 Commits

Author SHA1 Message Date
layerdiffusion
40dd61ba6c improve vae key mapping 2024-07-30 09:23:58 -06:00
layerdiffusion
dc62b0d2d7 begin to use new vae impl 2024-07-30 08:43:14 -06:00
layerdiffusion
37386592ad version 2024-07-28 08:08:28 -06:00
layerdiffusion
918c6af162 upgrade js canvas for #881 2024-07-28 08:07:37 -06:00
layerdiffusion
2f87f123b2 less aggressive clip skip
to make CivitAI pony image meta works better
2024-07-27 13:23:39 -07:00
layerdiffusion
6eb23c6d09 fix #861 2024-07-27 07:52:20 -07:00
layerdiffusion
7e31721803 fix #861 2024-07-27 07:50:59 -07:00
layerdiffusion
3ba632b64b version 2024-07-27 06:54:05 -07:00
layerdiffusion
0ba9f7f399 Clip Skip to All Models
Technically Correct Implementation of CLIP skip for all models.
Automatic1111 uses a weird logic to ignore SDXL clip skip but added an option to only set CLIP-L Skip with an offset 1, which means if one set skip as 3, then the SDXL CLIP G does not skip but SDXL CLIP L uses 3-1=2 as skip (not 3?!)
Forge now uses technically correct and consistent clip skip for all models. Forge now outweigh technical correctness over reproducing Auto results.
But one can get same results by just do not set clip skip for SDXL.
2024-07-27 05:46:53 -07:00
layerdiffusion
1673a5ac2d Perturbed Attention Guidance Integrated 2024-07-26 15:00:31 -07:00
layerdiffusion
c2bfa6f6a3 fix gradio 2024-07-26 13:08:15 -07:00
layerdiffusion
e1082b8799 fix loading order 2024-07-26 12:57:14 -07:00
layerdiffusion
e26abf87ec Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
lllyasviel
ef35383b4a VAE patcher and more types of unet patches 2024-02-29 22:37:34 -08:00
lllyasviel
5166a723c2 bring back tiling
close #215
2024-02-25 21:29:35 -08:00
lllyasviel
6287c73d98 rework memory management for extras
now face post-processing uses gpu
close #312
2024-02-25 20:37:14 -08:00
lllyasviel
437c348926 Add build-in extension "NeverOOM"
see also discussions
2024-02-24 19:09:06 -08:00
lllyasviel
434ca2169f Add optimization --cuda-stream
See also the readme for more details
2024-02-24 14:00:48 -08:00
lllyasviel
a844834193 safer stream initialization 2024-02-23 20:28:27 -08:00
lllyasviel
88f395091b add two optimizations
--pin-shared-memory and --cuda-malloc

See also the updates in Readme for more details
2024-02-23 18:39:32 -08:00
lllyasviel
539bc5035d safe cleanup to avoid potential problems 2024-02-22 01:28:38 -08:00
lllyasviel
638ee43bf1 Merge upstream PR 14855 2024-02-21 23:59:40 -08:00
lllyasviel
4ce60f2176 support SDXL-Lightning
added samplers: Euler SGMUniform, Euler A SGMUniform, DPM++ 2M SGMUniform, DPM++ 2M SDE SGMUniform

ByteDance official recommended one is Euler SGMUniform

Remember to use CFG=1.0
2024-02-21 15:42:38 -08:00
lllyasviel
43c9e3b5ce begin to use double versioning
now you will see things like f0.0.14v1.8.0rc. It means forge 0.0.14 on webui 1.8.0rc
2024-02-17 08:32:15 -08:00
lllyasviel
07659efd88 fix import order 2024-02-17 08:03:17 -08:00
lllyasviel
d81e353d89 fix outpaint in inpaint_only+lama
the problem in inpaint_only+lama+"Resize and Fill" is fixed now.
SDXL+inpaint_only+lama+"Resize and Fill"+inpaint_fooocus_v26+"stop at 0.5 or 0.6" can be used as one SOTA outpaint method now
2024-02-14 02:45:23 -08:00
lllyasviel
fa8be06613 fix tile-colorfix problems
This will completely solve problems related to tile-colorfix and now tile colorfix/colorfix+sharp give same results to webui-cn
2024-02-14 02:19:04 -08:00
Chenlei Hu
9c5038c766 Add --forge-ref-a1111-home cmd arg to reference existing A1111 checkout (#203)
* Add --forge-ref-a1111-home cmd arg to reference existing A1111 checkout

* nit
2024-02-11 21:22:31 -05:00
lllyasviel
6e71d97478 Update forge_version.py 2024-02-10 03:25:27 -08:00
lllyasviel
ac94f38d9a Update forge_version.py 2024-02-09 22:21:53 -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
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
54edd29725 integrate latent modifier 2024-02-09 14:38:57 -08:00
lllyasviel
8059533eaf fix lora not loaded for text encoder #142 2024-02-09 13:50:50 -08:00
Chenlei Hu
ed60a99826 Fix import error (#146) 2024-02-08 23:02:33 -05:00
Chenlei Hu
388ca351f4 Revert "Fix ruff linter (#137)" (#143)
This reverts commit 6b3ad64388.
2024-02-08 21:24:04 -05:00
Chenlei Hu
6b3ad64388 Fix ruff linter (#137)
* Fix ruff linter

* Remove unused imports

* Remove unused imports
2024-02-08 20:35:20 -05:00
lllyasviel
f06ba8e60b Significantly reduce thread abuse for faster model moving
This will move all major gradio calls into the main thread rather than random gradio threads.
This ensures that all torch.module.to() are performed in main thread to completely possible avoid GPU fragments.
In my test now model moving is 0.7 ~ 1.2 seconds faster, which means all 6GB/8GB VRAM users will get 0.7 ~ 1.2 seconds faster per image on SDXL.
2024-02-08 10:13:59 -08:00
lllyasviel
291ec743b6 use better context manager to fix potential problems 2024-02-08 02:00:54 -08:00
lllyasviel
760f727eb9 use better context manager to fix potential problems 2024-02-08 01:51:18 -08:00
lllyasviel
a1670c536d Allow controlnet_model_function_wrapper
for animatediff to manage controlnet batch slicing window
2024-02-07 20:06:23 -08:00
lllyasviel
e62631350a Update forge_version.py 2024-02-06 17:55:14 -08:00
lllyasviel
402b7beb87 fix repeated model loading bug on 4090 2024-02-06 08:02:03 -08:00
lllyasviel
a578da074b fix repeated model loading bug on 4090 2024-02-06 07:59:19 -08:00
lllyasviel
d76b830add reduce prints 2024-02-06 07:56:15 -08:00
lllyasviel
7359740f36 Revert "safer device"
This reverts commit 1204d490d9.
2024-02-06 05:27:07 -08:00
lllyasviel
1204d490d9 safer device 2024-02-06 05:01:58 -08:00
lllyasviel
9c31b0ddcb try fix #56 2024-02-06 04:51:08 -08:00
lllyasviel
6aee7a2032 Update forge_version.py 2024-02-05 23:55:27 -08:00