From 00eff5e803d1c5a725ef28ddb8505304286c79bb Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 08:14:00 +0000 Subject: [PATCH] Fix PixelSmith proceeding on unsupported model types The unsupported-model warning fell through and switched non-SDXL models into PixelSmithXLPipeline with an SDXL VAE, corrupting the pipeline. Return early like every sibling script does after this check. https: //claude.ai/code/session_014QWKWgKvMevcuvfCnsYoT2 Co-Authored-By: Claude --- scripts/pixelsmith_ext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pixelsmith_ext.py b/scripts/pixelsmith_ext.py index bc73d1e4b..9de00ab99 100644 --- a/scripts/pixelsmith_ext.py +++ b/scripts/pixelsmith_ext.py @@ -46,6 +46,7 @@ class PixelSmithScript(scripts_manager.Script): supported_model_list = ['sdxl'] if shared.sd_model_type not in supported_model_list: log.warning(f'PixelSmith: class={shared.sd_model.__class__.__name__} model={shared.sd_model_type} required={supported_model_list}') + return None from scripts.pixelsmith import PixelSmithXLPipeline, PixelSmithVAE # pylint: disable=no-name-in-module self.orig_pipe = shared.sd_model self.orig_vae = shared.sd_model.vae