Skip to content

Commit

Permalink
fix lora
Browse files Browse the repository at this point in the history
  • Loading branch information
bghira committed Aug 29, 2024
1 parent 7f84817 commit ff38d2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def load_adapter(
lycoris_wrapper = None
if adapter_type == "lora":
self.pipeline.load_lora_weights(
pretrained_model_name_or_path=adapter_path,
pretrained_model_name_or_path_or_dict=adapter_path,
adapter_name=clean_adapter_name,
)
if fuse_adapter:
Expand Down

0 comments on commit ff38d2e

Please sign in to comment.