-
Notifications
You must be signed in to change notification settings - Fork 6.4k
[docs] IP-Adapter #6897
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
[docs] IP-Adapter #6897
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great! thank you
I'm not sure where to add this but I think we need to add this information here #6162 (comment)
basically for certain ip-adapter-plus checkpoints (e.g. ip-adapter-plus_sdxl_vit-h), you will have to load the image_encoder from a different folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the best guide you have written @stevhliu!
Feel free to merge once @yiyixuxu approves. Looks really good! |
# IP-Adapter | ||
|
||
[IP-Adapter](https://hf.co/papers/2308.06721) is a lightweight adapter that enables prompting a diffusion model with an image. This method decouples the cross-attention layers of the image and text features. The image features are generated from an image encoder. Files generated from IP-Adapter are only ~100MBs. | ||
[IP-Adapter](https://hf.co/papers/2308.06721) is a lightweight adapter that enables prompting a diffusion model with an image. This method decouples the cross-attention layers of the image and text features. The image features are generated from an image encoder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to indicate the file size to give an upfront idea about the tinyness of the adapter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's probably ok to not mention file size which seems like an extra detail for a reference page. It's already mentioned in the loading guide (where it is more relevant) which is linked on this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I read through the guide and added some suggestions if you don't mind. Great work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! feel free to merge anytime!
This (WIP) PR creates a more detailed and centralized guide for all things IP-Adapter related:
➖ removes non-loading related IP-Adapter content from the loading adapters guide
➕ adds IP-Adapter guide to the Techniques section
➕ adds
set_ip_adapter_scale
to the API docs➕ IP-Adapter guide is largely divided based on tasks (text-to-image, image-to-image, image-to-video, etc.) and specific use cases (face models, instant generation, controllable generation, etc.)