File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4814,7 +4814,8 @@ def _maybe_expand_t2v_lora_for_i2v(
48144814 return state_dict
48154815
48164816 target_device = transformer .device
4817-
4817+ print ("expanding t2v to i2v" )
4818+ print ("wtf 0" ,hasattr (transformer , 'vace_blocks' ))
48184819 if any (k .startswith ("transformer.blocks." ) for k in state_dict ):
48194820 num_blocks = len ({k .split ("blocks." )[1 ].split ("." )[0 ] for k in state_dict if "blocks." in k })
48204821 is_i2v_lora = any ("add_k_proj" in k for k in state_dict ) and any ("add_v_proj" in k for k in state_dict )
@@ -4850,7 +4851,6 @@ def _maybe_expand_t2v_lora_for_i2v(
48504851 device = target_device ,
48514852 )
48524853
4853- print (hasattr (transformer , 'vace_blocks' ))
48544854
48554855 if hasattr (transformer , 'vace_blocks' ):
48564856 print (f"{ i } , WTF 0" )
You can’t perform that action at this time.
0 commit comments