Commit Graph

1911 Commits (58f620c921030eea0f3528d68849f7e052d44e3f)

Author SHA1 Message Date
Chenlei Hu ed373ed0e1
Add IPAdapter advanced weighting [Instant Style] (#2767)
* rename variable

* nit

* add transformer index

* nit

* API support

* Fix transformer_index alignment issue

* Add weight control panel

* fix sdxl

* free edit

* clear advanced weighting

* nit

* Add assertion
2024-04-20 01:14:22 -04:00
Chenlei Hu fa72f3e7b5
Fix preset (#2766) 2024-04-18 20:08:00 -04:00
Chenlei Hu 282c619696
Fix inpaint preprocessors (#2763)
* wip

* adjust test
2024-04-18 10:30:48 -04:00
w-e-w f6bc98addd
Install fix, albumentations pydantic insightface, onnxruntime-gpu (#2761)
* fix insightface pydantic

* pkg_resources -> importlib.metadata

* onnxruntime / onnxruntime-gpu

* albumentations==1.4.3

dependency incompatibility compatibility with albumentations==1.4.4
whitch requires
- pydantic required: >=2.6.4

webui 1.9 with gradio==3.41.2 / fastapi==0.94.0 requires
- pydantic required: >=1.7.4,<3.0.0,!=2.0.1,!=2.0.0,!=1.8.1,!=1.8

solution for now
pin albumentations==1.4.3 as control net requirement
which doesn't requires pydantic
2024-04-18 10:26:55 -04:00
Chenlei Hu 3a856459a9
📝 Update to version v1.1.444 (#2759) 2024-04-17 22:29:04 -04:00
Chenlei Hu 442398bb9f
Port SDForge's preprocessor structure (#2754)
* wip

* wip2

* wip3

* fix issues

* Add scribble xdog

* port legacy processors

* nit

* Add tests

* Fix modules test

* Add back normal_dsine

* Remove legacy code

* Remove code

* Add tests

* rename param

* Linter ignore

* fix is_image

* fix is_image

* nit

* nit

* Better assertion message

* Add back ip-adapter-auto

* Add test

* Fix various tag matching

* fix

* Add back preprocessor cache

* Add back sparse ctrl

* fix test failure

* Add log
2024-04-17 22:28:56 -04:00
Chenlei Hu bbcae309d1
Save/Use CLIP output in API (#2590)
* Add API support

* Add assertion

* Add test

* nit
2024-04-15 15:08:51 -04:00
Chenlei Hu eca5b0acfd
Do not check ip-adapter-auto when unit disabled (#2751) 2024-04-15 13:25:36 -04:00
Chenlei Hu 8af7577c45
Change API processor_res/threshold_a/threshold_b default values (#2746)
* Change API threshold_a/threshold_b/res default values

* move code

* Add tests

* update test

* Add log_context for testing

* More test

* nit

* encoding

* Change cq log encoding
2024-04-15 09:46:14 -04:00
Chenlei Hu a999981416
Make ip-adapter face_id pick largest face instead of first face (#2745)
* Make ip-adapter face_id pick largest face instead of first face

* nit
2024-04-14 15:42:39 -04:00
Chenlei Hu cc571f1425
Fix insightface BGR channel issue (#2744) 2024-04-14 15:15:46 -04:00
Chenlei Hu eb451a007f
Fix faceid (#2727) 2024-03-31 23:54:20 -04:00
Chenlei Hu e42108160c
Remove unused field bypass_average (#2725) 2024-03-31 16:49:23 -04:00
Chenlei Hu 55d1aae1ee
Add v11 ipadapter presets (#2724) 2024-03-31 15:50:49 -04:00
Chenlei Hu 500457659c
📝 Update to version v1.1.443 (#2722) 2024-03-31 12:14:00 -04:00
Chenlei Hu a5f9d59717
Add clip mask support (#2721)
* Add clip mask support

* nit

* Add tests
2024-03-31 12:13:51 -04:00
Chenlei Hu 807a883ed6
Move ad batch input (#2720)
* Move ad batch input

* nit

* nit
2024-03-30 23:31:12 -04:00
Chenlei Hu faddb8bb9c
Refactor ipadapter (#2719) 2024-03-30 22:27:36 -04:00
Chenlei Hu f6f36e3bbf
Add 'image_mask' field for compatibility with SD Forge (#2717)
* Add 'image_mask' field for compatibility with SD Forge

* Merge img2img test and txt2img tests

* Reduce target size to speed up CQ
2024-03-30 17:32:06 -04:00
Chenlei Hu 708d6ca342
Update model download section (#2718) 2024-03-30 17:27:58 -04:00
Chenlei Hu f7aa688402
Fix seg preprocessor (#2716) 2024-03-30 15:36:41 -04:00
Chenlei Hu 4e9ac19cbc
Migrate detect_test and improve coverage (#2715)
* Migrate detection tests

* Add test results

* Skip cq disabled tests
2024-03-30 15:33:57 -04:00
Chenlei Hu fcd542e547
Unify IP-Adapter preprocessor (#2710) 2024-03-29 23:22:17 -04:00
Chenlei Hu 0114c9aaa3
Split controlmodel_ipadapter file (#2709) 2024-03-29 16:28:57 -04:00
Chenlei Hu f1f7906806
Fix crash on A1111 dev (#2708) 2024-03-29 16:21:53 -04:00
青龍聖者@bdsqlsz 2a210f0489
Fix Download Link (#2705)
Fix Download Link
2024-03-27 16:00:56 +08:00
青龍聖者@bdsqlsz 0b90426254
📝 Update to version v1.1.442 (#2702)
📝 Update to version v1.1.442
2024-03-26 20:14:36 +08:00
青龍聖者@bdsqlsz bcd0322e87
Support New Softedge Preprocesser NormalDsine (#2701)
Support New Softedge Preprocesser NormalDsine
2024-03-26 20:11:57 +08:00
Chenlei Hu 2091b6fb21
Fix type (#2691) 2024-03-14 22:32:35 -04:00
Chenlei Hu b379b90ab4
Fix device for multi-gpu env (#2690) 2024-03-14 22:27:16 -04:00
Chenlei Hu aa2aa812e8
Remove dep basicsr (#2682)
* Remove dep basicsr

* nit
2024-03-05 21:52:19 -05:00
Chenlei Hu 4b5a42f265
Rename IOComponent to Component for Gradio4 (#2681) 2024-03-05 21:18:30 -05:00
Chengsong Zhang 489a399ef0
fix (#2678) 2024-03-04 21:48:59 -06:00
Chengsong Zhang 461f8c5f16
AnimateDiff 2.0.0-a ControlNet part (#2661)
* ad

* ad

* sparsectrl and keyframe, excluding ip-adapter emb interpolation

* fix ruff

* ipadapter prompt travel. now implementation has been finished, next step test every feature

* sparsectrl works, ip-adapter still not working

* everything but i2i batch is working properly

* everything but i2i batch is working properly, fix ruff
2024-03-02 06:12:54 -06:00
Chenlei Hu 75ac3803fe
Adjust log level (#2669) 2024-02-29 23:14:50 -05:00
Chenlei Hu 44e0875956
Fix linter issues under script (#2667) 2024-02-28 23:58:34 -05:00
Chenlei Hu 976c595150
Add ruff linter dep (#2666) 2024-02-28 22:44:10 -05:00
George0726 f6755d288d
Update processor.py (#2665)
Fix large size bug
2024-02-28 21:38:33 -05:00
h3rmit 679b62790b
Compatibility fix for WebUI < v1.6.0 (#2649) 2024-02-18 21:52:46 -05:00
Nashihikari a87ca82ba4
type error in depth zoe, converting numpy type into int (#2650) 2024-02-18 21:52:38 -05:00
h3rmit 1d39c2ab58
Compatibility fixes for WebUI < v1.5.0 (#2647)
* fix: backward compatibility of clipvision with webui v1.3.0

* fix: backward compatibility with webui < v1.5.0

* nits

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2024-02-17 10:13:09 -05:00
missionfloyd e996902711
Correct image saving in API examples (#2646) 2024-02-17 10:05:13 -05:00
Chenlei Hu 9a5f28838a
Update hand refiner (#2639)
* Update hand refiner

* nit
2024-02-12 13:27:44 -05:00
Chenlei Hu 416c345072
🐛 Correctly raise exception (#2614) 2024-01-31 22:29:58 -05:00
Chenlei Hu 9c907a936a
🐛 Fix error message (#2613) 2024-01-31 21:47:12 -05:00
Chenlei Hu 7c05d36948
:load_sound: Print control_model_type when loading model (#2612) 2024-01-31 21:45:22 -05:00
Chenlei Hu 0ee0281178
🐛 Fix model refresh (#2607) 2024-01-30 21:22:49 -05:00
Chenlei Hu c5432dd4f6
📝 Update to version v1.1.440 (#2600) 2024-01-28 18:15:41 -05:00
Chenlei Hu bd2644b794
🔧 Increase default model cache size to 2 (#2599) 2024-01-28 18:14:53 -05:00
Chenlei Hu 585b8ea17d
wip (#2598) 2024-01-28 17:58:45 -05:00