diff --git a/invokeai/backend/model_manager/config.py b/invokeai/backend/model_manager/config.py index 943641c968..2d5db0fdda 100644 --- a/invokeai/backend/model_manager/config.py +++ b/invokeai/backend/model_manager/config.py @@ -942,6 +942,7 @@ class SpandrelImageToImageConfig(ModelConfigBase): _MATCH_SPEED: ClassVar[MatchSpeed] = MatchSpeed.SLOW # requires loading the model from disk + base: Literal[BaseModelType.Any] = BaseModelType.Any type: Literal[ModelType.SpandrelImageToImage] = ModelType.SpandrelImageToImage format: Literal[ModelFormat.Checkpoint] = ModelFormat.Checkpoint @@ -970,6 +971,10 @@ class SpandrelImageToImageConfig(ModelConfigBase): return MatchCertainty.NEVER + @classmethod + def parse(cls, mod: ModelOnDisk) -> dict[str, Any]: + return {} + class SigLIPConfig(DiffusersConfigBase, LegacyProbeMixin, ModelConfigBase): """Model config for SigLIP."""