mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-19 09:54:24 -05:00
re-enable load attn procs support (no multiplier)
This commit is contained in:
@@ -334,9 +334,8 @@ class LoraManager:
|
||||
file = Path(path, "pytorch_lora_weights.bin")
|
||||
|
||||
if path.is_dir() and file.is_file():
|
||||
print(f"Diffusers lora is currently disabled: {path}")
|
||||
# print(f"loading lora: {path}")
|
||||
# self.unet.load_attn_procs(path.absolute().as_posix())
|
||||
print(f"loading lora: {path}")
|
||||
self.unet.load_attn_procs(path.absolute().as_posix())
|
||||
else:
|
||||
path_file = Path(self.lora_path, f'{name}.ckpt')
|
||||
if Path(self.lora_path, f'{name}.safetensors').exists():
|
||||
|
||||
Reference in New Issue
Block a user