Commit Graph

8046 Commits

Author SHA1 Message Date
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
bb5083f3c2 rework sample function 2024-08-03 13:27:23 -07:00
layerdiffusion
8c902e6221 add note 2024-08-03 12:59:03 -07:00
layerdiffusion
0871870342 Update supported_controlnet.py 2024-08-03 12:52:32 -07:00
layerdiffusion
907d883e49 add huggingface_guess repo 2024-08-03 12:40:11 -07:00
layerdiffusion
e81788e3b8 add huggingface mappings 2024-08-02 22:56:04 -07:00
layerdiffusion
31d26adba3 add latent_spaces 2024-08-02 22:40:30 -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
1f56acf3e7 use trange 2024-08-02 15:09:04 -07:00
layerdiffusion
6ed95d66e5 rework several component patcher
backend is 65% finished
2024-08-02 14:56:57 -07:00
layerdiffusion
91543adb90 resolve #926 2024-08-02 13:55:11 -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
f367b07282 fix gradio url timeout
#909
2024-08-02 11:46:36 -07:00
layerdiffusion
2104e12dab Update unet.py 2024-08-02 04:22:05 -07:00
layerdiffusion
40476bb8b3 Update unet.py 2024-08-02 04:20:18 -07:00
layerdiffusion
76e0d17af3 tune attn params 2024-08-02 04:18:47 -07:00
layerdiffusion
e5860a4999 move stream file 2024-08-02 03:37:22 -07:00
layerdiffusion
3dd084d55b more attention types 2024-08-02 03:37:21 -07:00
layerdiffusion
318219bc9d move file 2024-08-02 03:37:20 -07:00
layerdiffusion
018903ce2a fix kohya-hr 2024-08-02 00:37:14 -07:00
layerdiffusion
61ca3bc34f fix lora 2024-08-01 23:29:27 -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
lllyasviel
e3522c8919 Update README.md 2024-08-01 16:05:36 -07:00
lllyasviel
e015919632 Update README.md 2024-08-01 15:55:56 -07:00
lllyasviel
5f9e047301 Update README.md 2024-08-01 15:55:00 -07:00
layerdiffusion
b3bd78289e resolve #915 2024-08-01 14:17:04 -07:00
layerdiffusion
fec51bf2dd ling 2024-08-01 13:07:42 -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
continue revolution
5192e912ab GroupNorm patcher (#593)
* add gn wrapper and corresponding patcher

* add gn wrapper and corresponding patcher
2024-08-01 12:53:27 -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
4d1be42975 Intergrate CLIP 2024-08-01 12:27:20 -07:00
layerdiffusion
af0b04cc16 store huggingface vars in VAE 2024-07-31 21:40:18 -07:00
layerdiffusion
3079b81547 make attn func name more technically correct 2024-07-31 21:35:19 -07:00
layerdiffusion
3fb9d5a85c fix vae output layer weight cannot cast 2024-07-31 21:20:56 -07:00
layerdiffusion
0d079a846d Intergrate Native AutoEncoderKL 2024-07-31 21:10:19 -07:00
layerdiffusion
2c3afff371 gradio==4.40.0
all basic UIs tested
2024-07-31 19:04:02 -07:00
layerdiffusion
f052fabd4d make model guess a function that can be patched 2024-07-30 17:26:49 -06:00
layerdiffusion
c8156fcf41 rework model loader and configs 2024-07-30 13:27:26 -06:00
layerdiffusion
40dd61ba6c improve vae key mapping 2024-07-30 09:23:58 -06:00
layerdiffusion
3289ccb53f add vae configs 2024-07-30 08:55:22 -06:00
layerdiffusion
dc62b0d2d7 begin to use new vae impl 2024-07-30 08:43:14 -06:00
layerdiffusion
abd4d4d83d unify cast name 2024-07-30 08:42:51 -06:00
layerdiffusion
9a48c9eff3 rename state_dict method to make it clear 2024-07-30 08:05:36 -06:00
layerdiffusion
9cb69baf9f Implement VAE for new backend 2024-07-29 22:26:32 -06:00
layerdiffusion
e6e18f7edb Update .gitignore 2024-07-29 17:55:44 -06:00