mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 13:48:46 +00:00
LoRA loading: forward exclusions when preprocessing parts of the UNet
This commit is contained in:
parent
ff5341c85c
commit
e32d8d16f0
|
@ -184,7 +184,7 @@ class SDLoraManager:
|
|||
|
||||
for exc_k, exc_v in preprocess.items():
|
||||
ls = {k: v for k, v in loras_excluded.items() if exc_k in k}
|
||||
auto_attach_loras(ls, self.unet, include=[exc_v], debug_map=debug_map)
|
||||
auto_attach_loras(ls, self.unet, include=[exc_v], exclude=exclude, debug_map=debug_map)
|
||||
|
||||
auto_attach_loras(
|
||||
loras_remaining,
|
||||
|
|
Loading…
Reference in a new issue