-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Support multiple IP adapter in Flux #10775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Multiple IP adapters for Flux is not yet implemented. Passing |
thank you! |
Hey @hlky, is this up for grabs? Can give it a go after wrapping the first unit on agents course 🤗 |
@guiyrt You are welcome to take it up and I am happy to assist. Flux IPAdapter is different than other IPAdapters, the IPAdapter attention output is added to Single image usage examples can be found here and quantized examples here for reduced requirements. There are two versions, flux-ip-adapter and flux-ip-adapter-v2.
Let me know if you have any questions!
diffusers/src/diffusers/models/attention_processor.py Lines 5159 to 5253 in a4c1aac
diffusers/src/diffusers/models/attention_processor.py Lines 2780 to 2801 in a4c1aac
diffusers/src/diffusers/models/transformers/transformer_flux.py Lines 188 to 198 in a4c1aac
diffusers/src/diffusers/models/transformers/transformer_flux.py Lines 211 to 212 in a4c1aac
diffusers/src/diffusers/loaders/transformer_flux.py Lines 65 to 69 in a4c1aac
|
Thanks for centralizing all the critical info! Initial PR is open, I have a few open points but I'll put them there |
When I pass the weights in the form of [0.4, 0.4], it tells me "Expected list of 19 scales, got 2."
pipe.set_ip_adapter_scale([0.4, 0.4])
The text was updated successfully, but these errors were encountered: