forked fromleejet/stable-diffusion.cpp
- Notifications
You must be signed in to change notification settings - Fork0
Commitae1d5dc
feat: allow LoRAs with negative multiplier (leejet#83)
* Allow Loras with negative weight, too.There are a couple of loras, which serve to adjust certain concepts inboth positive and negative directions (like exposure, detail level etc).The current code rejects them if loaded with a negative weight, but Isuggest that this check can simply be dropped.* ignore lora in the case of multiplier == 0.f---------Co-authored-by: Urs Ganse <urs@nerd2nerd.org>Co-authored-by: leejet <leejet714@gmail.com>1 parent51b53d4 commitae1d5dc
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
| |||
0 commit comments
Comments
(0)