improve offloading

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-12-25 10:24:02 +00:00
parent 76aae17e6f
commit 0b1e6d2d3c
8 changed files with 47 additions and 15 deletions
+1 -1
View File
@@ -536,7 +536,7 @@ class ControlNetPipeline():
scheduler=pipeline.scheduler,
controlnet=controlnets[0] if isinstance(controlnets, list) else controlnets, # can be a list
)
self.pipeline.task_args['guidance_scale'] = 0
self.pipeline.task_args = { 'guidance_scale': 1 }
elif len(loras) > 0:
self.pipeline = pipeline
for lora in loras: