Skip to content

Commit da7cbfa

Browse files
Hoodddclaude
andcommitted
Match CLIP type: Qwen3-VL 8B is Qwen Image 2.1's, Qwen3 0.6B is Anima's
Every Qwen3-VL encoder was matched to krea2, so a Qwen Image 2.1 rig was offered the wrong type, and Anima's Qwen3 0.6B fell to lumina2. The 8B now matches qwen_image, the 4B stays krea2, the 0.6B matches stable_diffusion and the MiniMax 32B is left unset. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 63342f4 commit da7cbfa

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎web/rednode_workspace.js‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11878,8 +11878,16 @@ export function guessClipType(r) {
1187811878
const c = n(r?.clip);
1187911879
const u = n(r?.unet) + n(r?.checkpoint);
1188011880
if (!c) return "";
11881-
// Qwen3-VL 4B is Krea 2's encoder; Qwen 2.5 VL 7B is Qwen-Image's
11882-
if (/qwen3vl|qwen3vl4b/.test(c) || (c.includes("qwen3") && c.includes("vl"))) return "krea2";
11881+
// Qwen3 0.6B is Anima's; core picks its encoder from the file, the type is the default
11882+
if (c.includes("qwen306b") || c.includes("qwen306")) return "stable_diffusion";
11883+
// Qwen3-VL: the 8B reads for Qwen Image 2.1, the 4B for Krea 2; the 32B is
11884+
// MiniMax's, which no rig here renders, so it is left for you to set
11885+
if (/qwen3vl|qwen3vl4b/.test(c) || (c.includes("qwen3") && c.includes("vl"))) {
11886+
if (c.includes("32b")) return "";
11887+
if (c.includes("8b") || u.includes("qwenimage21")) return "qwen_image";
11888+
return "krea2";
11889+
}
11890+
// Qwen 2.5 VL 7B is Qwen-Image's (the 2509 / 2511 edit models)
1188311891
if (c.includes("qwen25vl") || c.includes("qwen2vl")) return "qwen_image";
1188411892
// plain Qwen 3 4B is Z-Image's (Lumina 2's loader); Gemma 2 2B is Lumina 2's own
1188511893
if (c.includes("qwen34b") || c.includes("qwen3") || c.includes("gemma")) return "lumina2";

0 commit comments

Comments
 (0)