Skip to content
Snippets Groups Projects
Unverified Commit 1ee81750 authored by CharlesCNorton's avatar CharlesCNorton Committed by GitHub
Browse files

fix: typo in LoRALoaderMixin: correct "multipe" to "multiple"

Corrected a typographical error in the `_load_lora_state_dict` method of the `LoRALoaderMixin` class. The word "multipe" was corrected to "multiple" in the assertion message that checks for consistent data types in the LoRA state dictionary.
parent 78efe38d
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ class LoRALoaderMixin:
lora_dtypes = set([p.dtype for p in lora_state_dict.values()])
assert (
len(lora_dtypes) == 1
), f"LoRA weights have multipe different dtypes {lora_dtypes}. All weights need to have the same dtype"
), f"LoRA weights have multiple different dtypes {lora_dtypes}. All weights need to have the same dtype"
lora_dtype = lora_dtypes.pop()
assert (
lora_dtype == self.dtype
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment