Skip to content

Commit 7530559

Browse files
committed
vace
1 parent b8a371e commit 7530559

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/diffusers/loaders/lora_pipeline.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4877,8 +4877,7 @@ def _maybe_expand_t2v_lora_for_vace(
48774877

48784878
for i, vace_block_module_in_model in enumerate(transformer.vace_blocks):
48794879
# Specifically target proj_out as per the error message
4880-
if hasattr(vace_block_module_in_model, 'proj_out') and \
4881-
isinstance(vace_block_module_in_model.proj_out, nn.Linear):
4880+
if hasattr(vace_block_module_in_model, 'proj_out'):
48824881

48834882
proj_out_linear_layer_in_model = vace_block_module_in_model.proj_out
48844883

0 commit comments

Comments
 (0)