yet another lora refactor

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2024-12-09 13:40:19 -05:00
parent f346cccb51
commit 1185950c4a
16 changed files with 194 additions and 217 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ def diffusers_callback(pipe, step: int = 0, timestep: int = 0, kwargs: dict = {}
raise AssertionError('Interrupted...')
time.sleep(0.1)
if hasattr(p, "stepwise_lora") and shared.native:
extra_networks.activate(p, p.extra_network_data, step=step)
extra_networks.activate(p, step=step)
if latents is None:
return kwargs
elif shared.opts.nan_skip: