-
Notifications
You must be signed in to change notification settings - Fork 6.1k
[LoRA] support Kohya Flux LoRAs that have text encoders as well #9542
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
Conversation
Sorry for the review request messup. |
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. |
@asomoza can you give this a review too? |
I think it shouldn't apply to this LoRA because it doesn't have the |
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.
Looking great! Thanks for adding it
…ingface#9542) * support kohya flux loras that have tes.
* support kohya flux loras that have tes.
Hello! |
Can you open a new issue thread with a fully reproducible code snippet? |
Hello, the reproducing way is very simple, you can try to open any Kohya model without a text encoder. |
Not sure about it really. I just ran |
Hello, but in real life is not working :-) |
Also, I would suggest avoid being anecdotal here.
I kept asking for a simple reproducer and you just referred me to the Civit AI model link. Please try empathizing with the maintainer's time. To get it to work:
Expecting a simple reproducer isn't too much of an ask and I would suggest respecting that going forward. So far I have engaged in good faith. If you keep providing incomplete information, I will just stop engaging. This applies to you and everyone else having similar attitude. |
Hello! |
What does this PR do?
https://huggingface.co/cocktailpeanut has a bunch of very nice Flux LoRAs that were trained using Kohya but has text encoder components too. This PR adds support for fully loading those LoRAs.
Test code (has a slow test in this PR too):
Favorite sample:

optimus is a DJ performing at a hip nightclub