Spaces:
Paused
Paused
new loras
Browse files
config.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
|
3 |
-
"default_loras": [["sd_xl_offset_example-lora_1.0.safetensors", 0.1],["blackdress-10.safetensors", 0.5]]
|
4 |
}
|
|
|
1 |
{
|
2 |
|
3 |
+
"default_loras": [["sd_xl_offset_example-lora_1.0.safetensors", 0.1],["blackdress-10.safetensors", 0.5],["style_lora_r51_update_out.safetensors", 0.1], ["maripol-sdxl-v1-000056.safetensors", 0.1]]
|
4 |
}
|
models/loras/maripol-sdxl-v1-000056.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38a4e2afa07bc5f5b6138c1d8feca1667528932244c9ddf38a1b8dda97d3c621
|
3 |
+
size 228459452
|
models/loras/style_lora_r51_update_out.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79064430a79fc86c3a51e638fd33617e7c6731b9b736362bb264b27a0339e437
|
3 |
+
size 157981624
|
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)
|
|
|
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)} initially unmatched keys {list(lora_unmatch.keys())}')
|
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)
|