mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 10:50:23 +00:00
Update lora.py
This commit is contained in:
@@ -178,6 +178,7 @@ def load_loras(names, multipliers=None):
|
|||||||
|
|
||||||
|
|
||||||
def lora_forward(module, input, res):
|
def lora_forward(module, input, res):
|
||||||
|
input = devices.cond_cast_unet(input)
|
||||||
if len(loaded_loras) == 0:
|
if len(loaded_loras) == 0:
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user