Skip to content

Commit 130e592

Browse files
committed
remove debug code
1 parent 2b9bfa3 commit 130e592

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/diffusers/loaders/lora_conversion_utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -673,10 +673,6 @@ def _convert_bfl_flux_control_lora_to_diffusers(original_state_dict):
673673
inner_dim = 3072
674674
mlp_ratio = 4.0
675675

676-
for k in original_state_dict:
677-
if "bias" in k and "img_in" in k:
678-
print(f"{k=}")
679-
680676
def swap_scale_shift(weight):
681677
shift, scale = weight.chunk(2, dim=0)
682678
new_weight = torch.cat([scale, shift], dim=0)

0 commit comments

Comments
 (0)