vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.7k stars 423 forks source link

[Feature]: Leco LoRA / Concept sliders #2868

Closed vladmandic closed 8 months ago

vladmandic commented 8 months ago

Feature description

implement support for lier lora network types

lora concepts sliders are based on two network variations: c3lier and lierla those two networks were first defined in leco lora: https://github.com/p1atdev/LECO/blob/main/lora.py

reference implemnentation for concepts sliders: https://github.com/rohitgandikota/sliders seems like actual network in https://github.com/rohitgandikota/sliders/blob/main/trainscripts/textsliders/lora.py is pretty much the same as leco original? (although not sure why is there separate https://github.com/rohitgandikota/sliders/blob/main/trainscripts/imagesliders/lora.py) and loader plus how to set scale is notebook: https://github.com/rohitgandikota/sliders/blob/main/SD1-sliders-inference.ipynb

Version Platform Description

No response

vladmandic commented 8 months ago

tested sd15 and sdxl, works.