We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 252fd21 commit 29ff6f1Copy full SHA for 29ff6f1
src/diffusers/loaders/peft.py
@@ -302,7 +302,7 @@ def load_lora_adapter(
302
try:
303
lora_config = LoraConfig(**lora_config_kwargs)
304
except TypeError as e:
305
- raise TypeError(f"`LoraConfig` class could not be instantiated:\n{e}.")
+ raise TypeError("`LoraConfig` class could not be instantiated.") from e
306
307
# adapter_name
308
if adapter_name is None:
0 commit comments