Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(model manager): drop the unreachable InstantX check from FLUX main validation

Vladimir Babinfabf8ec93153
diff --git a/invokeai/backend/model_manager/configs/main.py b/invokeai/backend/model_manager/configs/main.py
index 694eae1533..823c91261a 100644
--- a/invokeai/backend/model_manager/configs/main.py
+++ b/invokeai/backend/model_manager/configs/main.py
@@ -7,7 +7,6 @@ import torch
from pydantic import BaseModel, Field
from invokeai.backend.flux.controlnet.state_dict_utils import (
- is_state_dict_instantx_controlnet,
is_state_dict_xlabs_controlnet,
)
from invokeai.backend.ltx2 import checkpoint_layout as ltx2_layout
@@ -594,7 +593,7 @@ class Main_Checkpoint_FLUX_Config(Checkpoint_Config_Base, Main_Config_Base, Conf
):
raise NotAMatchError("state dict does not look like a FLUX checkpoint")
- if is_state_dict_xlabs_controlnet(state_dict) or is_state_dict_instantx_controlnet(state_dict):
+ if is_state_dict_xlabs_controlnet(state_dict):
raise NotAMatchError("state dict is a FLUX ControlNet, not a main model")
# Exclude FLUX.2 models - they have their own config class