add support for nunchaku-lite models and engine

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-08-04 15:30:45 +02:00
parent 9a7fa12218
commit a1df374773
11 changed files with 89 additions and 3 deletions
+2
View File
@@ -198,6 +198,8 @@ def check_nunchaku(module: str = ''):
from modules import shared
if 'nunchaku' not in shared.opts.sd_model_checkpoint.lower():
return False
if 'nunchaku-lite' in shared.opts.sd_model_checkpoint.lower():
return False
base_path = shared.opts.sd_model_checkpoint.split('+')[0]
for v in shared.reference_models.values():
if v.get('path', '') != base_path: