Commit Graph

771 Commits

Author SHA1 Message Date
Lucas Freire Sangoi d1121baf80 Adding Depth Anything v2 to ControlNet Integrated (#1519)
* Update install.py

adding install of depth anything v2

* Add files via upload

adding depth anything v2 preprocessor

* Update preprocessor_compiled.py

adding preprocessor

* Update preprocessor.py

adding preprocessor functions
2024-08-27 06:55:31 -07:00
Igor Aherne 4dc36268c2 bugfix: controlnet works in API - image no longer a dictionary (#1425)
Generating from browser works with controlnet.
Generating via API wasn't.
This is because from_dict() was making 'image' and 'mask_image' a dictionary.

In 'controlnet.py' function 'get_input_data' this would cause the following check to throw exception because used to be an incorrect type:

elif (unit_image < 5).all() and (unit_image_fg > 5).any():

Now, they are never a dictionary and check is fine
2024-08-22 21:50:33 -07:00
twarrendewit f7ab23b1cb Variable-Strength StyleAlign (#1387)
* adding efficiency

* adding variable strength

* Revert "adding efficiency"

This reverts commit 6d0ad98c06.

* updating with 0 and 1 cases

---------

Co-authored-by: T. Warren de Wit <tww0007@uah.edu>
2024-08-22 12:52:41 -07:00
layerdiffusion c1614e08c6 fix #1385 2024-08-21 22:08:07 -07:00
layerdiffusion 2b1e7366a7 Update requirements.txt 2024-08-21 03:31:24 -07:00
layerdiffusion 250ae27749 The First IDM-VTON that pass 4GB VRAM
100% reproduce official results
2024-08-20 21:30:47 -07:00
layerdiffusion 5452bc6ac3 All Forge Spaces Now Pass 4GB VRAM
and they all 100% reproduce author results
2024-08-20 08:01:10 -07:00
layerdiffusion 65ec461f8a revise space 2024-08-19 22:43:09 -07:00
layerdiffusion 95bc586547 geowizard 2024-08-19 00:27:21 -07:00
layerdiffusion 631a097d0b change Florence-2 default to base 2024-08-18 21:31:24 -07:00
layerdiffusion ca2db770a9 ic light 2024-08-18 21:16:58 -07:00
layerdiffusion 4751d6646d Florence-2 2024-08-18 20:51:44 -07:00
layerdiffusion 1cbd13c85a Animagine XL 3.1 Official User Interface 2024-08-18 20:05:16 -07:00
layerdiffusion da72cd6fab IllusionDiffusion 2024-08-18 03:27:44 -07:00
layerdiffusion 2292f9a100 Technically Correct PhotoMaker V2
that can actually reproduce author results, and be used in serious research and writing academic papers
2024-08-18 01:47:27 -07:00
layerdiffusion 72ab92f83e upload meta files 2024-08-18 00:12:53 -07:00
layerdiffusion 0ccbac5389 revise space logics 2024-08-18 00:04:02 -07:00
layerdiffusion 7df7ea3d6b fix birefnet commit 2024-08-17 08:38:31 -07:00
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