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
feat(mm): add the turbo LoRAs to the MiniMax H3 starter bundle
Lincoln Stein247abcbcaad8
diff --git a/invokeai/backend/model_manager/starter_models.py b/invokeai/backend/model_manager/starter_models.pyindex ebb25c2afe..30c8496923 100644--- a/invokeai/backend/model_manager/starter_models.py+++ b/invokeai/backend/model_manager/starter_models.py@@ -1984,6 +1984,21 @@ minimax_h3_turbo_lora = StarterModel(type=ModelType.LoRA,format=ModelFormat.LyCORIS,)++# Only the *_comfyui_* files in the LightX2V repo are installable: they carry the native+# fused-key layout (diffusion_model.blocks.N.attn.qkv_proj) that the H3 LoRA probe accepts.+# The non-comfyui files use already-diffusers keys (transformer_blocks.N.attn.to_q with+# PEFT ".default" adapter names), which the probe rejects as a different architecture.+minimax_h3_lightx2v_turbo_lora = StarterModel(+ name="MiniMax H3 LightX2V Turbo LoRA",+ base=BaseModelType.MiniMaxH3,+ source="lightx2v/Minimax-h3-Turbo::minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors",+ description="LightX2V step-distillation LoRA for MiniMax H3 (Apache 2.0), 8-step v1.0 (~2 GB): "+ "renders video+audio in ~8 denoising steps instead of ~50. Apply at strength 1.0 and lower "+ "Steps to 8. Works with the full and the pruned int8 transformers.",+ type=ModelType.LoRA,+ format=ModelFormat.LyCORIS,+)# endregionalibabacloud_wan26_t2i = StarterModel(@@ -2508,6 +2523,7 @@ STARTER_MODELS: list[StarterModel] = [minimax_h3_int8_text_encoder,minimax_h3_components,minimax_h3_turbo_lora,+ minimax_h3_lightx2v_turbo_lora,gemini_flash_image,gemini_pro_image_preview,gemini_3_1_flash_image_preview,@@ -2679,13 +2695,16 @@ ideogram_bundle: list[StarterModel] = [ideogram_4_nf4,]-# The minimal working set for MiniMax H3 video+audio generation (~59 GB): shared components from-# the official repo plus Comfy-Org's int8 single-file transformer and text encoder. See the-# license note in the MiniMax H3 region above.+# The working set for MiniMax H3 video+audio generation (~62 GB): shared components from+# the official repo plus Comfy-Org's int8 single-file transformer and text encoder, and the+# two turbo (step-distillation) LoRAs for fast low-step rendering. See the license note in+# the MiniMax H3 region above.minimax_h3_bundle: list[StarterModel] = [minimax_h3_components,minimax_h3_int8_text_encoder,minimax_h3_int8_transformer,+ minimax_h3_turbo_lora,+ minimax_h3_lightx2v_turbo_lora,]STARTER_BUNDLES: dict[str, StarterModelBundle] = {diff --git a/tests/backend/model_manager/test_starter_models.py b/tests/backend/model_manager/test_starter_models.pyindex cdcddd495e..d104320328 100644--- a/tests/backend/model_manager/test_starter_models.py+++ b/tests/backend/model_manager/test_starter_models.py@@ -1,4 +1,4 @@-"""Tests for the Krea-2 starter-model bundle and its GGUF dependency wiring.+"""Tests for the Krea-2 and MiniMax H3 starter-model bundles.A single-file / GGUF Krea-2 transformer ships *only* the transformer, so it is unusable without astandalone Qwen-Image VAE and Qwen3-VL text encoder. These tests assert that the Krea-2 launchpad@@ -78,3 +78,25 @@ def test_krea2_gguf_dependency_models_are_registered_in_starter_models() -> Nonefor model in STARTER_BUNDLES[BaseModelType.Krea2].models:for dep in model.dependencies or []:assert dep.source in starter_sources, f"dependency {dep.name} is not registered in STARTER_MODELS"+++def test_minimax_h3_bundle_contains_working_set_and_turbo_loras() -> None:+ bundle = STARTER_BUNDLES[BaseModelType.MiniMaxH3]+ by_source = {model.source: model for model in bundle.models}+ # The minimal working set: shared components, text encoder, transformer.+ assert any(s.startswith("MiniMaxAI/MiniMax-H3::") for s in by_source)+ assert any(m.type is ModelType.Qwen3VLEncoder for m in by_source.values())+ assert any(m.type is ModelType.Main and m.format is ModelFormat.Checkpoint for m in by_source.values())+ # Both turbo (step-distillation) LoRAs.+ loras = [m for m in bundle.models if m.type is ModelType.LoRA]+ lora_sources = {m.source for m in loras}+ assert "larryvrh/MiniMax-H3-Turbo-Lora::minimax_h3_turbo_v4_step600_ema.safetensors" in lora_sources+ assert "lightx2v/Minimax-h3-Turbo::minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors" in lora_sources+++def test_minimax_h3_bundle_models_are_registered_in_starter_models() -> None:+ starter_sources = {m.source for m in STARTER_MODELS}+ for model in STARTER_BUNDLES[BaseModelType.MiniMaxH3].models:+ assert model.source in starter_sources, f"{model.name} is not registered in STARTER_MODELS"+ for dep in model.dependencies or []:+ assert dep.source in starter_sources, f"dependency {dep.name} is not registered in STARTER_MODELS"