Commit Graph

753 Commits

Author SHA1 Message Date
lllyasviel 93b40f355e Forge Space and BiRefNet 2024-08-17 08:29:08 -07:00
continue revolution 5fa8c6d414 remove basicsr (#1214) 2024-08-16 20:33:38 -07:00
layerdiffusion dc7f92eb96 fix fooocus inpaint 2024-08-16 03:21:28 -07:00
layerdiffusion 12369669cf only load lora one time 2024-08-16 02:02:22 -07:00
layerdiffusion a0849953bd revise 2024-08-13 15:13:39 -07:00
layerdiffusion fb390f0b44 clean up 2024-08-11 23:06:00 -07:00
layerdiffusion a91a81d8e6 revise structure 2024-08-07 20:44:34 -07:00
layerdiffusion 77a4980f08 remove everything related to training 2024-08-05 04:35:09 -07:00
layerdiffusion bccf9fb23a Free WebUI from its Prison
Congratulations WebUI. Say Hello to freedom.
2024-08-05 04:21:35 -07:00
layerdiffusion aafe11b14c Revert "Free WebUI from its Prison"
This reverts commit 62c11fdc71.
2024-08-05 03:52:44 -07:00
layerdiffusion 62c11fdc71 Free WebUI from its Prison
Congratulations WebUI. Say Hello to freedom.
2024-08-05 03:39:54 -07:00
layerdiffusion be3f0a0039 remove legacy config 2024-08-03 17:04:56 -07:00
layerdiffusion 8c087f920e rename files 2024-08-03 15:54:39 -07:00
layerdiffusion b8b29a2372 remove forge_sampler 2024-08-03 15:38:07 -07:00
layerdiffusion a17abbc097 Update forge_stylealign.py 2024-08-03 14:49:40 -07:00
layerdiffusion b3a6eeefd6 Update forge_sag.py 2024-08-03 14:49:02 -07:00
layerdiffusion dfc3879a69 disable photomaker
PhotoMaker has significant degradation compared to Tencent official results because of ComfyUI's defective implementation
I will impl it and compare to Tencent official results later
2024-08-03 14:40:10 -07:00
layerdiffusion 6c2afbbbbd Update forge_perturbed_attention.py 2024-08-03 14:37:36 -07:00
layerdiffusion 754a9d0480 Update forge_never_oom.py 2024-08-03 14:36:40 -07:00
layerdiffusion 4e4296b6fa tiled diffusion 2024-08-03 14:32:47 -07:00
layerdiffusion e6bd652a4a lora and kohyafix 2024-08-03 14:24:38 -07:00
layerdiffusion 07b2d2ccac clipvision, ipadapter, and misc
backend is 75% finished
2024-08-03 14:18:16 -07:00
layerdiffusion e722991752 control rework 2024-08-02 22:17:27 -07:00
layerdiffusion 9a449a1d98 remove annoying control model version filter
thanks god
2024-08-02 20:33:58 -07:00
layerdiffusion 6ed95d66e5 rework several component patcher
backend is 65% finished
2024-08-02 14:56:57 -07:00
layerdiffusion d1b8a2676d rework lora and patching system
and dora etc - backend rework is 60% finished
And I also removed the webui’s extremely annoying lora filter from model versions.
2024-08-02 13:45:26 -07:00
layerdiffusion f6981339b0 predictor is a better name 2024-08-01 21:29:34 -07:00
layerdiffusion bc9977a305 UNet from Scratch
Now backend rewrite is about 50% finished.
Estimated finish is in 72 hours.
After that, many newer features will land.
2024-08-01 21:19:41 -07:00
bluelovers 37492057e5 Update forge_freeu.py (#718)
for `sd-webui-bilingual-localization`
2024-08-01 12:55:26 -07:00
Dan Weiss 0207eec2cd Add pasting fields into Latent Modifier settings (#624) 2024-08-01 12:55:11 -07:00
altoiddealer 0eea1acc6e Restore '/controlnet/control_types' API endpoint (#912)
Restores the '/controlnet/control_types' API endpoint, which is immensely useful for anyone using ControlNet via the API

## Description

I recently opened an Issue on the main ControlNet extension repo Mikubill/sd-webui-controlnet#2737 suggesting that they add a new API endpoint to allow users to retrieve filtered data based on a Control Type, just like in the UI.

I was both shocked and immensely disappointed when they finally replied, stating that the endpoint does already exist!

I understand that Forge is a massive overhaul to A1111, so perhaps this aspect was removed to get everything working, and then just never reimplemented.

Whatever the case, this endpoint is truly amazing for using ControlNet via API.  With only the 'models' and 'modules' endpoints, how the heck is someone to make a dynamic script?  They would essentially have to take a fat chunk of existing ControlNet code, plus these few added functions, just to filter the data appropriately.

I'm an amateur coder, at best, however I'm quite confident about this implementation.

This uses your existing functions as best as possible, I believe, including your filter list and the check for currently loaded SD model version.

Please merge this.

Thank you

## Screenshots/videos:

<img width="1136" alt="Restored" src="https://github.com/lllyasviel/stable-diffusion-webui-forge/assets/1613484/8996c3f2-27be-4405-b0cd-7f05f3eaa2d2">

[response_1714160176770.json](https://github.com/lllyasviel/stable-diffusion-webui-forge/files/15134692/response_1714160176770.json)

## Checklist:

- [X] I have read [contributing wiki page](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing)
- [X] I have performed a self-review of my own code
- [X] My code follows the [style guidelines](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing#code-style)
- [X] My code passes [tests](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Tests)
2024-08-01 12:48:30 -07:00
layerdiffusion 33e381f16a align with SAG ui 2024-07-26 15:19:24 -07:00
layerdiffusion 1673a5ac2d Perturbed Attention Guidance Integrated 2024-07-26 15:00:31 -07:00
layerdiffusion 1d185584a7 move hypertile, svd, z123 to legacy extensions
https://github.com/lllyasviel/forge-legacy-extensions
2024-07-26 14:28:47 -07:00
layerdiffusion e26abf87ec Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
lllyasviel 6287c73d98 rework memory management for extras
now face post-processing uses gpu
close #312
2024-02-25 20:37:14 -08:00
catboxanon b458e42096 Fix LoRA infotext (#406) 2024-02-25 19:41:42 -08:00
lllyasviel 5e5b60b5b1 rework lora loading
and add logs
2024-02-25 11:04:14 -08:00
lllyasviel 437c348926 Add build-in extension "NeverOOM"
see also discussions
2024-02-24 19:09:06 -08:00
lllyasviel 2ecb869f31 try solve #386 2024-02-23 20:43:06 -08:00
lllyasviel ae51178629 allow extensions to sort themselves in UI
and other installed extensions will be on top now (including some resolution related UI extensions)
2024-02-17 08:15:29 -08:00
lllyasviel 7a2aca6fed Merge branch 'main' into tdd 2024-02-17 07:40:16 -08:00
catboxanon 06ab10a1be Normalize cmd arg paths
In particular, this fixes an issue on Windows where some functions
will misbehave if forward slashes are provided rather than
double backslashes.
2024-02-15 14:22:13 -05: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
lllyasviel b50d978e1b reduce difference of tile-colorfix to webui cn 2024-02-13 20:45:11 -08:00
Chenlei Hu 4777898a0c Update hand refiner (#219) 2024-02-12 21:59:44 -08:00
lllyasviel 3cdae09639 try solve saturation problems for instant id in #155 2024-02-11 20:53:17 -08:00
lllyasviel 11dcc6c96c solve lereas++ device #174 2024-02-11 16:53:19 -08:00
Chenlei Hu 8316773caa Fix inpaint mask in API (#188)
* Fix inpaint mask in API

* Add more tests

* Add tests
2024-02-11 11:49:21 -05:00