Commit Graph

15 Commits (a5f9d59717dc2f31b65791ec006e3db33f647631)

Author SHA1 Message Date
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 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
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
Chenlei Hu f1f9493deb
🐛 Fix clip device (#2560) 2024-01-23 11:35:39 -05:00
ShawnTung e949858924
fix: removed the 'with' statement causing AttributeError: __enter__ (#2556) 2024-01-23 08:05:12 -05:00
Chenlei Hu 5287a4e04c
Revert " Apply a small patch(devices.get_device_for)" (#2508) 2024-01-19 20:30:37 -05:00
fuchen.ljl ecd33eb82b
Apply a small patch(devices.get_device_for) (#2503)
* clipvision

device=devices.get_device_for("controlnet")

* lama 

segmentation.py
devices.get_device_for("controlnet")

* devices.get_device_for 

run.py
device=devices.get_device_for("controlnet")

* Update __init__.py

map_location=devices.get_device_for("controlnet")
2024-01-19 11:41:01 -05:00
Chenlei Hu 0a8e71af58
🔧 Add option to run CLIP preprocessor on CPU (#2495) 2024-01-18 20:30:12 -05:00
storyicon 8b5f7c1d0e
feat: significantly optimize the time consumption of clip vision (#2474)
Signed-off-by: storyicon <storyicon@foxmail.com>
2024-01-15 10:36:34 -05:00
fuchen.ljl 247483b0e0
Update __init__.py (#2248)
Fix Controlnet cannot support the -- use CPU parameter, built-in will still load cuda
2023-11-12 21:43:34 -05:00
lllyasviel 3011ff6e70
support all recent ip-adapters
support all recent ip-adapters
2023-10-31 19:49:08 -07:00
lllyasviel f77c5eb5fa
fix ipadapter-plus (#2065) 2023-09-05 21:35:10 -07:00
lllyasviel 1d5402326d
sdxl support (for SAI/HuggingFace/diffuser/community models) (#1952)
sdxl support (for SAI/HuggingFace/diffuser/community models)
1.1.400
2023-09-04 10:41:42 -07:00