upadte qwen pruning and allow hf models in subfolders

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-10-04 15:48:42 -04:00
parent f2e12a682f
commit 8b698ed67f
16 changed files with 67 additions and 45 deletions
+2 -2
View File
@@ -164,7 +164,7 @@ def apply_sdnq_quant_te(p, x, xs):
def apply_checkpoint(p, x, xs):
if x == shared.opts.sd_model_checkpoint:
return
info = sd_models.get_closet_checkpoint_match(x)
info = sd_models.get_closest_checkpoint_match(x)
if info is None:
shared.log.warning(f"XYZ grid: apply checkpoint unknown checkpoint: {x}")
else:
@@ -178,7 +178,7 @@ def apply_refiner(p, x, xs):
return
if x == 'None':
return
info = sd_models.get_closet_checkpoint_match(x)
info = sd_models.get_closest_checkpoint_match(x)
if info is None:
shared.log.warning(f"XYZ grid: apply refiner unknown checkpoint: {x}")
else: