tharms commited on
Commit
b77a400
·
1 Parent(s): 4bec3c3

dump unmatched lora

Browse files
Files changed (1) hide show
  1. modules/core.py +2 -0
modules/core.py CHANGED
@@ -98,6 +98,8 @@ class StableDiffusionModel:
98
 
99
  if len(lora_unmatch) > 12:
100
  # model mismatch
 
 
101
  continue
102
 
103
  if len(lora_unmatch) > 0:
 
98
 
99
  if len(lora_unmatch) > 12:
100
  # model mismatch
101
+ print(f'NOT Loaded LoRA [{lora_filename}] for model [{self.filename}] '
102
+ f'with first 12 of {len(lora_unmatch)} unmatched keys {list(lora_unmatch.keys())[:12]}')
103
  continue
104
 
105
  if len(lora_unmatch) > 0: