add --new flag

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-09-04 16:00:56 -04:00
parent 5160034b5a
commit aec30cc063
8 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ class ControlNet():
errors.display(e, 'Control')
if self.model is None:
return
if not cmd_opts.lowvram: # lowvram will cause unet<->controlnet to ping-pong but saves more memory
if not cmd_opts.lowvram: # lowvram will cause unet<->controlnet to ping-pong but saves more memory
self.model.offload_never = True
if self.dtype is not None:
self.model.to(self.dtype)