Skip to content

Conversation

@kimx3966
Copy link

What does this PR do?

This PR takes the lora weight values and scales the learned weights of lora. The reason these weight values are needed is that some LoRA models require weight values lower than 1 to ensure the images do not break and are properly rendered. Adjusting the adapter_condition_scale value was not a solution.

@TomLucidor
Copy link

TomLucidor commented May 2, 2025

What other stuff do you think needs to be added to X-Adapter? I am suspect they might not be updating this again

@kimx3966
Copy link
Author

I also think my PR might not get merged at this point. Other than that, I don't think I have anything additional to add yet. I included it because, in many cases, lowering the LoRA weight slightly results in images that look better and don't break.

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

Successfully merging this pull request may close these issues.

2 participants