We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0bfa7 commit 0ccb304Copy full SHA for 0ccb304
invokeai/backend/stable_diffusion/extensions/lora_patcher.py
@@ -138,7 +138,7 @@ def _patch_model(
138
# TODO: debug on lycoris
139
lora_param_weight = lora_param_weight.reshape(module_param.shape)
140
141
- lora_param_weight *= (lora_weight * layer_scale)
+ lora_param_weight *= lora_weight * layer_scale
142
module_param += lora_param_weight.to(dtype=dtype)
143
144
layer.to(device=TorchDevice.CPU_DEVICE)
0 commit comments