-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
Good second issuecontributions-welcomegood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
fix #6088
Is anyone interested in adding a unload_ip_adapter method? it needs to undo everything we did with load_ip_adapter method:
| def load_ip_adapter( |
It needs to do below 3 things:
- remove
image_encoder - undo the changes we made to the UNet structure here (), i.e.
diffusers/src/diffusers/loaders/unet.py
Line 82 in 93ea26f
python self.encoder_hid_proj = None self.config.encoder_hid_dim_type = None - reset the attention processor
Metadata
Metadata
Assignees
Labels
Good second issuecontributions-welcomegood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed