-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
FLUX XLabs IP-Adapter Support #7157
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ate_dict_utils.py.
…-Adapter. Need to revisit how to clean this all up long term.
github-actions
bot
added
python
PRs that change python files
invocations
PRs that change invocations
backend
PRs that change backend files
python-tests
PRs that change python tests
labels
Oct 21, 2024
… looked into this much, but punting on it for now).
…e-ai/InvokeAI into ryan/flux-ip-adapter-cfg-2
psychedelicious
approved these changes
Oct 22, 2024
RyanJDick
requested review from
blessedcoolant,
maryhipp,
hipsterusername,
lstein and
brandonrising
as code owners
October 22, 2024 20:46
hipsterusername
approved these changes
Oct 22, 2024
psychedelicious
force-pushed
the
ryan/flux-cfg
branch
from
October 22, 2024 20:59
22146b0
to
d20b894
Compare
This masked an issue w/ the CLIP Vision model. Issue is now handled in reducer/graph builder.
FLUX IP Adapter only works with RGB. Did the same for non-FLUX to be safe & consistent, though I don't think it's strictly necessary.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backend
PRs that change backend files
frontend
PRs that change frontend files
invocations
PRs that change invocations
python
PRs that change python files
python-tests
PRs that change python tests
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for the XLabs IP-Adapter (https://huggingface.co/XLabs-AI/flux-ip-adapter) in workflows. Linear UI integration is coming in a follow-up PR. The XLabs IP-Adapter can be installed in the Starter Models tab.
Usage tips:
cfg_scale
value of 2.0 to 4.0cfg_scale_start_step = 1
cfg_scale_end_step
to roughly the halfway point (it's unnecessary to apply CFG to all steps, and this will improve processing time).Sample workflow:
Result:
Related Issues / Discussions
Prerequisite: #7152
Remaining TODO:
QA Instructions
Test with multiple images to a single IP-Adapter(this is not supported for now)Merge Plan
Checklist