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

[Feature Request] Add a NOT operator that can be used with the current Variables #518

Open
ArrowM opened this issue Jun 9, 2023 · 0 comments

Comments

@ArrowM
Copy link

ArrowM commented Jun 9, 2023

Let's say I have a Lora wildcard __loras__ and I want to combine them to get interesting weight combinations. My naive implementation of combining them is:

<lora:__loras__:0.3><lora:__loras__:0.7>

This works okay, but what if I always want 2 unique loras without the chance of both wildcards evaluating to the same thing.
One solution would be adding a NOT operator such as |!, since wildcard evaluations can already be stored as variables.

<lora:{ L1 =! __loras__ }:0.3><lora:{__loras__ |! L1 }:0.7>
@ArrowM ArrowM changed the title [Feature Request] Evaluating wildcards as Combinations [Feature Request] Evaluating wildcards as Combination Sets Jun 9, 2023
@ArrowM ArrowM changed the title [Feature Request] Evaluating wildcards as Combination Sets [Feature Request] Add a NOT operator that can be used with the current Variables Jun 9, 2023
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

1 participant