Skip to content

Commit 299c6ab

Browse files
DN6hlky
andauthored
Update src/diffusers/loaders/lora_pipeline.py
Co-authored-by: hlky <[email protected]>
1 parent 572c5fe commit 299c6ab

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/loaders/lora_pipeline.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,6 @@ def _maybe_expand_transformer_param_shape_or_error_(
19881988
).data
19891989
if weight_on_cpu:
19901990
module_weight = module_weight.cpu()
1991-
module_weight = dequantize_bnb_weight(module.weight, state=module.weight.quant_state).data
19921991
else:
19931992
module_weight = module.weight.data
19941993
module_bias = module.bias.data if module.bias is not None else None

0 commit comments

Comments
 (0)