Skip to content

Commit a01cb45

Browse files
committed
remove print
1 parent f9dd64c commit a01cb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders/peft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def load_lora_adapter(self, pretrained_model_name_or_path_or_dict, prefix="trans
254254

255255
if prefix is not None:
256256
state_dict = {k.replace(f"{prefix}.", ""): v for k, v in state_dict.items() if k.startswith(f"{prefix}.")}
257-
print(f"{len(state_dict)=}")
257+
258258
if len(state_dict) > 0:
259259
if adapter_name in getattr(self, "peft_config", {}):
260260
raise ValueError(

0 commit comments

Comments
 (0)