Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

MiniMax H3: Fast decode waits until a ComfyUI with Sol-H3-VAE's loader has run it

Claude64e41d36735a
diff --git a/docs/research/new-models-10.json b/docs/research/new-models-10.json
index 514c995a..6530ec90 100644
--- a/docs/research/new-models-10.json
+++ b/docs/research/new-models-10.json
@@ -502,7 +502,7 @@
}
},
"memory": "card: about 24 GiB at 720p and 48 GiB at 2K for 5 s with a CUDA graph",
- "fuobeOption": "oss-minimax-h3 Options → Decoder 'Fast decode' (full model only, off by default)"
+ "fuobeOption": "oss-minimax-h3 Options → Decoder 'Fast decode' (full model only, off by default): built (H3_DECODER, the full graphs' decode slot, the pinned int8 repack) but held back (H3_FAST_DECODE_OFFERED false) until the library validates on a ComfyUI with #17411"
},
{
"name": "ComfyUI core H3 latent upscaler",
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.ts
index abb2f39e..86bc216a 100644
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@ -3,7 +3,7 @@ import { DEFAULT_FPS_TARGET, FPS_TARGETS, SLOW_MOTION } from "@/lib/av/fps";
import { ASR_LANGUAGES, WHISPER_LANGUAGES } from "../speech-languages";
import { PROMPT_HELPER_PARAM } from "@/lib/comfy";
import { QWEN21_DECODER, QWEN21_GPU, QWEN21_SPEED } from "@/lib/qwen21-speed";
-import { H3_DECODER, H3_GPU_TIER } from "@/lib/gpu/h3-tier";
+import { H3_DECODER, H3_FAST_DECODE_OFFERED, H3_GPU_TIER } from "@/lib/gpu/h3-tier";
import { loraEntry, loraRef } from "./loras";
import { ANGLES_LORA, MOSAIC_SCALE, MOSAIC_TARGET, SPEAK_GRAPH, SPEAK_LORA, SPEAK_PROMPT } from "./open-tools";
import { CINEMA_CROP, SOUL_ASPECTS, SOUL_TIERS } from "./soul";
@@ -630,7 +630,8 @@ const open: ModelDef[] = [
},
// On a card under 32 GB the run picks FastH3 V2 or Trim by itself (src/server/h3-gpu.ts); this picks one on any card.
H3_GPU_TIER,
- H3_DECODER,
+ // Options → Decoder (Fast decode, Sol-H3-VAE) joins here once a ComfyUI with its loader (#17411) has validated it: see H3_DECODER.
+ ...(H3_FAST_DECODE_OFFERED ? [H3_DECODER] : []),
],
},
defaults: { aspectRatio: "auto", duration: 5, resolution: "768p" },
diff --git a/src/lib/gpu/h3-tier.ts b/src/lib/gpu/h3-tier.ts
index 8b76dfe4..4834b920 100644
--- a/src/lib/gpu/h3-tier.ts
+++ b/src/lib/gpu/h3-tier.ts
@@ -217,6 +217,14 @@ export const H3_GPU_TIER: NonNullable<ModelOptions["controls"]>[number] = {
/** Sol-H3-VAE as Comfy-Org repacked it (int8 ConvRot, 1.99 GB): the full graphs' optional decoder. */
export const SOL_VAE = "minimax_h3_sol_vae_int8_convrot.safetensors";
+/**
+ * Whether MiniMax H3 offers Options → Decoder (Fast decode). Held back: Sol-H3-VAE loads only with the core loader merged into
+ * ComfyUI master on 2026-10-28 (#17411), which no release has, the pinned ComfyUI (fc04da91) lacks, and the GPU check can't tell
+ * from a version string; no ComfyUI has accepted a run with it yet. Turn it on after the library validates on a pin with #17411
+ * (install-comfyui.sh names one as an opt-in). The full graphs already carry the decode slot and Sol's pinned file (optional).
+ */
+export const H3_FAST_DECODE_OFFERED = false;
+
/**
* Options → Decoder: Fast decode swaps in Sol-H3-VAE, NVIDIA's 24-layer whole-clip decoder distilled from H3's (its card: a 5 s
* 768p clip decodes in 5.0 s instead of 12.5 s on an RTX 5090). Off by default; the full model only (it needs ComfyUI from
diff --git a/tests/e2e/h3-any-gpu.mjs b/tests/e2e/h3-any-gpu.mjs
index 3dbd6e23..f256c065 100644
--- a/tests/e2e/h3-any-gpu.mjs
+++ b/tests/e2e/h3-any-gpu.mjs
@@ -1,5 +1,5 @@
// nm10-h3-any-gpu in the browser (no run reaches a GPU): MiniMax H3's Options in the Video studio on your GPU (GPU tier with
-// Auto, 32 GB, FastH3 V2 and Trim; Decoder with Fast decode), the composer's note for a picked tier and for Auto on the card the
+// Auto, 32 GB, FastH3 V2 and Trim; no Decoder until Fast decode validates), the composer's note for a picked tier and for Auto on the card the
// last GPU check read, and the Connect board's Video row naming the build that card gets. Each at 1440 and 390 px, light and
// dark, without sideways scroll, failing on console errors.
// Usage: FUOBE_DATA_DIR=<the dev server's data dir> node tests/e2e/h3-any-gpu.mjs [appUrl] [--shots <dir>] (on a dev server started fresh,
@@ -184,10 +184,8 @@ try {
await tier.waitFor({ timeout: 10_000 });
const tiers = await listOf(page, tier);
check(`${tag} video: GPU tier offers Auto, 32 GB, FastH3 V2 and Trim`, tiers[0] === "Auto" && tiers.some((t) => /FastH3 V2/.test(t)) && tiers.some((t) => /FastH3 Trim, experimental, text to video only/.test(t)), tiers.join(" | "));
- const decoder = page.getByRole("combobox", { name: "Decoder" });
- check(`${tag} video: Decoder starts on Standard`, /Standard/.test(flat(await decoder.innerText())), flat(await decoder.innerText()));
- const decoders = await listOf(page, decoder);
- check(`${tag} video: Decoder offers Fast decode for 32 GB GPUs`, decoders.includes("Fast decode · 32 GB GPU"), decoders.join(" | "));
+ // Fast decode is held back until it validates on a ComfyUI with Sol's loader (H3_FAST_DECODE_OFFERED).
+ check(`${tag} video: no Decoder option yet`, (await page.getByRole("combobox", { name: "Decoder" }).count()) === 0);
// FastH3 V2 picked: the composer says what it changes.
await tier.focus();
await page.keyboard.press("Enter");
diff --git a/tests/h3-any-gpu.test.ts b/tests/h3-any-gpu.test.ts
index a12ba2a8..0f48f4bf 100644
--- a/tests/h3-any-gpu.test.ts
+++ b/tests/h3-any-gpu.test.ts
@@ -250,6 +250,10 @@ describe("the GPU pre-flight", () => {
it("asks for Sol-H3-VAE only when Fast decode is picked", async () => {
const full = index.workflows["minimax-h3-t2v"].files;
checked({ gb: 32, name: RTX4090, files: full });
+ // Fast decode is held back (H3_FAST_DECODE_OFFERED): the control is put on the model here as it will be once it validates.
+ const options = getModel("oss-minimax-h3")!.options;
+ const controls = options.controls;
+ options.controls = [...(controls ?? []), T.H3_DECODER];
try {
expect(await gate({}, { gpuTier: "standard" })).toEqual({ ok: true });
expect(await gate({ vae: T.SOL_VAE }, { gpuTier: "standard" })).toMatchObject({ ok: true, warning: expect.stringMatching(/1 more thing/) });
@@ -257,6 +261,7 @@ describe("the GPU pre-flight", () => {
expect(await gate({ decoder: "fast" }, { gpuTier: "standard" })).toMatchObject({ ok: true, warning: expect.stringMatching(/1 more thing/) });
expect(await gate({ decoder: "standard" }, { gpuTier: "standard" })).toEqual({ ok: true });
} finally {
+ options.controls = controls;
dropSnapshots("install");
}
});
@@ -314,10 +319,12 @@ describe("Models & licences", () => {
expect(T.H3_TIER_MODEL).toEqual({ fast: "oss-minimax-h3-fast", trim: "oss-minimax-h3-trim" });
});
- it("offers Fast decode on the full model only, off by default", () => {
+ it("holds Fast decode back until a ComfyUI with Sol's loader validates it, and keeps it off by default when offered", () => {
const controls = getModel("oss-minimax-h3")!.options.controls!;
- expect(controls.map((c) => c.param)).toEqual(["quality", "gpuTier", "decoder"]);
- expect(controls.find((c) => c.param === "decoder")).toMatchObject({ default: "standard", sets: { fast: { vae: T.SOL_VAE } } });
+ expect(T.H3_FAST_DECODE_OFFERED).toBe(false);
+ expect(controls.map((c) => c.param)).toEqual(["quality", "gpuTier"]);
+ expect(T.H3_DECODER).toMatchObject({ param: "decoder", default: "standard", sets: { standard: {}, fast: { vae: T.SOL_VAE } } });
expect(controls.find((c) => c.param === "gpuTier")?.default).toBeUndefined();
+ for (const id of ["oss-minimax-h3-fast", "oss-minimax-h3-trim"]) expect(getModel(id)!.options.controls, id).toBeUndefined();
});
});
diff --git a/tests/open-minimax-h3.test.ts b/tests/open-minimax-h3.test.ts
index 18df9d30..711666b6 100644
--- a/tests/open-minimax-h3.test.ts
+++ b/tests/open-minimax-h3.test.ts
@@ -4,7 +4,7 @@ import path from "node:path";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import type { GenInput, ModelDef } from "@/lib/catalog/types";
import type { Manifest } from "@/lib/comfy";
-import { H3_DECODER, H3_GPU_TIER } from "@/lib/gpu/h3-tier";
+import { H3_GPU_TIER } from "@/lib/gpu/h3-tier";
// MiniMax H3 as an open video model (text, image and start + end frame to video with sound), the Video studio's first
// model on both engines, the hosted H3's prices, and the studio defaults that changed with it.
@@ -78,9 +78,9 @@ describe("MiniMax H3 on your GPU: the catalog entry", () => {
});
expect(h3.options.controls).toEqual([
{ param: "quality", label: "Quality", values: ["fast", "best"], default: "fast", labels: { fast: "Fast · 8 steps", best: "Best · 20 steps, about 2.3x longer" } },
- // nm10-h3-any-gpu: the GPU tier (FastH3 V2 / Trim on smaller cards) and Fast decode (tests/h3-any-gpu.test.ts).
+ // nm10-h3-any-gpu: the GPU tier (FastH3 V2 / Trim on smaller cards); Fast decode is held back until it validates
+ // (tests/h3-any-gpu.test.ts).
H3_GPU_TIER,
- H3_DECODER,
]);
expect(h3.options.negativePrompt).toBeUndefined();
expect(h3.options.multiShot).toBeUndefined();