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

Allow Loras with negative weight, too. #83

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

ursg
Copy link
Contributor

@ursg ursg commented Nov 20, 2023

There are a couple of loras which serve to adjust certain concepts in both positive and negative directions (like exposure, detail level etc).

The current code rejects them if loaded with a negative weight, but I suggest that this check can simply be dropped.

There are a couple of loras, which serve to adjust certain concepts in
both positive and negative directions (like exposure, detail level etc).

The current code rejects them if loaded with a negative weight, but I
suggest that this check can simply be dropped.
Copy link
Contributor

@Green-Sky Green-Sky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, we could discard == 0.f, but that usually does not happen anyway...

@leejet leejet merged commit ae1d5dc into leejet:master Nov 20, 2023
6 checks passed
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.

4 participants