Skip to content
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

is support controlnet and ip-adapter? #3

Open
libai-lab opened this issue Nov 9, 2024 · 4 comments
Open

is support controlnet and ip-adapter? #3

libai-lab opened this issue Nov 9, 2024 · 4 comments

Comments

@libai-lab
Copy link

nice project,is support controlnet and ip-adapter?is there a demo

@lmxyy
Copy link
Collaborator

lmxyy commented Nov 9, 2024

At https://svdquant.mit.edu, we have a demo for sketch-to-image, which is trained with img2img-turbo. As long as the add-on (e.g., image control, ip-adapter) is a LoRA, SVDQuant can support it without re-quantization. We will later release the tutorial on how to apply customized LoRA to our 4-bit base model.

@peki12345
Copy link

At https://svdquant.mit.edu, we have a demo for sketch-to-image, which is trained with img2img-turbo. As long as the add-on (e.g., image control, ip-adapter) is a LoRA, SVDQuant can support it without re-quantization. We will later release the tutorial on how to apply customized LoRA to our 4-bit base model.

But neither ControlNet nor IP-Adapter is LORA, right?

@libai-lab
Copy link
Author

At https://svdquant.mit.edu, we have a demo for sketch-to-image, which is trained with img2img-turbo. As long as the add-on (e.g., image control, ip-adapter) is a LoRA, SVDQuant can support it without re-quantization. We will later release the tutorial on how to apply customized LoRA to our 4-bit base model.

But neither ControlNet nor IP-Adapter is LORA, right?

no ,They are not Lorafor example, https://huggingface.co/Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro,https://huggingface.co/XLabs-AI/flux-ip-adapter-v2

@lmxyy
Copy link
Collaborator

lmxyy commented Nov 10, 2024

Currently, we only support the LoRA add-ons.
I quickly checked the FLUX ControlNet and IP-Adapters. They introduce only a small number of additional parameters compared to the base model, just like LoRA. Even at 16-bit precision, their computational and parameter overhead remain minimal. We are considering adding support for these add-ons in our next release—stay tuned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants