Skip to content
Python

README: the 22-23 Oct runs, the end-to-end test from the browser, 232 cases

neuregex90b5a8cac586
diff --git a/README.md b/README.md
index 506d08c..42e3a9a 100644
--- a/README.md
+++ b/README.md
@@ -17,12 +17,12 @@ browser ──▶ web/ + server/ (Node, Comfy SDK) ──▶ gateway :8000 ─
| | |
|---|---|
-| Apps | 102 manifests, each with a workflow: 29 *ready* that ran on a GPU, 5 IC-LoRA apps with their own workflows (`genjutsu`, `reframe`, `sdr-hdr`, `mixed-media`, `dub`) that ran on an H100 on 22–23 Oct, `morph` (ran on an H100, 23 Oct), 66 template apps (a fixed prompt over the `edit`, `z-image`, `video` or `relight` pipeline, written by `tools/template_apps.py`; their lab runs are pending) and 1 *draft* (`reshoot`: it runs, but parts of the new view come out unfilled) |
+| Apps | 102 manifests, each with a workflow: 29 *ready* that ran on a GPU, 5 IC-LoRA apps with their own workflows (`genjutsu`, `reframe`, `sdr-hdr`, `mixed-media`, `dub`) that ran on an H100 on 22–23 Oct, `morph` (ran on an H100, 23 Oct), 66 template apps (a fixed prompt over the `edit`, `z-image`, `video` or `relight` pipeline, written by `tools/template_apps.py`; all 66 ran on H100s on 22 Oct, see GPU runs; 14 of them came out weak and have prompt experiments queued, the `tplx-*` lab cases) and 1 *draft* (`reshoot`: it runs, but parts of the new view come out unfilled) |
| Workflows | Built from official sources by `tools/build_apps.py` (the two smoke apps are hand-written) and accepted by ComfyUI's validator: ComfyUI `e3bee7f` (0.42.0), ComfyUI-LTXVideo `44c8a36`, ComfyUI-CrossViewWarp `fbb1e93` |
-| LoRA lab | 213 cases, one showcase per app plus one per effect (24), one per look of `mixed-media` (16) and one per transformation of `morph` (15), plus 12 style-drift experiments; the prompt each one would queue (values, overrides and inserted LoRAs) passes the same validator |
-| End to end | Web UI → server → gateway → comfy-api-proxy → ComfyUI tested with the model-free smoke apps; lab chaining tested the same way |
+| LoRA lab | 232 cases: one showcase per app (100), one per effect (24), one per look of `mixed-media` (16) and one per transformation of `morph` (15), 33 references the others start from, 12 style-drift experiments (`mmx-*`) and 24 template experiments (`tplx-*`); the prompt each one would queue (values, overrides and inserted LoRAs) passes the same validator |
+| End to end | Web UI → server → gateway on Modal → comfy-api-proxy → ComfyUI on an H100, run from the browser on 23 Oct: `morph` (Astronaut, 160.8 s from the button to the video, 128.7 s of it on the GPU), `mixed-media` (Anime, 149 s / 129.4 s) and `dub` (a Spanish line, 72 s / 67 s; the transcript matches the prompt). Four fixes came out of it, each with a test: links the gateway rewrites are https on a public host (Modal sends no `X-Forwarded-Proto`), an mp4 is a video even when ComfyUI lists it under `images`, the app's declared output nodes come first (core `LoadVideo` reports the clip it was given), and the progress bar is computed by the server from the raw event stream (the proxy's first frames say 1.0 and the SDK drops everything after). The model-free smoke apps cover the same path in CI |
| CI | `.github/workflows/validate.yml` runs all of the above on every push, including a CPU-only ComfyUI that checks every workflow and lab case (about 3 minutes) |
-| GPU runs | Showcase lab run on an L40S (`20261020-133620-l40s`): 35 of 36 cases, one example per app; `recast` failed there and passed in a re-run (`20261020-162214-l40s`). Effects on 4 H100s at once (`20261021-140940-h100`, `--shards 4`): 61 of 61 cases in about 31 minutes of GPU, 2 min 52 s per effect on average, peak 30.8 GB. Two more H100 rounds (`20261021-152107-h100`, `20261021-175735-h100`) re-ran the 5 that failed with new photos and tried 7 LoRAs by other authors: Painting, Pirate captain, Zen and Crash zoom out were taken out, Dolly zoom and Bullet time moved to ostris's and joyfox's LoRAs, and Money rain, Clones and Steam from nose and ears were added. A fourth round (`20261021-195731-h100`, 14 of 14 cases) ran the new ones as shipped; after it, Jungle, Samurai, Warrior, Jumpscare, Smoke outfit change and Gothic transformation were taken out to keep the app SFW. That left 35 effects; on 23 Oct five more (Mona Lisa, VIP, Cartoon jaw drop, Selfie with younger self, Clones) were marked mediocre in the web UI (they lose the face or look flat at 480p) and moved to the `morph` app, which keeps the face; the other costume and identity transformations (Assassin, Baby, Bride, Classy, Princess, Robot face reveal) followed the same day for the same reason: 24 effects, each with an example in the gallery. VRAM figures below are weight sizes; the lab's measured peaks show up in the web UI |
+| GPU runs | Showcase lab run on an L40S (`20261020-133620-l40s`): 35 of 36 cases, one example per app; `recast` failed there and passed in a re-run (`20261020-162214-l40s`). Effects on 4 H100s at once (`20261021-140940-h100`, `--shards 4`): 61 of 61 cases in about 31 minutes of GPU, 2 min 52 s per effect on average, peak 30.8 GB. Two more H100 rounds (`20261021-152107-h100`, `20261021-175735-h100`) re-ran the 5 that failed with new photos and tried 7 LoRAs by other authors: Painting, Pirate captain, Zen and Crash zoom out were taken out, Dolly zoom and Bullet time moved to ostris's and joyfox's LoRAs, and Money rain, Clones and Steam from nose and ears were added. A fourth round (`20261021-195731-h100`, 14 of 14 cases) ran the new ones as shipped; after it, Jungle, Samurai, Warrior, Jumpscare, Smoke outfit change and Gothic transformation were taken out to keep the app SFW. That left 35 effects; on 23 Oct five more (Mona Lisa, VIP, Cartoon jaw drop, Selfie with younger self, Clones) were marked mediocre in the web UI (they lose the face or look flat at 480p) and moved to the `morph` app, which keeps the face; the other costume and identity transformations (Assassin, Baby, Bride, Classy, Princess, Robot face reveal) followed the same day for the same reason: 24 effects, each with an example in the gallery. The 66 template apps ran on 22 Oct: the 40 image templates on 2 H100s (`20261022-035128-h100`, 52 of 52 cases, 17 s at most, peak 14.7 GB) and the 26 video and two-reference ones on 3 (`20261022-035829-h100`, 39 of 39, 98 s at most, peak 46.6 GB). The IC-LoRA apps: `20261022-173700-h100` reached 6 of 28 (the gated Lightricks repos needed their licenses accepted first), `20261022-181155-h100` 28 of 28 on an H100 NVL, `20261023-044125-h100` 24 of 24 after the fixes to `reframe` (a per-frame mask) and `dub` (an empty audio latent plus the speaker reference wired into the guider); `mixed-media` took three more rounds (`20261023-124332-h100`, `-131909`, `-140409`) to settle the Klein first frame, the LoRA strength 0.7 and the 16 looks, and `20261023-143551-h100` (30 of 30) ran the looks on the final clip with the first 9 transformations of `morph`; `20261023-162024-h100` (14 of 14, peak 50.2 GB) ran the other 6 and the Cakeify showcase. VRAM figures below are weight sizes; the lab's measured peaks show up in the web UI |
## Apps
@@ -46,7 +46,7 @@ browser ──▶ web/ + server/ (Node, Comfy SDK) ──▶ gateway :8000 ─
| `reframe` | Reframe | LTX-2.5 + In-Outpainting IC-LoRA (2.3), two stages: a new aspect ratio with the missing parts painted in | tight: 22.8 GB largest phase | ready |
| `sdr-hdr` | SDR to HDR | LTX-2.5 + SDR-to-HDR IC-LoRA and its scene embeddings (no text encoder): a 10-bit HLG master plus a tone-mapped preview | tight: 22.8 GB largest phase | ready |
| `mixed-media` | Mixed Media | FLUX 3 Klein redraws the clip's first frame in one of 16 looks, then LTX-2.5 + Union Control IC-LoRA (2.3), two stages, follows it with the clip's edges (core Canny) as structure | tight: 22.1 GB largest phase | ready |
-| `morph` | Effects (transformations) | FLUX 3 Klein redraws the photo as the transformation (15: Renaissance portrait, red carpet, younger self, clones, cartoon, statue, old age, astronaut, knight, assassin, baby, bride, classy, princess, robot face reveal) and LTX-2.5 + the transition LoRA morphs the photo into it: the face stays (9 ran on an H100, 23 Oct) | tight: 21.9 GB largest phase | ready |
+| `morph` | Effects (transformations) | FLUX 3 Klein redraws the photo as the transformation (15: Renaissance portrait, red carpet, younger self, clones, cartoon, statue, old age, astronaut, knight, assassin, baby, bride, classy, princess, robot face reveal) and LTX-2.5 + the transition LoRA morphs the photo into it: the face stays (all 15 ran on an H100, 23 Oct) | tight: 21.9 GB largest phase | ready |
| `dub` | Lipsync Studio (dub) | LTX-2.5 + DubIt IC-LoRA (2.3): new words in the prompt, the clip as guide and its audio as the speaker reference; Lightricks' DubIt workflow exists only for 2.3, this is a port | needs Modal: 24.0 GB denoise phase (the LoRA is 2.5 GB) | ready |
| `effects` | Effects | Wan 2.1 image-to-video 14B (fp8) + 24 effect LoRAs, 20 of them by Remade-AI (Cakeify, Hydraulic press, Money rain, 360° orbit…): the physical, camera and expression effects, picked from a gallery, with a 6-step fast preset | fits by phases, 16.8 GB | ready |
| `music` | Audio | MiniMax Music 3 | fits whole, 14.3 GB | ready |
@@ -223,6 +223,7 @@ of a few effects adds to that gallery without replacing the rest.
```sh
modal run --detach lab/lab_modal.py --apps effects --shards 4 # 24 effects + their 19 reference stills, on 4 GPUs at once
modal run lab/lab_modal.py --only fx-cakeify,fx-squish # re-run a few after changing their prompt
+modal run lab/lab_modal.py --only tplx-* # a pattern works too (fnmatch)
```
`--shards N` works with any selection: it splits the cases over N GPU containers that run at the same time, keeping