Skip to content

Commit bca1eaa

Browse files
committed
peft.py
1 parent 30a89a6 commit bca1eaa

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
@@ -283,7 +283,7 @@ def load_lora_adapter(self, pretrained_model_name_or_path_or_dict, prefix="trans
283283
if lora_config_kwargs["lora_bias"]:
284284
if is_peft_version("<=", "0.13.2"):
285285
raise ValueError(
286-
"You need `peft` 0.13.3 at least to use `bias` in LoRAs. Please upgrade your installation of `peft`."
286+
"You need `peft` 0.13.3 at least to use `lora_bias` in LoRAs. Please upgrade your installation of `peft`."
287287
)
288288
else:
289289
if is_peft_version("<=", "0.13.2"):

0 commit comments

Comments
 (0)