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.

Qwen-Image 2.1: a shorter GPU option label that fits on a phone

Adarshd681fa3e5d66
diff --git a/src/lib/qwen21-speed.ts b/src/lib/qwen21-speed.ts
index 2347b3ef..888bf032 100644
--- a/src/lib/qwen21-speed.ts
+++ b/src/lib/qwen21-speed.ts
@@ -91,7 +91,7 @@ export const QWEN21_GPU: Control = {
param: GPU_PARAM,
label: "GPU",
values: ["large", "small"],
- labels: { large: "20 GB or more", small: "Small GPU (16 GB) · Full speed, English prompts only" },
+ labels: { large: "20 GB or more", small: "16 GB · English prompts only" },
ops: { large: ["t2i", "edit", "inpaint", "outpaint"], small: ["t2i", "edit"] },
};
diff --git a/tests/e2e/qwen21-fast.mjs b/tests/e2e/qwen21-fast.mjs
index 40911049..12f21333 100644
--- a/tests/e2e/qwen21-fast.mjs
+++ b/tests/e2e/qwen21-fast.mjs
@@ -116,13 +116,13 @@ try {
check(`${tag} ${studio}: Speed offers ${op === "edit" ? "Turbo for edits" : "no Turbo for new pictures"}`, JSON.stringify(speeds) === JSON.stringify(want), speeds.join(" | "));
const gpu = page.getByRole("combobox", { name: "GPU" });
const gpus = await listOf(page, gpu);
- check(`${tag} ${studio}: GPU says the small one reads English prompts only`, gpus.includes("Small GPU (16 GB) · Full speed, English prompts only") && gpus[0] === "Auto", gpus.join(" | "));
+ check(`${tag} ${studio}: GPU says the small one reads English prompts only`, gpus.includes("16 GB · English prompts only") && gpus[0] === "Auto", gpus.join(" | "));
const decoder = page.getByRole("combobox", { name: "Decoder" });
check(`${tag} ${studio}: Decoder starts on Standard`, /Auto · Standard/.test(flat(await decoder.innerText())), flat(await decoder.innerText()));
// Small picked: the composer says what it can't do.
await gpu.focus();
await page.keyboard.press("Enter");
- await page.getByRole("listbox").last().getByRole("option", { name: /^Small GPU/ }).click();
+ await page.getByRole("listbox").last().getByRole("option", { name: /^16 GB/ }).click();
await page.waitForTimeout(400);
const note = page.getByText("Small GPU: English prompts only, and numbers on signs can come out wrong");
check(`${tag} ${studio}: Small picked, the composer says English prompts only`, (await note.count()) > 0);
diff --git a/tests/qwen21-fast.test.ts b/tests/qwen21-fast.test.ts
index 6c626525..d0f54159 100644
--- a/tests/qwen21-fast.test.ts
+++ b/tests/qwen21-fast.test.ts
@@ -312,7 +312,7 @@ describe("Options → Speed, GPU and Decoder", () => {
expect(Q.qwen21Note(controls, { gpu: "small" }, "inpaint")).toBeUndefined();
expect(Q.qwen21Note(controls, {}, "t2i")).toBeUndefined();
expect(Q.qwen21Note(getModel("oss-qwen-image-21-turbo")!.options.controls, { gpu: "small" }, "edit")).toBeUndefined();
- expect(Q.QWEN21_GPU.labels?.small).toMatch(/Full speed, English prompts only/);
+ expect(Q.QWEN21_GPU.labels?.small).toMatch(/^16 GB · English prompts only$/);
expect(getModel("oss-qwen-image-21")!.tagline).toMatch(/English prompts only on a 16 GB GPU/);
});