Dhruv Nair
150142c537
[Tests] Fix precision related issues in slow pipeline tests ( #8720 )
...
update
2024-06-28 08:13:46 +05:30
Tolga Cangöz
0ab63ff647
Fix CPU Offloading Usage & Typos ( #8230 )
...
* Fix typos
* Fix `pipe.enable_model_cpu_offload()` usage
* Fix cpu offloading
* Update numbers
2024-05-24 11:25:29 -07:00
Fabio Rigano
065f251766
Restore AttnProcessor2_0 in unload_ip_adapter ( #7727 )
...
* Restore AttnProcessor2_0 in unload_ip_adapter
* Fix style
* Update test
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-04-22 13:59:03 -10:00
Jenyuan-Huang
21c747fa0f
Support InstantStyle ( #7668 )
...
* enable control ip-adapter per-transformer block on-the-fly
---------
Co-authored-by: sayakpaul <spsayakpaul@gmail.com >
Co-authored-by: ResearcherXman <xhs.research@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-04-22 13:20:19 -10:00
Fabio Rigano
b5c8b555d7
Move IP Adapter Face ID to core ( #7186 )
...
* Switch to peft and multi proj layers
* Move Face ID loading and inference to core
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-04-18 14:13:27 -10:00
Fabio Rigano
a0cf607667
Multi-image masking for single IP Adapter ( #7499 )
...
* Support multiimage masking
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2024-04-09 09:20:57 -10:00
Dhruv Nair
9a34953823
Additional Memory clean up for slow tests ( #7436 )
...
* update
* update
* update
2024-03-25 12:19:21 +05:30
Fabio Rigano
eba7e7a6d7
IP-Adapter attention masking ( #6847 )
...
* Add attention masking to attn processors
* Update tensor conversion
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-02-18 18:06:14 -10:00
YiYi Xu
2e387dad5f
fix IPAdapter unload_ip_adapter test ( #6972 )
...
add
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2024-02-14 20:42:40 -10:00
Dhruv Nair
30bcda7de6
Fix flaky IP Adapter test ( #6960 )
...
update
2024-02-13 17:07:39 +05:30
Sayak Paul
30e5e81d58
change to 2024 in the license ( #6902 )
...
change to 2024
2024-02-08 08:19:31 -10:00
Dhruv Nair
994360f7a5
Fix last IP Adapter test ( #6875 )
...
update
2024-02-06 08:53:40 -10:00
Dhruv Nair
bb99623d09
Update IP Adapter tests to use cosine similarity distance ( #6806 )
...
* update
* update
2024-02-05 16:22:59 +05:30
YiYi Xu
2e8d18e699
[IP-Adapter] Support multiple IP-Adapters ( #6573 )
...
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Alvaro Somoza <somoza.alvaro@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2024-01-31 07:11:15 -10:00
YiYi Xu
b09b90e24c
udpate ip-adapter slow tests ( #6760 )
...
* udpate slices
* up
* hopefully last one
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
2024-01-29 17:55:41 -10:00
Fabio Rigano
86714b72d0
Add unload_ip_adapter method ( #6192 )
...
* Add unload_ip_adapter method
* Update attn_processors with original layers
* Add test
* Use set_default_attn_processor
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2024-01-02 14:40:46 +01:00
YiYi Xu
57fde871e1
offload the optional module image_encoder ( #6151 )
...
* offload image_encoder
* add test
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2023-12-18 15:10:01 -10:00
Fabio Rigano
b65928b556
Add support for IPAdapterFull ( #5911 )
...
* Add support for IPAdapterFull
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
2023-12-07 06:40:39 -10:00
takuoko
0a08d41961
[Feature] Support IP-Adapter Plus ( #5915 )
...
* Support IP-Adapter Plus
* fix format
* restore before black format
* restore before black format
* generic
* Refactor PerceiverAttention
* format
* fix test and refactor PerceiverAttention
* generic encode_image
* keep attention implementation
* merge tests
* encode_image backward compatible
* code quality
* fix controlnet inpaint pipeline
* refactor FFN
* refactor FFN
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2023-12-04 12:43:34 +01:00
YiYi Xu
ba352aea29
[feat] IP Adapters (author @okotaku ) ( #5713 )
...
* add ip-adapter
---------
Co-authored-by: okotaku <to78314910@gmail.com >
Co-authored-by: sayakpaul <spsayakpaul@gmail.com >
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com >
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2023-11-21 07:34:30 -10:00