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.

Own setup: the labels follow each recorded GPU pass

Adarshf2424a316029
diff --git a/docs/public-signup.md b/docs/public-signup.md
index 6dd01b07..f672d517 100644
--- a/docs/public-signup.md
+++ b/docs/public-signup.md
@@ -307,12 +307,12 @@ cloudflared tunnel --url http://localhost:8188 # or: ngrok http 8188
fills the description from that run's text. A guest gets the sign-up card. The checks are
`src/server/account-tool-run.ts`.
The modes and options that haven't yet passed a real render on this studio's GPU (Group swap's "one by one", Object
- swap's Change it, Remove it and New background, From picture with its Light, own person and H3 renderer choices, Fix
- faces, MiniMax H3 Motion transfer, and "Clean the voice first" for the clip's words, in Genjutsu and Character Swap
- Studio) show to everyone, marked with what they run on ("Runs on your own GPU · 24 GB", `src/lib/own-setup.ts`). An
- account runs them on its own GPU (or key, for Clean the voice first); without one it gets "Connect your GPU"
+ swap's Change it, Remove it and New background, From picture with its Light and own person choices, Fix faces and
+ MiniMax H3 Motion transfer) show to everyone, marked with what they run on ("Runs on your own GPU · 24 GB",
+ `src/lib/own-setup.ts`). An account runs them on its own GPU; without one it gets "Connect your GPU"
(`connect-gpu`). The mark leaves by itself once the feature's graphs are validated and its pass is recorded in
- `workflows/comfyui/gpu-tested.json` (`genjutsuLive`, `soundLive`). Cinema Studio's World mode carries the same mark
+ `workflows/comfyui/gpu-tested.json` (`genjutsuLive`; "Clean the voice first", in Genjutsu and Character Swap
+ Studio, works the same way through `soundLive`). Cinema Studio's World mode carries the same mark
until its graph is validated (`src/server/own-setup-live.ts`), and Image to 3D's "Trim spikes" says what it runs on.
- **Storyboard.** An account makes boards the same way (`POST /api/storyboards`), and the film of a board
(`POST /api/storyboards/<id>/film`). Every frame, shot and join is a run of its own on the account's ComfyUI, or on
diff --git a/tests/own-setup-flags.test.ts b/tests/own-setup-flags.test.ts
index 61515254..bde7772f 100644
--- a/tests/own-setup-flags.test.ts
+++ b/tests/own-setup-flags.test.ts
@@ -51,11 +51,12 @@ describe("own setup: the marks follow the GPU checks", () => {
it("drops an item's label once gpu-tested.json records its pass", async () => {
const before = await import("@/lib/own-setup");
- const ids = ["genjutsu:picture", "genjutsu:finish-faces", "oss-h3-motion", "sound:clean-voice-first"];
- for (const id of ids) expect(before.ownSetupOnly(id), id).not.toBeNull();
+ const ids = ["genjutsu:picture", "genjutsu:finish-faces", "genjutsu:object-change", "oss-h3-motion", "sound:clean-voice-first"];
+ // Each has a setup of its own; it is the visitor's label until its pass is recorded.
+ for (const id of ids) expect(before.ownSetupItem(id), id).not.toBeNull();
vi.resetModules();
vi.doMock("../workflows/comfyui/gpu-tested.json", () => ({
- default: { features: { picture: { passed: true }, "finish-faces": { passed: true }, "motion-h3": { passed: true }, "clean-voice-first": { passed: true } } },
+ default: { features: { picture: { passed: true }, "finish-faces": { passed: true }, "object-change": { passed: true }, "motion-h3": { passed: true }, "clean-voice-first": { passed: true } } },
}));
const after = await import("@/lib/own-setup");
for (const id of ids) expect(after.ownSetupOnly(id), id).toBeNull();
diff --git a/tests/own-setup.test.ts b/tests/own-setup.test.ts
index 95cfb2b3..1c1543a6 100644
--- a/tests/own-setup.test.ts
+++ b/tests/own-setup.test.ts
@@ -1,7 +1,7 @@
import { describe, expect, it } from "vitest";
import { getModel, MODELS } from "@/lib/catalog";
import { HOSTED_UNTESTED_ENDPOINTS, isHostedUntested } from "@/lib/catalog/hosted-untested";
-import { OWN_SETUP_IDS, ownSetupDetail, ownSetupLabel, ownSetupOnly, ownSetupShort, ownSetupStep, type OwnSetup } from "@/lib/own-setup";
+import { OWN_SETUP_IDS, ownSetupDetail, ownSetupItem, ownSetupLabel, ownSetupOnly, ownSetupShort, ownSetupStep, type OwnSetup } from "@/lib/own-setup";
/**
* "Runs with your own setup" (src/lib/own-setup.ts): the items a visitor sees and runs only on its own GPU or its own
@@ -83,7 +83,8 @@ const engineOf = (id: string) => (getModel(id)?.engines && getModel(id)!.engines
describe("own setup: what a visitor needs", () => {
it("names a setup for every item of the sweep", () => {
expect(SKIPPED.length).toBeGreaterThan(0);
- for (const [item, ids] of Object.entries(INVENTORY)) for (const id of ids) expect(ownSetupOnly(id, engineOf(id)), `${item}: ${id}`).not.toBeNull();
+ // An item whose GPU pass is recorded (gpu-tested.json) has dropped its label; it still has its setup in the table.
+ for (const [item, ids] of Object.entries(INVENTORY)) for (const id of ids) expect(ownSetupOnly(id, engineOf(id)) ?? ownSetupItem(id), `${item}: ${id}`).not.toBeNull();
});
it("puts every cloud model no live call has passed yet on the visitor's own key, by its route's provider", () => {