Spaces:
Paused
Paused
reduced log output
Browse files- modules/core.py +2 -2
modules/core.py
CHANGED
@@ -94,7 +94,7 @@ class StableDiffusionModel:
|
|
94 |
for lora_filename, weight in loras_to_load:
|
95 |
lora_unmatch = ldm_patched.modules.utils.load_torch_file(lora_filename, safe_load=False)
|
96 |
print(f'Loading LoRA [{lora_filename}] for model [{self.filename}] '
|
97 |
-
f'with {len(lora_unmatch)}
|
98 |
|
99 |
lora_unet, lora_unmatch = match_lora(lora_unmatch, self.lora_key_map_unet)
|
100 |
lora_clip, lora_unmatch = match_lora(lora_unmatch, self.lora_key_map_clip)
|
@@ -102,7 +102,7 @@ class StableDiffusionModel:
|
|
102 |
if len(lora_unmatch) > 12:
|
103 |
# model mismatch
|
104 |
print(f'NOT Loaded LoRA [{lora_filename}] for model [{self.filename}] '
|
105 |
-
f'with {len(lora_unmatch)}
|
106 |
continue
|
107 |
|
108 |
if len(lora_unmatch) > 0:
|
|
|
94 |
for lora_filename, weight in loras_to_load:
|
95 |
lora_unmatch = ldm_patched.modules.utils.load_torch_file(lora_filename, safe_load=False)
|
96 |
print(f'Loading LoRA [{lora_filename}] for model [{self.filename}] '
|
97 |
+
f'with {len(lora_unmatch)}')
|
98 |
|
99 |
lora_unet, lora_unmatch = match_lora(lora_unmatch, self.lora_key_map_unet)
|
100 |
lora_clip, lora_unmatch = match_lora(lora_unmatch, self.lora_key_map_clip)
|
|
|
102 |
if len(lora_unmatch) > 12:
|
103 |
# model mismatch
|
104 |
print(f'NOT Loaded LoRA [{lora_filename}] for model [{self.filename}] '
|
105 |
+
f'with {len(lora_unmatch)}')
|
106 |
continue
|
107 |
|
108 |
if len(lora_unmatch) > 0:
|