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: Change Default Weight via UI #8

Open
troodpart opened this issue Jan 6, 2024 · 2 comments
Open

Feature Request: Change Default Weight via UI #8

troodpart opened this issue Jan 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@troodpart
Copy link

"Use built-in Lora configuration to store Activation Text & Preferred Weight, which will be automatically used in this script. Otherwise, it will only apply the Lora with default 1 weight."

Can you add a slider/input box to let the user easily select a different default weight? I have 100+ LoRAs I haven't set the preferred weight for and most of them are cooked at weight = 1. I'd rather test them around 0.5, but I don't want to go configure that as the default for all of them in their configs. It's also beneficial to be able to compare LoRA's quickly across different weights.

@Yinzo
Copy link
Owner

Yinzo commented Jan 6, 2024

Sure, I think it can include a single weight input box, which will apply that weight to all the selected loras. This input box can support multiple weights in one line, separated by commas, making it easy to compare different weights for lora.

But adding input for each selected lora, to change their default weight, might not be feasible. Because that will take huge space to hold all the sliders or input box, especially when you have hundreds of models.

So, in the scenario where you run prompt on some loras, and they work best on different weights, I still recommend using the lora configuration to store its best weight as the default.

@troodpart
Copy link
Author

Thanks! Yeah no need to go overboard. For me this would be perfect:

  1. Slider/input box - user inputs weight "Selected Weight"
  2. Select LoRAs for script to use as usual
  3. For that run, all LoRAs are applied at the weight selected in step 1 (adding any activation text as needed)
  4. Follow on runs will continue to use the selected weight until it is deleted/changed
  5. If selected weight field is empty, current weight behavior is applied (use default weight for LoRA or 1 if it doesn't have any)

@Yinzo Yinzo added the enhancement New feature or request label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants