We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afbcea1 commit def3e3eCopy full SHA for def3e3e
lora_diffusion/lora_manager.py
@@ -23,7 +23,7 @@ def lora_join(lora_safetenors: list):
23
if k.endswith("rank"):
24
rankset.append(int(v))
25
26
- assert len(set(rankset)) == 1, "Rank should be the same per model"
+ assert len(set(rankset)) <= 1, "Rank should be the same per model"
27
total_rank += rankset[0]
28
_total_metadata.update(_metadata)
29
ranklist.append(rankset[0])
0 commit comments