Unverified Commit 2f018140 authored by FNSpd's avatar FNSpd Committed by GitHub
Browse files

Update lora.py

parent c84c9df7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@ def load_loras(names, multipliers=None):


def lora_forward(module, input, res):
    input = devices.cond_cast_unet(input)
    if len(loaded_loras) == 0:
        return res