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.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(models): reconcile with main's visual-tower drop and regenerate API artifacts
Alexander Eichhorn5289f2089292
diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.jsonindex cb1ec881db..82eacce830 100644--- a/invokeai/frontend/web/openapi.json+++ b/invokeai/frontend/web/openapi.json@@ -87759,7 +87759,7 @@"cpu_only"],"title": "Qwen3VLEncoder_Checkpoint_Config",- "description": "Configuration for a single-file Qwen3-VL text encoder checkpoint (ComfyUI ``qwen3vl_4b_*`` /\n``qwen3vl_8b_*``).\n\nDistinguished from the text-only ``Qwen3Encoder`` checkpoint (Z-Image) by the presence of the\nQwen3-VL visual tower. Neither the config nor the tokenizer is bundled in a single-file\ncheckpoint; both are pulled from HuggingFace by the loader, from the repo the recorded variant\nnames."+ "description": "Configuration for a single-file Qwen3-VL text encoder checkpoint (ComfyUI ``qwen3vl_4b_*`` /\n``qwen3vl_8b_*``).\n\nDistinguished from the text-only ``Qwen3Encoder`` checkpoint (Z-Image) by the presence of the\nQwen3-VL visual tower. Neither the config nor the tokenizer is bundled in a single-file\ncheckpoint; the loader supplies both from the copies vendored in ``invokeai.backend.qwen3_vl``,\nselecting the config by the recorded variant."},"Qwen3VLEncoder_Checkpoint_MiniMaxH3_Config": {"properties": {@@ -89624,7 +89624,7 @@"format"],"title": "QwenVLEncoder_Checkpoint_Config",- "description": "Configuration for single-file Qwen2.5-VL encoder checkpoints (safetensors).\n\nThis matches ComfyUI-style consolidated single-file encoders such as\n`qwen_2.5_vl_7b_fp8_scaled.safetensors`, which bundle the language model\nand the visual tower into one file (typically with FP8 + per-tensor\n`weight_scale` ComfyUI quantization).\n\nThe matching tokenizer + processor are pulled from HuggingFace\n(`Qwen/Qwen2.5-VL-7B-Instruct`) on first use and cached for offline use."+ "description": "Configuration for single-file Qwen2.5-VL encoder checkpoints (safetensors).\n\nThis matches ComfyUI-style consolidated single-file encoders such as\n`qwen_2.5_vl_7b_fp8_scaled.safetensors`, which bundle the language model\nand the visual tower into one file (typically with FP8 + per-tensor\n`weight_scale` ComfyUI quantization).\n\nThe tokenizer, architecture config and image preprocessor config all ship with InvokeAI\n(vendored from the Apache-2.0 `Qwen/Qwen2.5-VL-7B-Instruct` release), so this encoder loads\nwithout network access."},"QwenVLEncoder_Diffusers_Config": {"properties": {diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.tsindex d86815a442..76e4ac213f 100644--- a/invokeai/frontend/web/src/services/api/schema.ts+++ b/invokeai/frontend/web/src/services/api/schema.ts@@ -37806,8 +37806,8 @@ export type components = {** Distinguished from the text-only ``Qwen3Encoder`` checkpoint (Z-Image) by the presence of the* Qwen3-VL visual tower. Neither the config nor the tokenizer is bundled in a single-file- * checkpoint; both are pulled from HuggingFace by the loader, from the repo the recorded variant- * names.+ * checkpoint; the loader supplies both from the copies vendored in ``invokeai.backend.qwen3_vl``,+ * selecting the config by the recorded variant.*/Qwen3VLEncoder_Checkpoint_Config: {/**@@ -38826,8 +38826,9 @@ export type components = {* and the visual tower into one file (typically with FP8 + per-tensor* `weight_scale` ComfyUI quantization).*- * The matching tokenizer + processor are pulled from HuggingFace- * (`Qwen/Qwen2.5-VL-7B-Instruct`) on first use and cached for offline use.+ * The tokenizer, architecture config and image preprocessor config all ship with InvokeAI+ * (vendored from the Apache-2.0 `Qwen/Qwen2.5-VL-7B-Instruct` release), so this encoder loads+ * without network access.*/QwenVLEncoder_Checkpoint_Config: {/**diff --git a/tests/backend/model_manager/load/test_qwen3_vl_visual_tower.py b/tests/backend/model_manager/load/test_qwen3_vl_visual_tower.pyindex 091d9cf9b3..55c6d116c7 100644--- a/tests/backend/model_manager/load/test_qwen3_vl_visual_tower.py+++ b/tests/backend/model_manager/load/test_qwen3_vl_visual_tower.py@@ -151,7 +151,7 @@ def _checkpoint_loader(monkeypatch, te_config) -> Qwen3VLEncoderCheckpointLoaderloader._ram_cache = SimpleNamespace(make_room=MagicMock())loader._torch_device = torch.device("cpu")loader._logger = MagicMock()- loader._load_hf_config = lambda _config: te_config+ loader._load_te_config = lambda _config: te_configloader._apply_fp8_to_nn_module = lambda *a, **k: Nonemonkeypatch.setattr("invokeai.backend.model_manager.load.model_loaders.krea2.TorchDevice.choose_torch_device",